Skip to content

test_active_children multiprocessing test is flaky #130730

@colesbury

Description

@colesbury

Bug report

Seen in https://github.com/python/cpython/actions/runs/13606431591/job/38038447198?pr=130724

FAIL: test_active_children (test.test_multiprocessing_spawn.test_threads.WithThreadsTestProcess.test_active_children)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\a\cpython\cpython\Lib\test\_test_multiprocessing.py", line 597, in test_active_children
    self.assertIn(p, self.active_children())
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: <DummyProcess(Thread-120 (sleep), stopped daemon 6440)> not found in []

Test succeeded when retried.

Also see the old issue:

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions