Skip to content

test_free_threading: test_instrumentation() failing randomly on free-threading CI #129441

@kumaraditya303

Description

@kumaraditya303
FAIL: test_instrumentation (test.test_free_threading.test_monitoring.SetTraceMultiThreaded.test_instrumentation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\a\cpython\cpython\Lib\test\test_free_threading\test_monitoring.py", line 75, in test_instrumentation
    self.after_test()
    ~~~~~~~~~~~~~~~^^
  File "D:\a\cpython\cpython\Lib\test\test_free_threading\test_monitoring.py", line 152, in after_test
    self.assertTrue(self.called)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^
AssertionError: False is not true
----------------------------------------------------------------------
Ran 53 tests in 55.959s
FAILED (failures=1)
test test_free_threading failed

https://github.com/python/cpython/actions/runs/13032099559/job/36353586624?pr=128869

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions