New submission from STINNER Victor <vstin...@python.org>:

test_idle_process_reuse_multiple() of test_concurrent_futures failed on AMD64 
FreeBSD Shared 3.x, but then passed when re-run in verbose mode.
https://buildbot.python.org/all/#/builders/483/builds/1073

Moreover, test_concurrent_futures leaked many dangling threads.


0:04:31 load avg: 1.95 [163/427/1] test_concurrent_futures failed (3 min 29 
sec) -- running: test_nntplib (2 min 17 sec)
Warning -- threading_cleanup() failed to cleanup 2 threads (count: 2, dangling: 
3)
Warning -- Dangling thread: <_ExecutorManagerThread(Thread-41, started 
34386025472)>
Warning -- Dangling thread: <_MainThread(MainThread, started 34374492160)>
Warning -- Dangling thread: <Thread(QueueFeederThread, started daemon 
34418515968)>
Warning -- threading_cleanup() failed to cleanup -2 threads (count: 0, 
dangling: 1)
Warning -- Dangling thread: <_MainThread(MainThread, started 34374492160)>
(...)
======================================================================
FAIL: test_idle_process_reuse_multiple 
(test.test_concurrent_futures.ProcessPoolForkProcessPoolExecutorTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/usr/home/buildbot/python/3.x.koobs-freebsd-564d/build/Lib/test/test_concurrent_futures.py",
 line 1018, in test_idle_process_reuse_multiple
    self.assertLessEqual(len(executor._processes), 2)
AssertionError: 3 not less than or equal to 2

Stdout:
0.43s 

----------------------------------------------------------------------

Ran 226 tests in 209.441s

FAILED (failures=1, skipped=6)
test test_concurrent_futures failed
(...)
1 re-run test:
    test_concurrent_futures

Total duration: 16 min 7 sec
Tests result: FAILURE then SUCCESS

----------
components: Tests
messages: 391070
nosy: vstinner
priority: normal
severity: normal
status: open
title: test_concurrent_futures leaks many dangling threads on FreeBSD
versions: Python 3.10

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43845>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to