Closed
Description
Bug report
Bug description:
-bash-5.2$ ./python -m test test_multiprocessing_fork.test_misc -m test_resource_tracker_sigkill
Using random seed: 1947163462
0:00:00 load avg: 0.16 Run 1 test sequentially in a single process
0:00:00 load avg: 0.16 [1/1] test_multiprocessing_fork.test_misc
test test_multiprocessing_fork.test_misc failed -- Traceback (most recent call last):
File "/home/blue/cpython/Lib/test/_test_multiprocessing.py", line 5766, in test_resource_tracker_sigkill
self.check_resource_tracker_death(signal.SIGKILL, True)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/home/blue/cpython/Lib/test/_test_multiprocessing.py", line 5748, in check_resource_tracker_death
self.assertEqual(len(all_warn), 1)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
AssertionError: 0 != 1
test_multiprocessing_fork.test_misc failed (1 failure) in 3 min
== Tests result: FAILURE ==
1 test failed:
test_multiprocessing_fork.test_misc
OS: NetBSD 10.0
CPython versions tested on:
CPython main branch
Operating systems tested on:
Other
Linked PRs
- gh-125620: Skip check_resource_tracker_death on NetBSD due to long wait for SIGKILL process termination #125621
- gh-125620: Remove unnecessary import of subprocess in spawnv_passfds #125624
- [3.13] gh-125620: Remove unnecessary import of subprocess in spawnv_passfds (GH-125624) #125627
- [3.12] gh-125620: Remove unnecessary import of subprocess in spawnv_passfds (GH-125624) #125628
- [3.13] gh-125620: Skip check_resource_tracker_death on NetBSD due to long wait for SIGKILL process termination (GH-125621) #125672
- [3.12] gh-125620: Skip check_resource_tracker_death on NetBSD due to long wait for SIGKILL process termination (GH-125621) #125673