[New-bugs-announce] [issue25992] test_gdb fails

Bryce Miller report at bugs.python.org
Sat Jan 2 00:50:06 EST 2016


New submission from Bryce Miller:

test_gdb fails for me on OSX

Steps I did to duplicate: 
Checked out fresh '2.7' branch from https://github.com/python/cpython.git
>From the new cypthon dir ran: 
./configure
make
make test
./Lib/test/regrtest.py -v test_gdb

Attached the full verbose output. 

I am looking at Issue23137 and the output messages look different than mine, so I'm posting this as a separate issue. Perhaps it is duplicate. 

34 tracebacks included in attachment, but below is a sample for reference: 

======================================================================
FAIL: test_NULL_instance_dict (test.test_gdb.PrettyPrintTests)
Ensure that a PyInstanceObject with with a NULL in_dict is handled
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 521, in test_NULL_instance_dict
    exptype='Foo')
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 459, in assertSane
    cmds_after_breakpoint=cmds_after_breakpoint)
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr
    import_site=import_site)
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace
    self.assertEqual(unexpected_errlines, [])
AssertionError: Lists differ: ['Unable to find Mach task por... != []

First list contains 4 additional elements.
First extra element 0:
Unable to find Mach task port for process-id 53220: (os/kern) failure (0x5).

----------
components: Tests
files: regrtest_test_gdb.log
hgrepos: 329
messages: 257326
nosy: Bryce Miller
priority: normal
severity: normal
status: open
title: test_gdb fails
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file41471/regrtest_test_gdb.log

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


More information about the New-bugs-announce mailing list