-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simulation not starting #793
Comments
Hi Lucas, thanks for reporting! I've just launched a new experimental action that runs the CI Server next to the wokwi-cli, inside the GitHub runner itself (using docker). To use it, simply add the following lines to your workflow, anywhere before using the wokwi-cli: - name: Wokwi CI Server
uses: wokwi/wokwi-ci-server-action@v1 Can you please test it and report if you are observing an improvement? |
Looks promising. For now it looks like it solved this issue and the API errors. Will perform more testing though |
This will be added to espressif/arduino-esp32#9696 |
Thanks for testing! Good to see the API errors disappeared. Seems like the new issue is only happening with the WiFi test on the ESP32? Can you please add the following to the action yaml, right after running the actual test? - name: CI Server Logs
if: always()
run: |
docker logs -t $(docker ps -q) This should let us see if the CI server is reporting anything suspicious when the failures happen. |
@urish Just ignore my previous message 😆 I forgot that it will only run the updates once it is merged to master. In my fork it is working all good for now |
Idk what happened but the server docker container started failing in all tests sometimes: https://github.com/lucasssvaz/arduino-esp32/actions/runs/9259955226/job/25472955911?pr=14 |
Are you running inside a GitHub hosted runner or self-hosted runner? |
Nevermind the question - the issue is that you are running the wokwi-ci-server-action twice. |
Oops, my bad. I merged the changes from upstream but didn't see that duplication. Sorry about that |
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:
Expected behavior
No hanging or big delay before starting the simulation.
Environment (please complete the following information):
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
The text was updated successfully, but these errors were encountered: