You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_popping_python_frame_is_not_native fails randomly on buildbots #160986
FAIL: test_popping_python_frame_is_not_native (test.test_external_inspection.TestGetStackTrace.test_popping_python_frame_is_not_native)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_external_inspection.py", line 2029, in test_popping_python_frame_is_not_native
self.assertGreater(samples, 1000)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
AssertionError: 0 not greater than 1000
On this builder it has failed in 184 of 377 builds since the test was added in #157817, though it usually passes on the re-run. It also fails on 18 other 3.x builders.
The test starts sampling too early. RemoteUnwinder is created right after the child is spawned and succeeds, while the child is still in interpreter startup. If the child is slow to start, all 10,000 samples are taken before it reaches leaf().
Activity
pythongh-160986: Sample popped frames only after leaf() is running
pythongh-160986: Sample popped frames only after leaf() is running