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 2018-07-16.22:32:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1531780347.81.0.56676864532.issue34131@psf.upfronthosting.co.za>
In-reply-to
Content
test_threading.BarrierTests.test_default_timeout() failed on AppVeyor. Related issues:

* bpo-11871, commit d4d1d068dcf4e1aaf93772ccc0824207a21606e5: change timeout
* bpo-30316

https://ci.appveyor.com/project/python/cpython/build/3.8build19370

test_barrier (test.test_threading.BarrierTests) ... ok
test_barrier_10 (test.test_threading.BarrierTests) ... ok
test_default_timeout (test.test_threading.BarrierTests) ... ERROR
test_reset (test.test_threading.BarrierTests) ... Unhandled exception in thread started by <function Bunch.__init__.<locals>.task at 0x03266728>
Traceback (most recent call last):
  File "C:\projects\cpython\lib\test\lock_tests.py", line 41, in task
    f()
  File "C:\projects\cpython\lib\test\lock_tests.py", line 938, in f
    i = barrier.wait()
  File "C:\projects\cpython\lib\threading.py", line 613, in wait
    self._wait(timeout)
  File "C:\projects\cpython\lib\threading.py", line 653, in _wait
    raise BrokenBarrierError
threading.BrokenBarrierError
Unhandled exception in thread started by <function Bunch.__init__.<locals>.task at 0x03266728>
Traceback (most recent call last):
  File "C:\projects\cpython\lib\test\lock_tests.py", line 41, in task
    f()
  File "C:\projects\cpython\lib\test\lock_tests.py", line 938, in f
    i = barrier.wait()
  File "C:\projects\cpython\lib\threading.py", line 613, in wait
    self._wait(timeout)
  File "C:\projects\cpython\lib\threading.py", line 653, in _wait
    raise BrokenBarrierError
threading.BrokenBarrierError
Unhandled exception in thread started by <function Bunch.__init__.<locals>.task at 0x03266728>
Traceback (most recent call last):
  File "C:\projects\cpython\lib\test\lock_tests.py", line 41, in task
    f()
  File "C:\projects\cpython\lib\test\lock_tests.py", line 938, in f
    i = barrier.wait()
  File "C:\projects\cpython\lib\threading.py", line 604, in wait
    self._enter() # Block while the barrier drains.
  File "C:\projects\cpython\lib\threading.py", line 628, in _enter
    raise BrokenBarrierError
threading.BrokenBarrierError
Unhandled exception in thread started by <function Bunch.__init__.<locals>.task at 0x03266728>
Traceback (most recent call last):
  File "C:\projects\cpython\lib\test\lock_tests.py", line 41, in task
    f()
  File "C:\projects\cpython\lib\test\lock_tests.py", line 938, in f
    i = barrier.wait()
  File "C:\projects\cpython\lib\threading.py", line 604, in wait
    self._enter() # Block while the barrier drains.
  File "C:\projects\cpython\lib\threading.py", line 628, in _enter
    raise BrokenBarrierError
threading.BrokenBarrierError
ok
test_single_thread (test.test_threading.BarrierTests) ... ok
test_timeout (test.test_threading.BarrierTests) ... ok
test_wait_return (test.test_threading.BarrierTests) ... ok
test_acquire (test.test_threading.BoundedSemaphoreTests) ... ok

...

======================================================================
ERROR: test_default_timeout (test.test_threading.BarrierTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\projects\cpython\lib\test\lock_tests.py", line 943, in test_default_timeout
    self.run_threads(f)
  File "C:\projects\cpython\lib\test\lock_tests.py", line 772, in run_threads
    f()
  File "C:\projects\cpython\lib\test\lock_tests.py", line 938, in f
    i = barrier.wait()
  File "C:\projects\cpython\lib\threading.py", line 613, in wait
    self._wait(timeout)
  File "C:\projects\cpython\lib\threading.py", line 651, in _wait
    raise BrokenBarrierError
threading.BrokenBarrierError


test_threading succeeded when it has been re-run in verbose mode.
History
Date User Action Args
2018-07-16 22:32:27vstinnersetrecipients: + vstinner
2018-07-16 22:32:27vstinnersetmessageid: <1531780347.81.0.56676864532.issue34131@psf.upfronthosting.co.za>
2018-07-16 22:32:27vstinnerlinkissue34131 messages
2018-07-16 22:32:27vstinnercreate