Issue 35413: test_multiprocessing_fork: test_del_pool() leaks dangling threads and processes on AMD64 FreeBSD CURRENT Shared 3.x (original) (raw)

Previous issue fixing such bug: bpo-33676.

https://buildbot.python.org/all/#/builders/168/builds/332

test_empty_string (test.test_multiprocessing_fork.WithThreadsTestPoll) ... ok test_strings (test.test_multiprocessing_fork.WithThreadsTestPoll) ... ok test_apply (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok test_async (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok test_async_timeout (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok test_context (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok test_del_pool (test.test_multiprocessing_fork.WithThreadsTestPool) ... Warning -- threading_cleanup() failed to cleanup 1 threads (count: 8, dangling: 9) Dangling thread: <Thread(Thread-144, started daemon 34400207360)> Dangling thread: <_MainThread(MainThread, started 34370793472)> Dangling thread: <DummyProcess(Thread-146, started daemon 34400142336)> Dangling thread: <DummyProcess(Thread-142, started daemon 34400199680)> Dangling thread: <DummyProcess(Thread-140, started daemon 34400198400)> Dangling thread: <DummyProcess(Thread-139, started daemon 34400200960)> Dangling thread: <Thread(Thread-143, started daemon 34400143616)> Dangling thread: <Thread(Thread-145, started daemon 34400204800)> Dangling thread: <DummyProcess(Thread-141, started daemon 34400208640)> ok test_empty_iterable (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok test_imap (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok test_imap_handle_iterable_exception (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok test_imap_unordered (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok