This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2019-10-24.09:14:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1571908474.05.0.296505367308.issue38578@roundup.psfhosted.org>
In-reply-to
Content
On AMD64 FreeBSD Shared 3.8 which is know to be very slow, different test_concurrent_futures tests failed.

https://buildbot.python.org/all/#builders/374/builds/3

test_concurrent_futures was run twice. Once in parallel of other tests, then alone in sequence.


The first run emitted two "threading_cleanup() failed" warnings and test_idle_thread_reuse() failed:

test_idle_thread_reuse (test.test_concurrent_futures.ThreadPoolExecutorTest) ... 1.05s Warning -- threading_cleanup() failed to cleanup 2 threads (count: 2, dangling: 3)
test_map (test.test_concurrent_futures.ThreadPoolExecutorTest) ... 3.80s Warning -- threading_cleanup() failed to cleanup -2 threads (count: 0, dangling: 1)

FAIL: test_idle_thread_reuse (test.test_concurrent_futures.ThreadPoolExecutorTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.8.koobs-freebsd-564d/build/Lib/test/test_concurrent_futures.py", line 782, in test_idle_thread_reuse
    self.assertEqual(len(executor._threads), 1)
AssertionError: 2 != 1

At the second run, test_free_reference() failed:

1:15:08 load avg: 9.24 Re-running test_concurrent_futures in verbose mode

FAIL: test_free_reference (test.test_concurrent_futures.ThreadPoolExecutorTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.8.koobs-freebsd-564d/build/Lib/test/test_concurrent_futures.py", line 745, in test_free_reference
    self.assertIsNone(wr())
AssertionError: <test.test_concurrent_futures.MyObject object at 0x8031cc780> is not None
History
Date User Action Args
2019-10-24 09:14:34vstinnersetrecipients: + vstinner
2019-10-24 09:14:34vstinnersetmessageid: <1571908474.05.0.296505367308.issue38578@roundup.psfhosted.org>
2019-10-24 09:14:34vstinnerlinkissue38578 messages
2019-10-24 09:14:33vstinnercreate