Message254458
http://buildbot.python.org/all/builders/x86%20Tiger%202.7/builds/3246/steps/test/logs/stdio
======================================================================
FAIL: test_make_msgid_collisions (email.test.test_email.TestMiscellaneous)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/db3l/buildarea/2.7.bolen-tiger/build/Lib/email/test/test_email.py", line 2434, in test_make_msgid_collisions
pass
File "/Users/db3l/buildarea/2.7.bolen-tiger/build/Lib/contextlib.py", line 24, in __exit__
self.gen.next()
File "/Users/db3l/buildarea/2.7.bolen-tiger/build/Lib/test/test_support.py", line 1570, in start_threads
raise AssertionError('Unable to join %d threads' % len(started))
AssertionError: Unable to join 5 threads
----------------------------------------------------------------------
Threads that should be finished for 3 seconds can't be finished for 15 minutes. It looks as clock() wrapped around. From clock (3) manpage:
Note that the time can wrap around. On a 32-bit system where CLOCKS_PER_SEC equals 1000000 this function will return the same value approximately every 72 minutes.
The solution is to use monotonic() (time() on older releases) instead of clock(). |
|
Date |
User |
Action |
Args |
2015-11-10 17:43:49 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, mwh, barry, ggenellina, pitrou, allenap, r.david.murray, BreamoreBoy, python-dev, varun |
2015-11-10 17:43:49 | serhiy.storchaka | set | messageid: <1447177429.32.0.180025265173.issue6598@psf.upfronthosting.co.za> |
2015-11-10 17:43:49 | serhiy.storchaka | link | issue6598 messages |
2015-11-10 17:43:48 | serhiy.storchaka | create | |
|