Issue 31041: test_handle_called_with_mp_queue() of test_logging: threading_cleanup() failed to cleanup, on AMD64 FreeBSD 10.x Shared 3.x (original) (raw)

Issue31041

Created on 2017-07-26 00:54 by vstinner, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (4)
msg299180 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-07-26 00:54
http://buildbot.python.org/all/builders/AMD64%20FreeBSD%2010.x%20Shared%203.x/builds/625/steps/test/logs/stdio (...) test_output (test.test_logging.UnixSocketHandlerTest) ... ok test_output (test.test_logging.UnixDatagramHandlerTest) ... ok test_output (test.test_logging.UnixSysLogHandlerTest) ... ok test__all__ (test.test_logging.MiscTestCase) ... ok test_handle_called_with_mp_queue (test.test_logging.QueueListenerTest) ... Warning -- threading_cleanup() failed to cleanup -1 threads after 4 sec (count: 0, dangling: 1) ok test_handle_called_with_queue_queue (test.test_logging.QueueListenerTest) ... ok test_no_messages_in_queue_after_stop (test.test_logging.QueueListenerTest) ... ok (...) See also bpo-30830: "HTTPHandlerTest of test_logging leaks a "dangling" thread on AMD64 FreeBSD CURRENT Non-Debug 3.x". Previously fixed warnings: bpo-30131.
msg299399 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-07-28 15:51
I ran "./python -m test -v test_logging --fail-env-changed -F" in 3 terminals on the FreeBSD 10 buildbot, and I failed to reproduce the bug. I ran my test for 5 minutes. Maybe threading_cleanup() should call support.gc_collect().
msg300008 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-08-09 13:51
New fail: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%2010.x%20Shared%203.x/builds/680/steps/test/logs/stdio test_handle_called_with_mp_queue (test.test_logging.QueueListenerTest) ... Warning -- threading_cleanup() failed to cleanup -1 threads after 3 sec (count: 0, dangling: 1) ok
msg300107 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-08-10 15:43
Let's mark this issue as a duplicate of bpo-30830.
History
Date User Action Args
2022-04-11 14:58:49 admin set github: 75224
2017-08-10 15:43:31 vstinner set status: open -> closedsuperseder: test_logging leaks dangling threads on FreeBSDmessages: + resolution: duplicatestage: resolved
2017-08-09 13:51:57 vstinner set messages: +
2017-07-28 15:51:11 vstinner set messages: +
2017-07-26 00:54:16 vstinner set title: test_handle_called_with_mp_queue() of test_logging: threading_cleanup() failed to cleanup -> test_handle_called_with_mp_queue() of test_logging: threading_cleanup() failed to cleanup, on AMD64 FreeBSD 10.x Shared 3.x
2017-07-26 00:54:05 vstinner create