[issue30345] test_gdb fails on Python 3.6 when built with LTO+PGO

STINNER Victor report at bugs.python.org
Thu May 11 12:16:32 EDT 2017


New submission from STINNER Victor:

cstratak reported the following test failure on Fedora 24 when building Python 3.6 with LTO + PGO:

======================================================================
FAIL: test_threads (test.test_gdb.PyBtTests)
Verify that "py-bt" indicates threads that are waiting for the GIL
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.6.1/Lib/test/test_gdb.py", line 783, in test_threads
    cmds_after_breakpoint=['thread apply all py-bt'])
  File "/builddir/build/BUILD/Python-3.6.1/Lib/test/test_gdb.py", line 218, in get_stack_trace
    self.assertEqual(unexpected_errlines, [])
AssertionError: Lists differ: ["Python Exception <class 'ValueError'> Va[95 chars]nd."] != []
First list contains 2 additional elements.
First extra element 0:
"Python Exception <class 'ValueError'> Variable 'func_obj' not found.: "
+ []
- ["Python Exception <class 'ValueError'> Variable 'func_obj' not found.: ",
-  "Error occurred in Python command: Variable 'func_obj' not found."]
----------------------------------------------------------------------

----------
components: Build, Tests
messages: 293503
nosy: haypo
priority: normal
severity: normal
status: open
title: test_gdb fails on Python 3.6 when built with LTO+PGO
versions: Python 3.6

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


More information about the Python-bugs-list mailing list