== CPython 2.7a4+ (trunk:79729, Apr 4 2010, 10:53:32) [GCC 4.4.1] == Linux-2.6.31-20-generic-x86_64-with-debian-squeeze-sid == /home/ncoghlan/devel/python/build/test_python_4698 test_gdb test_NULL_instance_dict (test.test_gdb.PrettyPrintTests) Ensure that a PyInstanceObject with with a NULL in_dict is handled ... ok test_NULL_ob_type (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with NULL ob_type is handled gracefully ... ok test_NULL_ptr (test.test_gdb.PrettyPrintTests) Ensure that a NULL PyObject* is handled gracefully ... ok test_builtin_function (test.test_gdb.PrettyPrintTests) ... ok test_builtin_method (test.test_gdb.PrettyPrintTests) ... ok test_builtins_help (test.test_gdb.PrettyPrintTests) Ensure that the new-style class _Helper in site.py can be handled ... ok test_classic_class (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of classic class instances ... ok test_corrupt_ob_type (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with a corrupt ob_type is handled gracefully ... ok test_corrupt_tp_flags (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with a type with corrupt tp_flags is handled ... ok test_corrupt_tp_name (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with a type with corrupt tp_name is handled ... ok test_dicts (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of dictionaries ... ok test_exceptions (test.test_gdb.PrettyPrintTests) ... ok test_frames (test.test_gdb.PrettyPrintTests) ... ok test_frozensets (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of frozensets ... ok test_getting_backtrace (test.test_gdb.PrettyPrintTests) ... ok test_int (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of various "int" values ... ok test_lists (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of lists ... ok test_long (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of various "long" values ... ok test_modern_class (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of new-style class instances ... ok test_selfreferential_dict (test.test_gdb.PrettyPrintTests) Ensure that a reference loop involving a dict doesn't lead proxyval ... ok test_selfreferential_list (test.test_gdb.PrettyPrintTests) Ensure that a reference loop involving a list doesn't lead proxyval ... ok test_selfreferential_new_style_instance (test.test_gdb.PrettyPrintTests) ... ok test_selfreferential_old_style_instance (test.test_gdb.PrettyPrintTests) ... ok test_sets (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of sets ... ok test_singletons (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of True, False and None ... ok test_strings (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of strings ... ok test_subclassing_list (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of an instance of a list subclass ... ok test_subclassing_tuple (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of an instance of a tuple subclass ... ok test_truncation (test.test_gdb.PrettyPrintTests) Verify that very long output is truncated ... ok test_tuples (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of tuples ... ok test_unicode (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of unicode values ... ok test_basic_command (test.test_gdb.PyListTests) Verify that the "py-list" command works ... FAIL test_one_abs_arg (test.test_gdb.PyListTests) Verify the "py-list" command with one absolute argument ... FAIL test_two_abs_args (test.test_gdb.PyListTests) Verify the "py-list" command with two absolute arguments ... FAIL test_down_at_bottom (test.test_gdb.StackNavigationTests) Verify handling of "py-down" at the bottom of the stack ... FAIL test_pyup_command (test.test_gdb.StackNavigationTests) Verify that the "py-up" command works ... FAIL test_up_at_top (test.test_gdb.StackNavigationTests) Verify handling of "py-up" at the top of the stack ... FAIL test_up_then_down (test.test_gdb.StackNavigationTests) Verify "py-up" followed by "py-down" ... FAIL test_basic_command (test.test_gdb.PyBtTests) Verify that the "py-bt" command works ... FAIL test_basic_command (test.test_gdb.PyPrintTests) Verify that the "py-print" command works ... FAIL test_print_after_up (test.test_gdb.PyPrintTests) ... FAIL test_printing_builtin (test.test_gdb.PyPrintTests) ... FAIL test_printing_global (test.test_gdb.PyPrintTests) ... FAIL test_basic_command (test.test_gdb.PyLocalsTests) ... FAIL test_locals_after_up (test.test_gdb.PyLocalsTests) ... FAIL ====================================================================== FAIL: test_basic_command (test.test_gdb.PyListTests) Verify that the "py-list" command works ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 525, in test_basic_command cmds_after_breakpoint=['py-list']) File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 111, in get_stack_trace self.assertEquals(err, '') AssertionError: "Error occurred in Python command: 'gdb.Frame' object has no attribute 'function'\n" != '' ====================================================================== FAIL: test_one_abs_arg (test.test_gdb.PyListTests) Verify the "py-list" command with one absolute argument ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 540, in test_one_abs_arg cmds_after_breakpoint=['py-list 9']) File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 111, in get_stack_trace self.assertEquals(err, '') AssertionError: "Error occurred in Python command: 'gdb.Frame' object has no attribute 'function'\n" != '' ====================================================================== FAIL: test_two_abs_args (test.test_gdb.PyListTests) Verify the "py-list" command with two absolute arguments ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 551, in test_two_abs_args cmds_after_breakpoint=['py-list 1,3']) File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 111, in get_stack_trace self.assertEquals(err, '') AssertionError: "Error occurred in Python command: 'gdb.Frame' object has no attribute 'function'\n" != '' ====================================================================== FAIL: test_down_at_bottom (test.test_gdb.StackNavigationTests) Verify handling of "py-down" at the bottom of the stack ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 572, in test_down_at_bottom cmds_after_breakpoint=['py-down']) File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 111, in get_stack_trace self.assertEquals(err, '') AssertionError: "Error occurred in Python command: 'gdb.Frame' object has no attribute 'function'\n" != '' ====================================================================== FAIL: test_pyup_command (test.test_gdb.StackNavigationTests) Verify that the "py-up" command works ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 562, in test_pyup_command cmds_after_breakpoint=['py-up']) File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 111, in get_stack_trace self.assertEquals(err, '') AssertionError: "Error occurred in Python command: 'gdb.Frame' object has no attribute 'function'\n" != '' ====================================================================== FAIL: test_up_at_top (test.test_gdb.StackNavigationTests) Verify handling of "py-up" at the top of the stack ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 579, in test_up_at_top cmds_after_breakpoint=['py-up'] * 4) File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 111, in get_stack_trace self.assertEquals(err, '') AssertionError: "Error occurred in Python command: 'gdb.Frame' object has no attribute 'function'\nError occurred in Python command: 'gdb.Frame' object has no attribute 'function'\nError occurred in Python command: 'gdb.Frame' object has no attribute 'function'\nError occurred in Python command: 'gdb.Frame' object has no attribute 'function'\n" != '' ====================================================================== FAIL: test_up_then_down (test.test_gdb.StackNavigationTests) Verify "py-up" followed by "py-down" ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 586, in test_up_then_down cmds_after_breakpoint=['py-up', 'py-down']) File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 111, in get_stack_trace self.assertEquals(err, '') AssertionError: "Error occurred in Python command: 'gdb.Frame' object has no attribute 'function'\nError occurred in Python command: 'gdb.Frame' object has no attribute 'function'\n" != '' ====================================================================== FAIL: test_basic_command (test.test_gdb.PyBtTests) Verify that the "py-bt" command works ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 599, in test_basic_command cmds_after_breakpoint=['py-bt']) File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 111, in get_stack_trace self.assertEquals(err, '') AssertionError: "Error occurred in Python command: 'gdb.Frame' object has no attribute 'function'\n" != '' ====================================================================== FAIL: test_basic_command (test.test_gdb.PyPrintTests) Verify that the "py-print" command works ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 614, in test_basic_command cmds_after_breakpoint=['py-print args']) File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 111, in get_stack_trace self.assertEquals(err, '') AssertionError: "Error occurred in Python command: 'gdb.Frame' object has no attribute 'function'\n" != '' ====================================================================== FAIL: test_print_after_up (test.test_gdb.PyPrintTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 620, in test_print_after_up cmds_after_breakpoint=['py-up', 'py-print c', 'py-print b', 'py-print a']) File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 111, in get_stack_trace self.assertEquals(err, '') AssertionError: "Error occurred in Python command: 'gdb.Frame' object has no attribute 'function'\nError occurred in Python command: 'gdb.Frame' object has no attribute 'function'\nError occurred in Python command: 'gdb.Frame' object has no attribute 'function'\nError occurred in Python command: 'gdb.Frame' object has no attribute 'function'\n" != '' ====================================================================== FAIL: test_printing_builtin (test.test_gdb.PyPrintTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 632, in test_printing_builtin cmds_after_breakpoint=['py-print len']) File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 111, in get_stack_trace self.assertEquals(err, '') AssertionError: "Error occurred in Python command: 'gdb.Frame' object has no attribute 'function'\n" != '' ====================================================================== FAIL: test_printing_global (test.test_gdb.PyPrintTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 626, in test_printing_global cmds_after_breakpoint=['py-print __name__']) File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 111, in get_stack_trace self.assertEquals(err, '') AssertionError: "Error occurred in Python command: 'gdb.Frame' object has no attribute 'function'\n" != '' ====================================================================== FAIL: test_basic_command (test.test_gdb.PyLocalsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 639, in test_basic_command cmds_after_breakpoint=['py-locals']) File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 111, in get_stack_trace self.assertEquals(err, '') AssertionError: "Error occurred in Python command: 'gdb.Frame' object has no attribute 'function'\n" != '' ====================================================================== FAIL: test_locals_after_up (test.test_gdb.PyLocalsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 645, in test_locals_after_up cmds_after_breakpoint=['py-up', 'py-locals']) File "/home/ncoghlan/devel/python/Lib/test/test_gdb.py", line 111, in get_stack_trace self.assertEquals(err, '') AssertionError: "Error occurred in Python command: 'gdb.Frame' object has no attribute 'function'\nError occurred in Python command: 'gdb.Frame' object has no attribute 'function'\n" != '' ---------------------------------------------------------------------- Ran 45 tests in 10.863s FAILED (failures=14) test test_gdb failed -- multiple errors occurred 1 test failed: test_gdb