Skip to content

Simulation not starting #793

Closed
Closed
@lucasssvaz

Description

@lucasssvaz

Describe the bug
Sometimes the simulation apparently won't start. (Maybe it is taking way too long to start but it times out before that)

To Reproduce
No specific steps, sometimes the Wokwi CLI won't start the simulation after being called by pytest:

 =========================== short test summary info ============================
FAILED tests/validation/democfg/test_democfg.py::test_cfg - pexpect.exceptions.TIMEOUT: Not found "Hello cfg!"
Bytes in current buffer (color code eliminated): Wokwi CLI v0.9.1 (cfd2078ca922) Connected to Wokwi Simulation API 1.0.0-20240518-gdbbf1224
Please check the full log here: /tmp/pytest-embedded/2024-05-19_02-19-10-065724/test_cfg/dut.log
====================== 1 failed, 14 deselected in 30.18s =======================

Expected behavior
No hanging or big delay before starting the simulation.

Environment (please complete the following information):

  • OS: CI (ubuntu-latest)
  • Version: CLI 0.9.1

Additional context
Some places where this happened:

https://github.com/espressif/arduino-esp32/actions/runs/9144334087/job/25142139131
https://github.com/lucasssvaz/arduino-esp32/actions/runs/9240086259/job/25420033517
https://github.com/lucasssvaz/arduino-esp32/actions/runs/9240024519/job/25419849482
https://github.com/lucasssvaz/arduino-esp32/actions/runs/9236780292/job/25413060095
https://github.com/lucasssvaz/arduino-esp32/actions/runs/9236847049/job/25413184000

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions