STINNER Victor added the comment: I still see the warning sometimes:
0:04:09 load avg: 7.03 [185/405/1] test_concurrent_futures failed (env changed) (68 sec) -- running: test_multiprocessing_spawn (160 sec), test_gdb (53 sec), test_lib2to3 (195 sec) test_cancel (test.test_concurrent_futures.FutureTests) ... ok test_cancelled (test.test_concurrent_futures.FutureTests) ... ok test_done (test.test_concurrent_futures.FutureTests) ... ok test_done_callback_already_cancelled (test.test_concurrent_futures.FutureTests) ... ok test_done_callback_already_failed (test.test_concurrent_futures.FutureTests) ... ok test_done_callback_already_successful (test.test_concurrent_futures.FutureTests) ... ok test_done_callback_raises (test.test_concurrent_futures.FutureTests) ... ok test_done_callback_with_cancel (test.test_concurrent_futures.FutureTests) ... ok test_done_callback_with_exception (test.test_concurrent_futures.FutureTests) ... ok test_done_callback_with_result (test.test_concurrent_futures.FutureTests) ... ok test_exception_with_success (test.test_concurrent_futures.FutureTests) ... ok test_exception_with_timeout (test.test_concurrent_futures.FutureTests) ... ok test_repr (test.test_concurrent_futures.FutureTests) ... ok test_result_with_cancel (test.test_concurrent_futures.FutureTests) ... ok test_result_with_success (test.test_concurrent_futures.FutureTests) ... ok test_result_with_timeout (test.test_concurrent_futures.FutureTests) ... ok test_running (test.test_concurrent_futures.FutureTests) ... ok test_correct_timeout_exception_msg (test.test_concurrent_futures.ProcessPoolAsCompletedTests) ... 0.15s ok test_duplicate_futures (test.test_concurrent_futures.ProcessPoolAsCompletedTests) ... 2.16s ok test_free_reference_yielded_future (test.test_concurrent_futures.ProcessPoolAsCompletedTests) ... 0.15s ok test_no_timeout (test.test_concurrent_futures.ProcessPoolAsCompletedTests) ... 0.15s ok test_zero_timeout (test.test_concurrent_futures.ProcessPoolAsCompletedTests) ... 2.15s ok test_free_reference (test.test_concurrent_futures.ProcessPoolExecutorTest) ... 0.17s ok test_killed_child (test.test_concurrent_futures.ProcessPoolExecutorTest) ... 0.15s ok test_map (test.test_concurrent_futures.ProcessPoolExecutorTest) ... 0.18s ok test_map_chunksize (test.test_concurrent_futures.ProcessPoolExecutorTest) ... 0.17s ok test_map_exception (test.test_concurrent_futures.ProcessPoolExecutorTest) ... 0.17s ok test_map_timeout (test.test_concurrent_futures.ProcessPoolExecutorTest) ... 6.16s ok test_max_workers_negative (test.test_concurrent_futures.ProcessPoolExecutorTest) ... 0.14s ok test_no_stale_references (test.test_concurrent_futures.ProcessPoolExecutorTest) ... 0.14s ok test_shutdown_race_issue12456 (test.test_concurrent_futures.ProcessPoolExecutorTest) ... 0.15s ok test_submit (test.test_concurrent_futures.ProcessPoolExecutorTest) ... 0.14s ok test_submit_keyword (test.test_concurrent_futures.ProcessPoolExecutorTest) ... 0.13s ok test_traceback (test.test_concurrent_futures.ProcessPoolExecutorTest) ... 0.15s ok test_context_manager_shutdown (test.test_concurrent_futures.ProcessPoolShutdownTest) ... 0.07s ok test_del_shutdown (test.test_concurrent_futures.ProcessPoolShutdownTest) ... 0.05s Warning -- threading_cleanup() detected 1 leaked threads (count: 1, dangling: 2) ok test_hang_issue12364 (test.test_concurrent_futures.ProcessPoolShutdownTest) ... 1.09s ok test_interpreter_shutdown (test.test_concurrent_futures.ProcessPoolShutdownTest) ... 2.67s ok test_processes_terminate (test.test_concurrent_futures.ProcessPoolShutdownTest) ... 0.05s ok test_run_after_shutdown (test.test_concurrent_futures.ProcessPoolShutdownTest) ... 0.00s ok test_all_completed (test.test_concurrent_futures.ProcessPoolWaitTests) ... 0.16s ok test_first_completed (test.test_concurrent_futures.ProcessPoolWaitTests) ... 1.64s ok test_first_completed_some_already_completed (test.test_concurrent_futures.ProcessPoolWaitTests) ... 1.65s ok test_first_exception (test.test_concurrent_futures.ProcessPoolWaitTests) ... 3.15s ok test_first_exception_one_already_failed (test.test_concurrent_futures.ProcessPoolWaitTests) ... 2.15s ok test_first_exception_some_already_complete (test.test_concurrent_futures.ProcessPoolWaitTests) ... 1.65s ok test_timeout (test.test_concurrent_futures.ProcessPoolWaitTests) ... 6.15s ok test_correct_timeout_exception_msg (test.test_concurrent_futures.ThreadPoolAsCompletedTests) ... 0.16s ok test_duplicate_futures (test.test_concurrent_futures.ThreadPoolAsCompletedTests) ... 2.15s ok test_free_reference_yielded_future (test.test_concurrent_futures.ThreadPoolAsCompletedTests) ... 0.15s ok test_no_timeout (test.test_concurrent_futures.ThreadPoolAsCompletedTests) ... 0.16s ok test_zero_timeout (test.test_concurrent_futures.ThreadPoolAsCompletedTests) ... 2.15s ok test_default_workers (test.test_concurrent_futures.ThreadPoolExecutorTest) ... 0.15s ok test_free_reference (test.test_concurrent_futures.ThreadPoolExecutorTest) ... 0.14s ok test_map (test.test_concurrent_futures.ThreadPoolExecutorTest) ... 0.15s ok test_map_exception (test.test_concurrent_futures.ThreadPoolExecutorTest) ... 0.16s ok test_map_submits_without_iteration (test.test_concurrent_futures.ThreadPoolExecutorTest) Tests verifying issue 11777. ... 0.15s ok test_map_timeout (test.test_concurrent_futures.ThreadPoolExecutorTest) ... 6.13s ok test_max_workers_negative (test.test_concurrent_futures.ThreadPoolExecutorTest) ... 0.14s ok test_no_stale_references (test.test_concurrent_futures.ThreadPoolExecutorTest) ... 0.14s ok test_shutdown_race_issue12456 (test.test_concurrent_futures.ThreadPoolExecutorTest) ... 0.16s ok test_submit (test.test_concurrent_futures.ThreadPoolExecutorTest) ... 0.14s ok test_submit_keyword (test.test_concurrent_futures.ThreadPoolExecutorTest) ... 0.14s ok test_context_manager_shutdown (test.test_concurrent_futures.ThreadPoolShutdownTest) ... 0.07s ok test_del_shutdown (test.test_concurrent_futures.ThreadPoolShutdownTest) ... 0.04s ok test_hang_issue12364 (test.test_concurrent_futures.ThreadPoolShutdownTest) ... 1.07s ok test_interpreter_shutdown (test.test_concurrent_futures.ThreadPoolShutdownTest) ... 1.65s ok test_run_after_shutdown (test.test_concurrent_futures.ThreadPoolShutdownTest) ... 0.00s ok test_thread_names_assigned (test.test_concurrent_futures.ThreadPoolShutdownTest) ... 0.05s ok test_thread_names_default (test.test_concurrent_futures.ThreadPoolShutdownTest) ... 0.04s ok test_threads_terminate (test.test_concurrent_futures.ThreadPoolShutdownTest) ... 0.02s ok test_all_completed (test.test_concurrent_futures.ThreadPoolWaitTests) ... 0.14s ok test_first_completed (test.test_concurrent_futures.ThreadPoolWaitTests) ... 1.65s ok test_first_completed_some_already_completed (test.test_concurrent_futures.ThreadPoolWaitTests) ... 1.65s ok test_first_exception (test.test_concurrent_futures.ThreadPoolWaitTests) ... 3.14s ok test_first_exception_one_already_failed (test.test_concurrent_futures.ThreadPoolWaitTests) ... 2.16s ok test_first_exception_some_already_complete (test.test_concurrent_futures.ThreadPoolWaitTests) ... 1.62s ok test_pending_calls_race (test.test_concurrent_futures.ThreadPoolWaitTests) ... 0.16s ok test_timeout (test.test_concurrent_futures.ThreadPoolWaitTests) ... 6.13s ok ---------------------------------------------------------------------- Ran 79 tests in 68.182s OK ---------- resolution: fixed -> status: closed -> open _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31249> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com