[issue30316] test_default_timeout() of test_threading.BarrierTests: random failures on AMD64 FreeBSD CURRENT Debug 3.x

STINNER Victor report at bugs.python.org
Tue May 9 11:49:35 EDT 2017


New submission from STINNER Victor:

test_default_timeout() of test_threading.BarrierTests randomly fails on AMD64 FreeBSD CURRENT Debug 3.x:

http://buildbot.python.org/all/builders/AMD64%20FreeBSD%20CURRENT%20Debug%203.x/builds/246/steps/test/logs/stdio


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 0x8057bed48>
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/lock_tests.py", line 38, in task
Unhandled exception in thread started by <function Bunch.__init__.<locals>.task at 0x8057bed48>
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/lock_tests.py", line 38, in task
    f()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/lock_tests.py", line 917, in f
    i = barrier.wait()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/threading.py", line 603, in wait
    self._enter() # Block while the barrier drains.
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/threading.py", line 627, in _enter
    raise BrokenBarrierError
threading.BrokenBarrierError
Unhandled exception in thread started by <function Bunch.__init__.<locals>.task at 0x8057bed48>
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/lock_tests.py", line 38, in task
    f()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/lock_tests.py", line 917, in f
    i = barrier.wait()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/threading.py", line 612, in wait
    self._wait(timeout)
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/threading.py", line 652, in _wait
    raise BrokenBarrierError
threading.BrokenBarrierError
Unhandled exception in thread started by <function Bunch.__init__.<locals>.task at 0x8057bed48>
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/lock_tests.py", line 38, in task
    f()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/lock_tests.py", line 917, in f
    i = barrier.wait()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/threading.py", line 603, in wait
    self._enter() # Block while the barrier drains.
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/threading.py", line 627, in _enter
    raise BrokenBarrierError
threading.BrokenBarrierError
    f()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/lock_tests.py", line 917, in f
    i = barrier.wait()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/threading.py", line 612, in wait
    self._wait(timeout)
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/threading.py", line 652, in _wait
    raise BrokenBarrierError
threading.BrokenBarrierError
ok

(...)


test_frame_tstate_tracing (test.test_threading.ThreadTests) ... ok
test_ident_of_no_threading_threads (test.test_threading.ThreadTests) ... ok
test_is_alive_after_fork (test.test_threading.ThreadTests) ... Warning -- threading_cleanup() failed to cleanup 0 threads after 4 sec (count: 0, dangling: 21)
ok
test_join_nondaemon_on_shutdown (test.test_threading.ThreadTests) ... ok
test_limbo_cleanup (test.test_threading.ThreadTests) ... ok

(...)

======================================================================
ERROR: test_default_timeout (test.test_threading.BarrierTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/lock_tests.py", line 922, in test_default_timeout
    self.run_threads(f)
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/lock_tests.py", line 751, in run_threads
    f()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/lock_tests.py", line 917, in f
    i = barrier.wait()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/threading.py", line 612, in wait
    self._wait(timeout)
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/threading.py", line 650, in _wait
    raise BrokenBarrierError
threading.BrokenBarrierError

----------
components: Tests
keywords: buildbot
messages: 293327
nosy: haypo
priority: normal
severity: normal
status: open
title: test_default_timeout() of test_threading.BarrierTests: random failures on AMD64 FreeBSD CURRENT Debug 3.x
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30316>
_______________________________________


More information about the Python-bugs-list mailing list