Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 951024 Details for
Bug 1157707
Test case failure: /CoreOS/python/Sanity/gdb pretty-print various PyObject* types
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Test output
TESTOUT.log (text/plain), 189.03 KB, created by
Branislav Náter
on 2014-10-27 14:28:44 UTC
(
hide
)
Description:
Test output
Filename:
MIME Type:
Creator:
Branislav Náter
Created:
2014-10-27 14:28:44 UTC
Size:
189.03 KB
patch
obsolete
>chmod a+x runtest.sh >./runtest.sh > >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: >:: [ LOG ] :: Setup >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: > >python-debug-2.7.5-18.bs4.ppc64le >:: [ PASS ] :: Checking for the presence of python-debug rpm >:: [ 05:08:58 ] :: Package versions: >:: [ 05:08:58 ] :: python-debug-2.7.5-18.bs4.ppc64le >python-debuginfo-2.7.5-18.bs4.ppc64le >:: [ PASS ] :: Checking for the presence of python-debuginfo rpm >:: [ 05:08:58 ] :: Package versions: >:: [ 05:08:58 ] :: python-debuginfo-2.7.5-18.bs4.ppc64le >python-debug-2.7.5-18.bs4.ppc64le >:: [ PASS ] :: Binary 'python-debug' should belong to: python-debug >'d0a90d8b-d069-4f61-a0b1-417848d8c953' >Setup result: PASS > metric: 0 > Log: /var/tmp/beakerlib-25367299/journal.txt > Info: Searching AVC errors produced since 1413882537.04 (Tue Oct 21 05:08:57 2014) > Searching logs... > Info: No AVC messages found. > Writing to /mnt/testarea/tmp.7mQLNT >: > AvcLog: /mnt/testarea/tmp.7mQLNT > >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: >:: [ LOG ] :: Test >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: > >:: [ BEGIN ] :: Running 'python-debug test_gdb.py 7' >test_NULL_instance_dict (__main__.PrettyPrintTests) >Ensure that a PyInstanceObject with with a NULL in_dict is handled ... FAIL >test_NULL_ob_type (__main__.PrettyPrintTests) >Ensure that a PyObject* with NULL ob_type is handled gracefully ... FAIL >test_NULL_ptr (__main__.PrettyPrintTests) >Ensure that a NULL PyObject* is handled gracefully ... FAIL >test_builtin_function (__main__.PrettyPrintTests) ... FAIL >test_builtin_method (__main__.PrettyPrintTests) ... FAIL >test_builtins_help (__main__.PrettyPrintTests) >Ensure that the new-style class _Helper in site.py can be handled ... FAIL >test_classic_class (__main__.PrettyPrintTests) >Verify the pretty-printing of classic class instances ... FAIL >test_corrupt_ob_type (__main__.PrettyPrintTests) >Ensure that a PyObject* with a corrupt ob_type is handled gracefully ... FAIL >test_corrupt_tp_flags (__main__.PrettyPrintTests) >Ensure that a PyObject* with a type with corrupt tp_flags is handled ... FAIL >test_corrupt_tp_name (__main__.PrettyPrintTests) >Ensure that a PyObject* with a type with corrupt tp_name is handled ... FAIL >test_dicts (__main__.PrettyPrintTests) >Verify the pretty-printing of dictionaries ... FAIL >test_exceptions (__main__.PrettyPrintTests) ... FAIL >test_frames (__main__.PrettyPrintTests) ... ok >test_frozensets (__main__.PrettyPrintTests) >Verify the pretty-printing of frozensets ... FAIL >test_getting_backtrace (__main__.PrettyPrintTests) ... ok >test_int (__main__.PrettyPrintTests) >Verify the pretty-printing of various "int" values ... FAIL >test_lists (__main__.PrettyPrintTests) >Verify the pretty-printing of lists ... FAIL >test_modern_class (__main__.PrettyPrintTests) >Verify the pretty-printing of new-style class instances ... FAIL >test_selfreferential_dict (__main__.PrettyPrintTests) >Ensure that a reference loop involving a dict doesn't lead proxyval ... FAIL >test_selfreferential_list (__main__.PrettyPrintTests) >Ensure that a reference loop involving a list doesn't lead proxyval ... FAIL >test_selfreferential_new_style_instance (__main__.PrettyPrintTests) ... FAIL >test_selfreferential_old_style_instance (__main__.PrettyPrintTests) ... FAIL >test_sets (__main__.PrettyPrintTests) >Verify the pretty-printing of sets ... FAIL >test_singletons (__main__.PrettyPrintTests) >Verify the pretty-printing of True, False and None ... FAIL >test_strings (__main__.PrettyPrintTests) >Verify the pretty-printing of strings ... FAIL >test_subclassing_list (__main__.PrettyPrintTests) >Verify the pretty-printing of an instance of a list subclass ... FAIL >test_subclassing_tuple (__main__.PrettyPrintTests) >Verify the pretty-printing of an instance of a tuple subclass ... FAIL >test_truncation (__main__.PrettyPrintTests) >Verify that very long output is truncated ... FAIL >test_tuples (__main__.PrettyPrintTests) >Verify the pretty-printing of tuples ... FAIL >test_unicode (__main__.PrettyPrintTests) >Verify the pretty-printing of unicode values ... FAIL >test_basic_command (__main__.PyListTests) >Verify that the "py-list" command works ... ok >test_one_abs_arg (__main__.PyListTests) >Verify the "py-list" command with one absolute argument ... ok >test_two_abs_args (__main__.PyListTests) >Verify the "py-list" command with two absolute arguments ... ok >test_down_at_bottom (__main__.StackNavigationTests) >Verify handling of "py-down" at the bottom of the stack ... ok >test_pyup_command (__main__.StackNavigationTests) >Verify that the "py-up" command works ... ok >test_up_at_top (__main__.StackNavigationTests) >Verify handling of "py-up" at the top of the stack ... ok >test_up_then_down (__main__.StackNavigationTests) >Verify "py-up" followed by "py-down" ... ok >test_basic_command (__main__.PyBtTests) >Verify that the "py-bt" command works ... ok >test_gc (__main__.PyBtTests) >Verify that "py-bt" indicates if a thread is garbage-collecting ... ok >test_pycfunction (__main__.PyBtTests) >Verify that "py-bt" displays invocations of PyCFunction instances ... ok >test_threads (__main__.PyBtTests) >Verify that "py-bt" indicates threads that are waiting for the GIL ... ok >test_basic_command (__main__.PyPrintTests) >Verify that the "py-print" command works ... ok >test_print_after_up (__main__.PyPrintTests) ... ok >test_printing_builtin (__main__.PyPrintTests) ... ok >test_printing_global (__main__.PyPrintTests) ... ok >test_basic_command (__main__.PyLocalsTests) ... ok >test_locals_after_up (__main__.PyLocalsTests) ... ok > >====================================================================== >FAIL: test_NULL_instance_dict (__main__.PrettyPrintTests) >Ensure that a PyInstanceObject with with a NULL in_dict is handled >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 441, in test_NULL_instance_dict > exptype='Foo') > File "test_gdb.py", line 379, in assertSane > cmds_after_breakpoint=cmds_after_breakpoint) > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_int=42) at remote 0x1007fb28>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=<Foo at remote 0x1007fb28>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<Foo at remote 0x1007fb28>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x10111040, for file <string>, line 6, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792db40, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac40, flags=<optimized out>, locals={\'foo\': <Foo at remote 0x1007fb28>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <classobj at remote 0x100716e8>, \'__doc__\': None}, globals={\'foo\': <Foo at remote 0x1007fb28>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <classobj at remote 0x100716e8>, \'__doc__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "\\nclass Foo:\\n pass\\nfoo = Foo()\\nfoo.an_int = 42\\nprint foo\\n", start=<optimized out>, globals={\'foo\': <Foo at remote 0x1007fb28>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <classobj at remote 0x100716e8>, \'__doc__\': None}, locals={\'foo\': <Foo at remote 0x1007fb28>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <classobj at remote 0x100716e8>, \'__doc__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "\\nclass Foo:\\n pass\\nfoo = Foo()\\nfoo.an_int = 42\\nprint foo\\n", flags=0x3fffffffe8d0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee28) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_int=42) at remote 0x1007fb28>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op=<Foo at remote 0x1007fb28>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<Foo at remote 0x1007fb28>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x10111040, for file <string>, line 6, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792db40, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac40, flags=<optimized out>, locals={'foo': <Foo at remote 0x1007fb28>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x100716e8>, '__doc__': None}, globals={'foo': <Foo at remote 0x1007fb28>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x100716e8>, '__doc__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "\nclass Foo:\n pass\nfoo = Foo()\nfoo.an_int = 42\nprint foo\n", start=<optimized out>, globals={'foo': <Foo at remote 0x1007fb28>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x100716e8>, '__doc__': None}, locals={'foo': <Foo at remote 0x1007fb28>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x100716e8>, '__doc__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "\nclass Foo:\n pass\nfoo = Foo()\nfoo.an_int = 42\nprint foo\n", flags=0x3fffffffe8d0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee28) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_NULL_ob_type (__main__.PrettyPrintTests) >Ensure that a PyObject* with NULL ob_type is handled gracefully >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 412, in test_NULL_ob_type > 'set op->ob_type=0') > File "test_gdb.py", line 379, in assertSane > cmds_after_breakpoint=cmds_after_breakpoint) > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=42, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=<unknown at remote 0x1003dcb8>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<unknown at remote 0x1003dcb8>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "print 42\\n", start=<optimized out>, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print 42\\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=42, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op=<unknown at remote 0x1003dcb8>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<unknown at remote 0x1003dcb8>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "print 42\n", start=<optimized out>, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print 42\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_NULL_ptr (__main__.PrettyPrintTests) >Ensure that a NULL PyObject* is handled gracefully >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 404, in test_NULL_ptr > 'backtrace']) > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=42, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=0x0, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=42) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "print 42\\n", start=<optimized out>, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print 42\\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=42, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op=0x0, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=42) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "print 42\n", start=<optimized out>, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print 42\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_builtin_function (__main__.PrettyPrintTests) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 543, in test_builtin_function > gdb_repr, gdb_output = self.get_gdb_repr('print len') > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=<built-in function len>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=<built-in function len>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<built-in function len>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "print len\\n", start=<optimized out>, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print len\\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=<built-in function len>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op=<built-in function len>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<built-in function len>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "print len\n", start=<optimized out>, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print len\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_builtin_method (__main__.PrettyPrintTests) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 547, in test_builtin_method > gdb_repr, gdb_output = self.get_gdb_repr('import sys; print sys.stdout.readlines') > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=<built-in method readlines of file object at remote 0x3fffb79381c0>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=<built-in method readlines of file object at remote 0x3fffb79381c0>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<built-in method readlines of file object at remote 0x3fffb79381c0>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x10110300, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac20, flags=<optimized out>, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'sys\': <module at remote 0x3fffb7947610>, \'__doc__\': None, \'__package__\': None}, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'sys\': <module at remote 0x3fffb7947610>, \'__doc__\': None, \'__package__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "import sys; print sys.stdout.readlines\\n", start=<optimized out>, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'sys\': <module at remote 0x3fffb7947610>, \'__doc__\': None, \'__package__\': None}, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'sys\': <module at remote 0x3fffb7947610>, \'__doc__\': None, \'__package__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "import sys; print sys.stdout.readlines\\n", flags=0x3fffffffe8e0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee38) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=<built-in method readlines of file object at remote 0x3fffb79381c0>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op=<built-in method readlines of file object at remote 0x3fffb79381c0>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<built-in method readlines of file object at remote 0x3fffb79381c0>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x10110300, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac20, flags=<optimized out>, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', 'sys': <module at remote 0x3fffb7947610>, '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', 'sys': <module at remote 0x3fffb7947610>, '__doc__': None, '__package__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "import sys; print sys.stdout.readlines\n", start=<optimized out>, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', 'sys': <module at remote 0x3fffb7947610>, '__doc__': None, '__package__': None}, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', 'sys': <module at remote 0x3fffb7947610>, '__doc__': None, '__package__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "import sys; print sys.stdout.readlines\n", flags=0x3fffffffe8e0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee38) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_builtins_help (__main__.PrettyPrintTests) >Ensure that the new-style class _Helper in site.py can be handled >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 448, in test_builtins_help > gdb_repr, gdb_output = self.get_gdb_repr('print __builtins__.help', import_site=True) > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=<_Helper at remote 0x10227610>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=<_Helper at remote 0x10227610>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<_Helper at remote 0x10227610>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101922a0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x101cb3b0, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x101142d0, flags=<optimized out>, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "print __builtins__.help\\n", start=<optimized out>, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print __builtins__.help\\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=<_Helper at remote 0x10227610>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op=<_Helper at remote 0x10227610>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<_Helper at remote 0x10227610>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101922a0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x101cb3b0, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x101142d0, flags=<optimized out>, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "print __builtins__.help\n", start=<optimized out>, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print __builtins__.help\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_classic_class (__main__.PrettyPrintTests) >Verify the pretty-printing of classic class instances >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 322, in test_classic_class > print foo''') > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_int=42) at remote 0x1007fb28>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_int=42) at remote 0x1007fb28>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<Foo(an_int=42) at remote 0x1007fb28>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x10111040, for file <string>, line 6, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792db40, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac40, flags=<optimized out>, locals={\'foo\': <Foo(an_int=42) at remote 0x1007fb28>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <classobj at remote 0x100716e8>, \'__doc__\': None}, globals={\'foo\': <Foo(an_int=42) at remote 0x1007fb28>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <classobj at remote 0x100716e8>, \'__doc__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "\\nclass Foo:\\n pass\\nfoo = Foo()\\nfoo.an_int = 42\\nprint foo\\n", start=<optimized out>, globals={\'foo\': <Foo(an_int=42) at remote 0x1007fb28>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <classobj at remote 0x100716e8>, \'__doc__\': None}, locals={\'foo\': <Foo(an_int=42) at remote 0x1007fb28>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <classobj at remote 0x100716e8>, \'__doc__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "\\nclass Foo:\\n pass\\nfoo = Foo()\\nfoo.an_int = 42\\nprint foo\\n", flags=0x3fffffffe8d0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee28) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_int=42) at remote 0x1007fb28>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_int=42) at remote 0x1007fb28>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<Foo(an_int=42) at remote 0x1007fb28>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x10111040, for file <string>, line 6, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792db40, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac40, flags=<optimized out>, locals={'foo': <Foo(an_int=42) at remote 0x1007fb28>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x100716e8>, '__doc__': None}, globals={'foo': <Foo(an_int=42) at remote 0x1007fb28>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x100716e8>, '__doc__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "\nclass Foo:\n pass\nfoo = Foo()\nfoo.an_int = 42\nprint foo\n", start=<optimized out>, globals={'foo': <Foo(an_int=42) at remote 0x1007fb28>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x100716e8>, '__doc__': None}, locals={'foo': <Foo(an_int=42) at remote 0x1007fb28>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x100716e8>, '__doc__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "\nclass Foo:\n pass\nfoo = Foo()\nfoo.an_int = 42\nprint foo\n", flags=0x3fffffffe8d0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee28) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_corrupt_ob_type (__main__.PrettyPrintTests) >Ensure that a PyObject* with a corrupt ob_type is handled gracefully >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 418, in test_corrupt_ob_type > expvalue=42) > File "test_gdb.py", line 379, in assertSane > cmds_after_breakpoint=cmds_after_breakpoint) > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=42, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=<unknown at remote 0x1003dcb8>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<unknown at remote 0x1003dcb8>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "print 42\\n", start=<optimized out>, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print 42\\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=42, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op=<unknown at remote 0x1003dcb8>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<unknown at remote 0x1003dcb8>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "print 42\n", start=<optimized out>, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print 42\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_corrupt_tp_flags (__main__.PrettyPrintTests) >Ensure that a PyObject* with a type with corrupt tp_flags is handled >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 424, in test_corrupt_tp_flags > expvalue=42) > File "test_gdb.py", line 379, in assertSane > cmds_after_breakpoint=cmds_after_breakpoint) > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=42, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=<int at remote 0x1003dcb8>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<int at remote 0x1003dcb8>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "print 42\\n", start=<optimized out>, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print 42\\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=42, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op=<int at remote 0x1003dcb8>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<int at remote 0x1003dcb8>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "print 42\n", start=<optimized out>, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print 42\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_corrupt_tp_name (__main__.PrettyPrintTests) >Ensure that a PyObject* with a type with corrupt tp_name is handled >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 430, in test_corrupt_tp_name > expvalue=42) > File "test_gdb.py", line 379, in assertSane > cmds_after_breakpoint=cmds_after_breakpoint) > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=42, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=<unknown at remote 0x1003dcb8>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<unknown at remote 0x1003dcb8>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "print 42\\n", start=<optimized out>, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print 42\\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=42, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op=<unknown at remote 0x1003dcb8>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<unknown at remote 0x1003dcb8>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "print 42\n", start=<optimized out>, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print 42\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_dicts (__main__.PrettyPrintTests) >Verify the pretty-printing of dictionaries >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 230, in test_dicts > self.assertGdbRepr({}) > File "test_gdb.py", line 198, in assertGdbRepr > cmds_after_breakpoint) > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op={}, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op={}, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op={}) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "print {}\\n", start=<optimized out>, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print {}\\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op={}, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op={}, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op={}) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "print {}\n", start=<optimized out>, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print {}\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_exceptions (__main__.PrettyPrintTests) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 302, in test_exceptions > ''') > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=exceptions.RuntimeError(\'I am an error\',), fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=exceptions.RuntimeError(\'I am an error\',), fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=exceptions.RuntimeError(\'I am an error\',)) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x10110330, for file <string>, line 5, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac50, flags=<optimized out>, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'e\': exceptions.RuntimeError(\'I am an error\',), \'__doc__\': None, \'__package__\': None}, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'e\': exceptions.RuntimeError(\'I am an error\',), \'__doc__\': None, \'__package__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "\\ntry:\\n raise RuntimeError(\\"I am an error\\")\\nexcept RuntimeError, e:\\n print e\\n\\n", start=<optimized out>, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'e\': exceptions.RuntimeError(\'I am an error\',), \'__doc__\': None, \'__package__\': None}, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'e\': exceptions.RuntimeError(\'I am an error\',), \'__doc__\': None, \'__package__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "\\ntry:\\n raise RuntimeError(\\"I am an error\\")\\nexcept RuntimeError, e:\\n print e\\n\\n", flags=0x3fffffffe8b0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee08) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=exceptions.RuntimeError('I am an error',), fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op=exceptions.RuntimeError('I am an error',), fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=exceptions.RuntimeError('I am an error',)) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x10110330, for file <string>, line 5, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac50, flags=<optimized out>, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', 'e': exceptions.RuntimeError('I am an error',), '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', 'e': exceptions.RuntimeError('I am an error',), '__doc__': None, '__package__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "\ntry:\n raise RuntimeError(\"I am an error\")\nexcept RuntimeError, e:\n print e\n\n", start=<optimized out>, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', 'e': exceptions.RuntimeError('I am an error',), '__doc__': None, '__package__': None}, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', 'e': exceptions.RuntimeError('I am an error',), '__doc__': None, '__package__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "\ntry:\n raise RuntimeError(\"I am an error\")\nexcept RuntimeError, e:\n print e\n\n", flags=0x3fffffffe8b0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee08) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_frozensets (__main__.PrettyPrintTests) >Verify the pretty-printing of frozensets >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 291, in test_frozensets > self.assertGdbRepr(frozenset()) > File "test_gdb.py", line 198, in assertGdbRepr > cmds_after_breakpoint) > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=frozenset([]), fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=frozenset([]), fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=frozenset([])) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "print frozenset([])\\n", start=<optimized out>, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print frozenset([])\\n", flags=0x3fffffffe8f0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee48) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=frozenset([]), fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op=frozenset([]), fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=frozenset([])) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "print frozenset([])\n", start=<optimized out>, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print frozenset([])\n", flags=0x3fffffffe8f0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee48) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_int (__main__.PrettyPrintTests) >Verify the pretty-printing of various "int" values >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 208, in test_int > self.assertGdbRepr(42) > File "test_gdb.py", line 198, in assertGdbRepr > cmds_after_breakpoint) > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=42, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=42, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=42) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "print 42\\n", start=<optimized out>, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print 42\\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=42, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op=42, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=42) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "print 42\n", start=<optimized out>, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print 42\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_lists (__main__.PrettyPrintTests) >Verify the pretty-printing of lists >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 236, in test_lists > self.assertGdbRepr([]) > File "test_gdb.py", line 198, in assertGdbRepr > cmds_after_breakpoint) > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=[], fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=[], fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=[]) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "print []\\n", start=<optimized out>, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print []\\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=[], fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op=[], fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=[]) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "print []\n", start=<optimized out>, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print []\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_modern_class (__main__.PrettyPrintTests) >Verify the pretty-printing of new-style class instances >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 334, in test_modern_class > print foo''') > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_int=42) at remote 0x100ca300>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_int=42) at remote 0x100ca300>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<Foo(an_int=42) at remote 0x100ca300>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x10111040, for file <string>, line 6, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792db40, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac40, flags=<optimized out>, locals={\'foo\': <Foo(an_int=42) at remote 0x100ca300>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <type at remote 0x10111410>, \'__doc__\': None}, globals={\'foo\': <Foo(an_int=42) at remote 0x100ca300>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <type at remote 0x10111410>, \'__doc__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "\\nclass Foo(object):\\n pass\\nfoo = Foo()\\nfoo.an_int = 42\\nprint foo\\n", start=<optimized out>, globals={\'foo\': <Foo(an_int=42) at remote 0x100ca300>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <type at remote 0x10111410>, \'__doc__\': None}, locals={\'foo\': <Foo(an_int=42) at remote 0x100ca300>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <type at remote 0x10111410>, \'__doc__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "\\nclass Foo(object):\\n pass\\nfoo = Foo()\\nfoo.an_int = 42\\nprint foo\\n", flags=0x3fffffffe8c0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee18) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_int=42) at remote 0x100ca300>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_int=42) at remote 0x100ca300>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<Foo(an_int=42) at remote 0x100ca300>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x10111040, for file <string>, line 6, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792db40, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac40, flags=<optimized out>, locals={'foo': <Foo(an_int=42) at remote 0x100ca300>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <type at remote 0x10111410>, '__doc__': None}, globals={'foo': <Foo(an_int=42) at remote 0x100ca300>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <type at remote 0x10111410>, '__doc__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "\nclass Foo(object):\n pass\nfoo = Foo()\nfoo.an_int = 42\nprint foo\n", start=<optimized out>, globals={'foo': <Foo(an_int=42) at remote 0x100ca300>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <type at remote 0x10111410>, '__doc__': None}, locals={'foo': <Foo(an_int=42) at remote 0x100ca300>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <type at remote 0x10111410>, '__doc__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "\nclass Foo(object):\n pass\nfoo = Foo()\nfoo.an_int = 42\nprint foo\n", flags=0x3fffffffe8c0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee18) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_selfreferential_dict (__main__.PrettyPrintTests) >Ensure that a reference loop involving a dict doesn't lead proxyval >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 470, in test_selfreferential_dict > self.get_gdb_repr("a = {} ; b = {'bar':a} ; a['foo'] = b ; print a") > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op={\'foo\': {\'bar\': {...}}}, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op={\'foo\': {\'bar\': {...}}}, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op={\'foo\': {\'bar\': {...}}}) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x10110310, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac30, flags=<optimized out>, locals={\'a\': {\'foo\': {\'bar\': {...}}}, \'b\': {...}, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'__doc__\': None}, globals={\'a\': {\'foo\': {\'bar\': {...}}}, \'b\': {...}, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'__doc__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "a = {} ; b = {\'bar\':a} ; a[\'foo\'] = b ; print a\\n", start=<optimized out>, globals={\'a\': {\'foo\': {\'bar\': {...}}}, \'b\': {...}, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'__doc__\': None}, locals={\'a\': {\'foo\': {\'bar\': {...}}}, \'b\': {...}, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'__doc__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "a = {} ; b = {\'bar\':a} ; a[\'foo\'] = b ; print a\\n", flags=0x3fffffffe8d0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee28) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op={'foo': {'bar': {...}}}, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op={'foo': {'bar': {...}}}, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op={'foo': {'bar': {...}}}) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x10110310, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac30, flags=<optimized out>, locals={'a': {'foo': {'bar': {...}}}, 'b': {...}, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', '__doc__': None}, globals={'a': {'foo': {'bar': {...}}}, 'b': {...}, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', '__doc__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "a = {} ; b = {'bar':a} ; a['foo'] = b ; print a\n", start=<optimized out>, globals={'a': {'foo': {'bar': {...}}}, 'b': {...}, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', '__doc__': None}, locals={'a': {'foo': {'bar': {...}}}, 'b': {...}, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', '__doc__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "a = {} ; b = {'bar':a} ; a['foo'] = b ; print a\n", flags=0x3fffffffe8d0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee28) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_selfreferential_list (__main__.PrettyPrintTests) >Ensure that a reference loop involving a list doesn't lead proxyval >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 457, in test_selfreferential_list > self.get_gdb_repr("a = [3, 4, 5] ; a.append(a) ; print a") > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=[3, 4, 5, [...]], fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=[3, 4, 5, [...]], fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=[3, 4, 5, [...]]) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x10110300, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac20, flags=<optimized out>, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'a\': [3, 4, 5, [...]], \'__package__\': None}, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'a\': [3, 4, 5, [...]], \'__package__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "a = [3, 4, 5] ; a.append(a) ; print a\\n", start=<optimized out>, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'a\': [3, 4, 5, [...]], \'__package__\': None}, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'a\': [3, 4, 5, [...]], \'__package__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "a = [3, 4, 5] ; a.append(a) ; print a\\n", flags=0x3fffffffe8e0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee38) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=[3, 4, 5, [...]], fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op=[3, 4, 5, [...]], fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=[3, 4, 5, [...]]) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x10110300, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac20, flags=<optimized out>, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, 'a': [3, 4, 5, [...]], '__package__': None}, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, 'a': [3, 4, 5, [...]], '__package__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "a = [3, 4, 5] ; a.append(a) ; print a\n", start=<optimized out>, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, 'a': [3, 4, 5, [...]], '__package__': None}, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, 'a': [3, 4, 5, [...]], '__package__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "a = [3, 4, 5] ; a.append(a) ; print a\n", flags=0x3fffffffe8e0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee38) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_selfreferential_new_style_instance (__main__.PrettyPrintTests) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 494, in test_selfreferential_new_style_instance > print foo''') > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_attr=<...>) at remote 0x100ca300>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_attr=<...>) at remote 0x100ca300>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<Foo(an_attr=<...>) at remote 0x100ca300>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x10111040, for file <string>, line 6, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792db40, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac40, flags=<optimized out>, locals={\'foo\': <Foo(an_attr=<...>) at remote 0x100ca300>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <type at remote 0x10111410>, \'__doc__\': None}, globals={\'foo\': <Foo(an_attr=<...>) at remote 0x100ca300>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <type at remote 0x10111410>, \'__doc__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "\\nclass Foo(object):\\n pass\\nfoo = Foo()\\nfoo.an_attr = foo\\nprint foo\\n", start=<optimized out>, globals={\'foo\': <Foo(an_attr=<...>) at remote 0x100ca300>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <type at remote 0x10111410>, \'__doc__\': None}, locals={\'foo\': <Foo(an_attr=<...>) at remote 0x100ca300>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <type at remote 0x10111410>, \'__doc__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "\\nclass Foo(object):\\n pass\\nfoo = Foo()\\nfoo.an_attr = foo\\nprint foo\\n", flags=0x3fffffffe8c0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee18) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_attr=<...>) at remote 0x100ca300>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_attr=<...>) at remote 0x100ca300>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<Foo(an_attr=<...>) at remote 0x100ca300>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x10111040, for file <string>, line 6, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792db40, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac40, flags=<optimized out>, locals={'foo': <Foo(an_attr=<...>) at remote 0x100ca300>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <type at remote 0x10111410>, '__doc__': None}, globals={'foo': <Foo(an_attr=<...>) at remote 0x100ca300>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <type at remote 0x10111410>, '__doc__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "\nclass Foo(object):\n pass\nfoo = Foo()\nfoo.an_attr = foo\nprint foo\n", start=<optimized out>, globals={'foo': <Foo(an_attr=<...>) at remote 0x100ca300>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <type at remote 0x10111410>, '__doc__': None}, locals={'foo': <Foo(an_attr=<...>) at remote 0x100ca300>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <type at remote 0x10111410>, '__doc__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "\nclass Foo(object):\n pass\nfoo = Foo()\nfoo.an_attr = foo\nprint foo\n", flags=0x3fffffffe8c0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee18) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_selfreferential_old_style_instance (__main__.PrettyPrintTests) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 481, in test_selfreferential_old_style_instance > print foo''') > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_attr=<...>) at remote 0x1007fab0>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_attr=<...>) at remote 0x1007fab0>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<Foo(an_attr=<...>) at remote 0x1007fab0>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x10111040, for file <string>, line 6, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792db40, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac40, flags=<optimized out>, locals={\'foo\': <Foo(an_attr=<...>) at remote 0x1007fab0>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <classobj at remote 0x100716e8>, \'__doc__\': None}, globals={\'foo\': <Foo(an_attr=<...>) at remote 0x1007fab0>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <classobj at remote 0x100716e8>, \'__doc__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "\\nclass Foo:\\n pass\\nfoo = Foo()\\nfoo.an_attr = foo\\nprint foo\\n", start=<optimized out>, globals={\'foo\': <Foo(an_attr=<...>) at remote 0x1007fab0>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <classobj at remote 0x100716e8>, \'__doc__\': None}, locals={\'foo\': <Foo(an_attr=<...>) at remote 0x1007fab0>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <classobj at remote 0x100716e8>, \'__doc__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "\\nclass Foo:\\n pass\\nfoo = Foo()\\nfoo.an_attr = foo\\nprint foo\\n", flags=0x3fffffffe8c0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee18) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_attr=<...>) at remote 0x1007fab0>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_attr=<...>) at remote 0x1007fab0>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<Foo(an_attr=<...>) at remote 0x1007fab0>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x10111040, for file <string>, line 6, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792db40, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac40, flags=<optimized out>, locals={'foo': <Foo(an_attr=<...>) at remote 0x1007fab0>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x100716e8>, '__doc__': None}, globals={'foo': <Foo(an_attr=<...>) at remote 0x1007fab0>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x100716e8>, '__doc__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "\nclass Foo:\n pass\nfoo = Foo()\nfoo.an_attr = foo\nprint foo\n", start=<optimized out>, globals={'foo': <Foo(an_attr=<...>) at remote 0x1007fab0>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x100716e8>, '__doc__': None}, locals={'foo': <Foo(an_attr=<...>) at remote 0x1007fab0>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x100716e8>, '__doc__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "\nclass Foo:\n pass\nfoo = Foo()\nfoo.an_attr = foo\nprint foo\n", flags=0x3fffffffe8c0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee18) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_sets (__main__.PrettyPrintTests) >Verify the pretty-printing of sets >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 278, in test_sets > self.assertGdbRepr(set()) > File "test_gdb.py", line 198, in assertGdbRepr > cmds_after_breakpoint) > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=set([]), fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=set([]), fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=set([])) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "print set([])\\n", start=<optimized out>, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print set([])\\n", flags=0x3fffffffe8f0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee48) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=set([]), fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op=set([]), fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=set([])) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "print set([])\n", start=<optimized out>, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print set([])\n", flags=0x3fffffffe8f0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee48) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_singletons (__main__.PrettyPrintTests) >Verify the pretty-printing of True, False and None >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 224, in test_singletons > self.assertGdbRepr(True) > File "test_gdb.py", line 198, in assertGdbRepr > cmds_after_breakpoint) > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=True, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=True, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=True) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "print True\\n", start=<optimized out>, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print True\\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=True, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op=True, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=True) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "print True\n", start=<optimized out>, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print True\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_strings (__main__.PrettyPrintTests) >Verify the pretty-printing of strings >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 241, in test_strings > self.assertGdbRepr('') > File "test_gdb.py", line 198, in assertGdbRepr > cmds_after_breakpoint) > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=\'\', fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=\'\', fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=\'\') at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "print \'\'\\n", start=<optimized out>, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print \'\'\\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op='', fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op='', fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op='') at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "print ''\n", start=<optimized out>, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print ''\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_subclassing_list (__main__.PrettyPrintTests) >Verify the pretty-printing of an instance of a list subclass >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 347, in test_subclassing_list > print foo''') > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_int=42) at remote 0x1007a8e0>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_int=42) at remote 0x1007a8e0>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<Foo(an_int=42) at remote 0x1007a8e0>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x10111050, for file <string>, line 7, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792db40, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac50, flags=<optimized out>, locals={\'foo\': <Foo(an_int=42) at remote 0x1007a8e0>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <type at remote 0x10111430>, \'__doc__\': None}, globals={\'foo\': <Foo(an_int=42) at remote 0x1007a8e0>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <type at remote 0x10111430>, \'__doc__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "\\nclass Foo(list):\\n pass\\nfoo = Foo()\\nfoo += [1, 2, 3]\\nfoo.an_int = 42\\nprint foo\\n", start=<optimized out>, globals={\'foo\': <Foo(an_int=42) at remote 0x1007a8e0>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <type at remote 0x10111430>, \'__doc__\': None}, locals={\'foo\': <Foo(an_int=42) at remote 0x1007a8e0>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <type at remote 0x10111430>, \'__doc__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "\\nclass Foo(list):\\n pass\\nfoo = Foo()\\nfoo += [1, 2, 3]\\nfoo.an_int = 42\\nprint foo\\n", flags=0x3fffffffe8b0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee08) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_int=42) at remote 0x1007a8e0>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_int=42) at remote 0x1007a8e0>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<Foo(an_int=42) at remote 0x1007a8e0>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x10111050, for file <string>, line 7, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792db40, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac50, flags=<optimized out>, locals={'foo': <Foo(an_int=42) at remote 0x1007a8e0>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <type at remote 0x10111430>, '__doc__': None}, globals={'foo': <Foo(an_int=42) at remote 0x1007a8e0>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <type at remote 0x10111430>, '__doc__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "\nclass Foo(list):\n pass\nfoo = Foo()\nfoo += [1, 2, 3]\nfoo.an_int = 42\nprint foo\n", start=<optimized out>, globals={'foo': <Foo(an_int=42) at remote 0x1007a8e0>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <type at remote 0x10111430>, '__doc__': None}, locals={'foo': <Foo(an_int=42) at remote 0x1007a8e0>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <type at remote 0x10111430>, '__doc__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "\nclass Foo(list):\n pass\nfoo = Foo()\nfoo += [1, 2, 3]\nfoo.an_int = 42\nprint foo\n", flags=0x3fffffffe8b0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee08) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_subclassing_tuple (__main__.PrettyPrintTests) >Verify the pretty-printing of an instance of a tuple subclass >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 361, in test_subclassing_tuple > print foo''') > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_int=42) at remote 0x1005cf90>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_int=42) at remote 0x1005cf90>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<Foo(an_int=42) at remote 0x1005cf90>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x10111050, for file <string>, line 6, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792db40, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac50, flags=<optimized out>, locals={\'foo\': <Foo(an_int=42) at remote 0x1005cf90>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <type at remote 0x10111430>, \'__doc__\': None}, globals={\'foo\': <Foo(an_int=42) at remote 0x1005cf90>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <type at remote 0x10111430>, \'__doc__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "\\nclass Foo(tuple):\\n pass\\nfoo = Foo((1, 2, 3))\\nfoo.an_int = 42\\nprint foo\\n", start=<optimized out>, globals={\'foo\': <Foo(an_int=42) at remote 0x1005cf90>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <type at remote 0x10111430>, \'__doc__\': None}, locals={\'foo\': <Foo(an_int=42) at remote 0x1005cf90>, \'__builtins__\': <module at remote 0x3fffb79474d8>, \'__package__\': None, \'__name__\': \'__main__\', \'Foo\': <type at remote 0x10111430>, \'__doc__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "\\nclass Foo(tuple):\\n pass\\nfoo = Foo((1, 2, 3))\\nfoo.an_int = 42\\nprint foo\\n", flags=0x3fffffffe8c0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee18) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_int=42) at remote 0x1005cf90>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op=<Foo(an_int=42) at remote 0x1005cf90>, fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=<Foo(an_int=42) at remote 0x1005cf90>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x10111050, for file <string>, line 6, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792db40, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac50, flags=<optimized out>, locals={'foo': <Foo(an_int=42) at remote 0x1005cf90>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <type at remote 0x10111430>, '__doc__': None}, globals={'foo': <Foo(an_int=42) at remote 0x1005cf90>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <type at remote 0x10111430>, '__doc__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "\nclass Foo(tuple):\n pass\nfoo = Foo((1, 2, 3))\nfoo.an_int = 42\nprint foo\n", start=<optimized out>, globals={'foo': <Foo(an_int=42) at remote 0x1005cf90>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <type at remote 0x10111430>, '__doc__': None}, locals={'foo': <Foo(an_int=42) at remote 0x1005cf90>, '__builtins__': <module at remote 0x3fffb79474d8>, '__package__': None, '__name__': '__main__', 'Foo': <type at remote 0x10111430>, '__doc__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "\nclass Foo(tuple):\n pass\nfoo = Foo((1, 2, 3))\nfoo.an_int = 42\nprint foo\n", flags=0x3fffffffe8c0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee18) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_truncation (__main__.PrettyPrintTests) >Verify that very long output is truncated >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 516, in test_truncation > gdb_repr, gdb_output = self.get_gdb_repr('print range(1000)') > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226...(truncated), fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226...(truncated), fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226...(truncated)) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "print range(1000)\\n", start=<optimized out>, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print range(1000)\\n", flags=0x3fffffffe8f0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee48) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226...(truncated), fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226...(truncated), fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226...(truncated)) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "print range(1000)\n", start=<optimized out>, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print range(1000)\n", flags=0x3fffffffe8f0) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee48) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_tuples (__main__.PrettyPrintTests) >Verify the pretty-printing of tuples >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 248, in test_tuples > self.assertGdbRepr(tuple()) > File "test_gdb.py", line 198, in assertGdbRepr > cmds_after_breakpoint) > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=(), fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=(), fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=()) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "print ()\\n", start=<optimized out>, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print ()\\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=(), fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op=(), fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=()) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "print ()\n", start=<optimized out>, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print ()\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >====================================================================== >FAIL: test_unicode (__main__.PrettyPrintTests) >Verify the pretty-printing of unicode values >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test_gdb.py", line 255, in test_unicode > self.assertGdbRepr(u'') > File "test_gdb.py", line 198, in assertGdbRepr > cmds_after_breakpoint) > File "test_gdb.py", line 170, in get_gdb_repr > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output)) >AssertionError: Unexpected gdb output: 'Breakpoint 1 (PyObject_Print) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/power8/libthread_db.so.1".\n\nBreakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=u\'\', fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n329\t{\n#0 0x00003fffb7d7d188 in PyObject_Print (op=u\'\', fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329\n#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=u\'\') at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110\n#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574\n#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844\n#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#7 PyRun_StringFlags (str=0x10020010 "print u\'\'\\n", start=<optimized out>, globals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, locals={\'__builtins__\': <module at remote 0x3fffb79474d8>, \'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336\n#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print u\'\'\\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977\n#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584\n#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23\n' >Breakpoint 1 (PyObject_Print) pending. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/power8/libthread_db.so.1". > >Breakpoint 1, 0x00003fffb7d7d188 in PyObject_Print (op=u'', fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >329 { >#0 0x00003fffb7d7d188 in PyObject_Print (op=u'', fp=0x3fffb7b372e8 <_IO_2_1_stdout_>, flags=1) at /usr/src/debug/Python-2.7.5/Objects/object.c:329 >#1 0x00003fffb7d3cf64 in file_PyObject_Print (flags=1, f=0x3fffb79381c0, op=u'') at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:110 >#2 PyFile_WriteObject (v=<optimized out>, f=<file at remote 0x3fffb79381c0>, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2574 >#3 0x00003fffb7e233e8 in PyEval_EvalFrameEx (f=Frame 0x101102f0, for file <string>, line 1, in <module> (), throwflag=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:1844 >#4 0x00003fffb7e2cc2c in PyEval_EvalCodeEx (co=0x3fffb792d930, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 >#5 0x00003fffb7e2cdd4 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 >#6 0x00003fffb7e6736c in run_mod (arena=0x100bac10, flags=<optimized out>, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, filename=0x3fffb7eb1900 "<string>", mod=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373 >#7 PyRun_StringFlags (str=0x10020010 "print u''\n", start=<optimized out>, globals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals={'__builtins__': <module at remote 0x3fffb79474d8>, '__name__': '__main__', '__doc__': None, '__package__': None}, flags=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1336 >#8 0x00003fffb7e6a32c in PyRun_SimpleStringFlags (command=0x10020010 "print u''\n", flags=0x3fffffffe900) at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:977 >#9 0x00003fffb7e8800c in Py_Main (argc=<optimized out>, argv=0x3fffffffee58) at /usr/src/debug/Python-2.7.5/Modules/main.c:584 >#10 0x0000000010000738 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/Python-2.7.5/Modules/python.c:23 > > >---------------------------------------------------------------------- >Ran 47 tests in 12.285s > >FAILED (failures=28) >Traceback (most recent call last): > File "test_gdb.py", line 784, in <module> > test_main() > File "test_gdb.py", line 776, in test_main > PyLocalsTests > File "/usr/lib64/python2.7/test/test_support.py", line 1201, in run_unittest > _run_suite(suite) > File "/usr/lib64/python2.7/test/test_support.py", line 1184, in _run_suite > raise TestFailed(err) >test.test_support.TestFailed: multiple errors occurred >[39553 refs] >:: [ FAIL ] :: Command 'python-debug test_gdb.py 7' (Expected 0, got 1) >'966c0509-4052-43e3-abc7-4d611167c60e' >Test result: FAIL > metric: 1 > Log: /var/tmp/beakerlib-25367299/journal.txt > Info: Searching AVC errors produced since 1413882540.38 (Tue Oct 21 05:09:00 2014) > Searching logs... > Info: No AVC messages found. > Writing to /mnt/testarea/tmp.7mQLNT >: > AvcLog: /mnt/testarea/tmp.7mQLNT > >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: >:: [ LOG ] :: TEST PROTOCOL >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: > >:: [ LOG ] :: Test run ID : 25367299 >:: [ LOG ] :: Package : python >:: [ LOG ] :: Installed: : python-2.7.5-18.bs4.ppc64le >:: [ LOG ] :: beakerlib RPM : beakerlib-1.9-3.el7 >:: [ LOG ] :: bl-redhat RPM : beakerlib-redhat-1-15.el7 >:: [ LOG ] :: Test started : 2014-10-21 05:08:57 EDT >:: [ LOG ] :: Test finished : 2014-10-21 05:09:13 EDT >:: [ LOG ] :: Test name : /CoreOS/python/Sanity/gdb >:: [ LOG ] :: Distro: : Red Hat Enterprise Linux Server release 7.0 (Maipo) >:: [ LOG ] :: Hostname : ibm-p8-01-lp1.rhts.eng.bos.redhat.com >:: [ LOG ] :: Architecture : ppc64le > >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: >:: [ LOG ] :: Test description >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: > >PURPOSE of /CoreOS/python/Sanity/gdb >Description: Verify that gdb can pretty-print >Author: Petr Splichal <psplicha@redhat.com> > >This is a test checking that gdb can pretty-print various >PyObject* types. > >The test itself is a modified version the test_gdb from the >upstream test suite, which is available since Python 2.7 > >http://svn.python.org/view/python/branches/release27-maint/Lib/test/test_gdb.py > >Failures on x86_64 are expected due to BZ#556975. > > >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: >:: [ LOG ] :: Setup >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: > >:: [ PASS ] :: Checking for the presence of python-debug rpm >:: [ LOG ] :: Package versions: >:: [ LOG ] :: python-debug-2.7.5-18.bs4.ppc64le >:: [ PASS ] :: Checking for the presence of python-debuginfo rpm >:: [ LOG ] :: Package versions: >:: [ LOG ] :: python-debuginfo-2.7.5-18.bs4.ppc64le >:: [ PASS ] :: Binary 'python-debug' should belong to: python-debug >:: [ LOG ] :: Duration: 2s >:: [ LOG ] :: Assertions: 3 good, 0 bad >:: [ PASS ] :: RESULT: Setup > >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: >:: [ LOG ] :: Test >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: > >:: [ FAIL ] :: Command 'python-debug test_gdb.py 7' (Expected 0, got 1) >:: [ LOG ] :: Duration: 13s >:: [ LOG ] :: Assertions: 0 good, 1 bad >:: [ FAIL ] :: RESULT: Test > >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: >:: [ LOG ] :: /CoreOS/python/Sanity/gdb >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: > >:: [ LOG ] :: Phases: 1 good, 1 bad >:: [ FAIL ] :: RESULT: /CoreOS/python/Sanity/gdb
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1157707
: 951024