I'm getting the following test_multiprocessing_fork failures on Debian
Wheezy. Perhaps this is related to #19227:
test_default_timeout (test.test_multiprocessing_fork.WithThreadsTestBarrier) ... Exception in thread Thread-344:
Traceback (most recent call last):
File "/home/stefan/hg/master3/Lib/threading.py", line 921, in _bootstrap_inner
self.run()
File "/home/stefan/hg/master3/Lib/threading.py", line 869, in run
self._target(*self._args, **self._kwargs)
File "/home/stefan/hg/master3/Lib/test/_test_multiprocessing.py", line 1152, in task
self.f(*self.args)
File "/home/stefan/hg/master3/Lib/test/_test_multiprocessing.py", line 1382, in _test_default_timeout_f
barrier.wait()
File "/home/stefan/hg/master3/Lib/threading.py", line 616, in wait
self._wait(timeout)
File "/home/stefan/hg/master3/Lib/threading.py", line 653, in _wait
self._break()
File "/home/stefan/hg/master3/Lib/threading.py", line 702, in _break
self._cond.notify_all()
File "/home/stefan/hg/master3/Lib/threading.py", line 359, in notify_all
self.notify(len(self._waiters))
File "/home/stefan/hg/master3/Lib/threading.py", line 342, in notify
waiters_to_notify = _deque(_islice(all_waiters, n))
RuntimeError: deque mutated during iteration
FAIL
======================================================================
FAIL: test_default_timeout (test.test_multiprocessing_fork.WithThreadsTestBarrier)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/stefan/hg/master3/Lib/test/_test_multiprocessing.py", line 1393, in test_default_timeout
self.assertEqual(len(results), barrier.parties)
AssertionError: 4 != 5
----------------------------------------------------------------------
|