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 serhiy.storchaka
Recipients BreamoreBoy, allenap, barry, ggenellina, mwh, pitrou, python-dev, r.david.murray, serhiy.storchaka, varun
Date 2015-11-10.17:43:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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/", line 2434, in test_make_msgid_collisions
  File "/Users/db3l/buildarea/2.7.bolen-tiger/build/Lib/", line 24, in __exit__
  File "/Users/db3l/buildarea/2.7.bolen-tiger/build/Lib/test/", 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:49serhiy.storchakasetrecipients: + serhiy.storchaka, mwh, barry, ggenellina, pitrou, allenap, r.david.murray, BreamoreBoy, python-dev, varun
2015-11-10 17:43:49serhiy.storchakasetmessageid: <>
2015-11-10 17:43:49serhiy.storchakalinkissue6598 messages
2015-11-10 17:43:48serhiy.storchakacreate