[New-bugs-announce] [issue15971] Sporadic failure in test_dump_tracebacks_later_file (test_faulthandler)

Ezio Melotti report at bugs.python.org
Wed Sep 19 05:47:45 CEST 2012


New submission from Ezio Melotti:

Seen on http://buildbot.python.org/all/builders/AMD64%20Lion%203.x/builds/428/steps/test/logs/stdio

======================================================================
FAIL: test_dump_tracebacks_later_file (test.test_faulthandler.FaultHandlerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/ambv/Buildbot/3.x.langa-lion/build/Lib/test/test_faulthandler.py", line 490, in test_dump_tracebacks_later_file
    self.check_dump_tracebacks_later(file=True)
  File "/Users/ambv/Buildbot/3.x.langa-lion/build/Lib/test/test_faulthandler.py", line 476, in check_dump_tracebacks_later
    filename, loops)
  File "/Users/ambv/Buildbot/3.x.langa-lion/build/Lib/test/test_faulthandler.py", line 460, in _check_dump_tracebacks_later
    self.assertRegex(trace, regex)
AssertionError: Regex didn't match: '^Timeout \\(0:00:00.500000\\)!\\nThread 0x[0-9a-f]+:\\n  File "<string>", line 9 in func\n  File "<string>", line 20 in <module>$' not found in 'Timeout (0:00:00.500000)!\nThread 0x00007fff77d85960:\n  File "<string>", line 10 in func\n  File "<string>", line 20 in <module>'

----------------------------------------------------------------------
Ran 30 tests in 126.504s

The regex expects the failure to be at "line 9 in func", but the failure happens at "line 10".

----------
assignee: haypo
components: Tests
messages: 170700
nosy: ezio.melotti, haypo, lukasz.langa
priority: normal
severity: normal
stage: needs patch
status: open
title: Sporadic failure in test_dump_tracebacks_later_file (test_faulthandler)
type: behavior
versions: Python 3.3

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


More information about the New-bugs-announce mailing list