Author serhiy.storchaka
Recipients serhiy.storchaka, vstinner
Date 2017-05-14.09:56:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1494755775.36.0.836849126518.issue30357@psf.upfronthosting.co.za>
In-reply-to
Content
I just encountered with this failure. It is random, I can reproduce it only when run test_thread repeatedly in parallel with running other tests (maybe needed high load factor).

$ ./python -m test -uall -F test_thread test_thread test_thread test_thread 
Run tests sequentially
0:00:00 [  1] test_thread
0:00:00 [  2] test_thread
Traceback (most recent call last):
  File "/home/serhiy/py/cpython2.7/Lib/test/test_thread.py", line 133, in task
    raise SyntaxError
SyntaxError: None
test test_thread failed -- Traceback (most recent call last):
  File "/home/serhiy/py/cpython2.7/Lib/test/test_thread.py", line 150, in test_save_exception_state_on_error
    self.assertIn("Traceback", stderr.getvalue())
AssertionError: 'Traceback' not found in 'Unhandled exception in thread started by <function task at 0xb6a89ee4>\n'

1 test OK.
1 test failed:
    test_thread

Total duration: 432 ms
Tests result: FAILURE
[50664 refs]
History
Date User Action Args
2017-05-14 09:56:15serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner
2017-05-14 09:56:15serhiy.storchakasetmessageid: <1494755775.36.0.836849126518.issue30357@psf.upfronthosting.co.za>
2017-05-14 09:56:15serhiy.storchakalinkissue30357 messages
2017-05-14 09:56:14serhiy.storchakacreate