beeware / toga

A Python native, OS native GUI toolkit.
https://toga.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
4.19k stars 655 forks source link

Intermittent crash in macOS CI, after test_secondary_window_with_content #2631

Closed mhsmith closed 2 weeks ago

mhsmith commented 3 weeks ago

This has now happened in 2 out of the last 3 merges to main:

And also a couple of weeks ago:

It always happens at the same point:

tests/test_window.py::test_title PASSED                                  [  9%]
tests/test_window.py::test_secondary_window[second_window_kwargs0] PASSED [  9%]
tests/test_window.py::test_secondary_window_with_args[second_window_kwargs0] PASSED [ 10%]
tests/test_window.py::test_secondary_window_with_content PASSED          [ 10%]

Test suite didn't report a result.
Saving log... started

Log saved to /Users/runner/work/toga/toga/testbed/logs/briefcase.2024_05_30-02_51_53.run.log

Saving log... done
Error: Process completed with exit code 200.
freakboy3742 commented 2 weeks ago

Confirmed I've seen this recently as well. When it occurs, it reliably occurs at the same point in the suite, but it doesn't occur every time, making it a PITA to reproduce.