[New-bugs-announce] [issue34131] test_threading: BarrierTests.test_default_timeout() failed on AppVeyor

STINNER Victor report at bugs.python.org
Mon Jul 16 18:32:27 EDT 2018


New submission from STINNER Victor <vstinner at redhat.com>:

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.

----------
components: Tests
messages: 321778
nosy: vstinner
priority: normal
severity: normal
status: open
title: test_threading: BarrierTests.test_default_timeout() failed on AppVeyor
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34131>
_______________________________________


More information about the New-bugs-announce mailing list