This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: buildbot: test_gdb failure on sparc Ubuntu trunk
Type: Stage:
Components: Versions: Python 2.7
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: pitrou, vstinner
Priority: normal Keywords: buildbot

Created on 2010-04-17 18:20 by vstinner, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg103420 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2010-04-17 18:20
http://www.python.org/dev/buildbot/builders/sparc Ubuntu trunk/builds/76/steps/test/logs/stdio

test_gdb
test test_gdb failed -- multiple errors occurred; run in verbose mode for details
Re-running test 'test_gdb' in verbose mode
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/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 535, in test_basic_command
    cmds_after_breakpoint=['py-list'])
  File "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 111, in get_stack_trace
    self.assertEquals(err, '')
AssertionError: "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/python: can't open file 'Lib/test/test_gdb_sample.py': [Errno 2] No such file or directory\nError occurred in Python command: No frame is currently selected.\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/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 552, in test_one_abs_arg
    cmds_after_breakpoint=['py-list 9'])
  File "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 111, in get_stack_trace
    self.assertEquals(err, '')
AssertionError: "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/python: can't open file 'Lib/test/test_gdb_sample.py': [Errno 2] No such file or directory\nError occurred in Python command: No frame is currently selected.\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/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 565, in test_two_abs_args
    cmds_after_breakpoint=['py-list 1,3'])
  File "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 111, in get_stack_trace
    self.assertEquals(err, '')
AssertionError: "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/python: can't open file 'Lib/test/test_gdb_sample.py': [Errno 2] No such file or directory\nError occurred in Python command: No frame is currently selected.\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/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 588, in test_down_at_bottom
    cmds_after_breakpoint=['py-down'])
  File "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 111, in get_stack_trace
    self.assertEquals(err, '')
AssertionError: "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/python: can't open file 'Lib/test/test_gdb_sample.py': [Errno 2] No such file or directory\nError occurred in Python command: No frame is currently selected.\n" != ''

======================================================================
FAIL: test_pyup_command (test.test_gdb.StackNavigationTests)
Verify that the "py-up" command works
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 578, in test_pyup_command
    cmds_after_breakpoint=['py-up'])
  File "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 111, in get_stack_trace
    self.assertEquals(err, '')
AssertionError: "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/python: can't open file 'Lib/test/test_gdb_sample.py': [Errno 2] No such file or directory\nError occurred in Python command: No frame is currently selected.\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/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 595, in test_up_at_top
    cmds_after_breakpoint=['py-up'] * 4)
  File "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 111, in get_stack_trace
    self.assertEquals(err, '')
AssertionError: "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/python: can't open file 'Lib/test/test_gdb_sample.py': [Errno 2] No such file or directory\nError occurred in Python command: No frame is currently selected.\nError occurred in Python command: No frame is currently selected.\nError occurred in Python command: No frame is currently selected.\nError occurred in Python command: No frame is currently selected.\n" != ''

======================================================================
FAIL: test_up_then_down (test.test_gdb.StackNavigationTests)
Verify "py-up" followed by "py-down"
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 602, in test_up_then_down
    cmds_after_breakpoint=['py-up', 'py-down'])
  File "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 111, in get_stack_trace
    self.assertEquals(err, '')
AssertionError: "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/python: can't open file 'Lib/test/test_gdb_sample.py': [Errno 2] No such file or directory\nError occurred in Python command: No frame is currently selected.\nError occurred in Python command: No frame is currently selected.\n" != ''

======================================================================
FAIL: test_basic_command (test.test_gdb.PyBtTests)
Verify that the "py-bt" command works
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 615, in test_basic_command
    cmds_after_breakpoint=['py-bt'])
  File "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 111, in get_stack_trace
    self.assertEquals(err, '')
AssertionError: "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/python: can't open file 'Lib/test/test_gdb_sample.py': [Errno 2] No such file or directory\nError occurred in Python command: No frame is currently selected.\n" != ''

======================================================================
FAIL: test_basic_command (test.test_gdb.PyPrintTests)
Verify that the "py-print" command works
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 630, in test_basic_command
    cmds_after_breakpoint=['py-print args'])
  File "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 111, in get_stack_trace
    self.assertEquals(err, '')
AssertionError: "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/python: can't open file 'Lib/test/test_gdb_sample.py': [Errno 2] No such file or directory\nError occurred in Python command: No frame is currently selected.\n" != ''

======================================================================
FAIL: test_print_after_up (test.test_gdb.PyPrintTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 636, in test_print_after_up
    cmds_after_breakpoint=['py-up', 'py-print c', 'py-print b', 'py-print a'])
  File "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 111, in get_stack_trace
    self.assertEquals(err, '')
AssertionError: "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/python: can't open file 'Lib/test/test_gdb_sample.py': [Errno 2] No such file or directory\nError occurred in Python command: No frame is currently selected.\nError occurred in Python command: No frame is currently selected.\nError occurred in Python command: No frame is currently selected.\nError occurred in Python command: No frame is currently selected.\n" != ''

======================================================================
FAIL: test_printing_builtin (test.test_gdb.PyPrintTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 648, in test_printing_builtin
    cmds_after_breakpoint=['py-print len'])
  File "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 111, in get_stack_trace
    self.assertEquals(err, '')
AssertionError: "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/python: can't open file 'Lib/test/test_gdb_sample.py': [Errno 2] No such file or directory\nError occurred in Python command: No frame is currently selected.\n" != ''

======================================================================
FAIL: test_printing_global (test.test_gdb.PyPrintTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 642, in test_printing_global
    cmds_after_breakpoint=['py-print __name__'])
  File "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 111, in get_stack_trace
    self.assertEquals(err, '')
AssertionError: "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/python: can't open file 'Lib/test/test_gdb_sample.py': [Errno 2] No such file or directory\nError occurred in Python command: No frame is currently selected.\n" != ''

======================================================================
FAIL: test_basic_command (test.test_gdb.PyLocalsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 655, in test_basic_command
    cmds_after_breakpoint=['py-locals'])
  File "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 111, in get_stack_trace
    self.assertEquals(err, '')
AssertionError: "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/python: can't open file 'Lib/test/test_gdb_sample.py': [Errno 2] No such file or directory\nError occurred in Python command: No frame is currently selected.\n" != ''

======================================================================
FAIL: test_locals_after_up (test.test_gdb.PyLocalsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 661, in test_locals_after_up
    cmds_after_breakpoint=['py-up', 'py-locals'])
  File "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 111, in get_stack_trace
    self.assertEquals(err, '')
AssertionError: "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/python: can't open file 'Lib/test/test_gdb_sample.py': [Errno 2] No such file or directory\nError occurred in Python command: No frame is currently selected.\nError occurred in Python command: No frame is currently selected.\n" != ''

----------------------------------------------------------------------
Ran 45 tests in 72.756s

FAILED (failures=14)
test test_gdb failed -- multiple errors occurred
msg103423 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2010-04-17 18:51
Related issue: #8281 (For gdb7, a python-gdb.py file is added to the build, allowing to use advanced gdb features when debugging Python.)
msg103437 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2010-04-17 21:52
Oh, this is a duplicate of #8279.
History
Date User Action Args
2022-04-11 14:57:00adminsetgithub: 52681
2010-04-17 21:52:51vstinnersetstatus: open -> closed
resolution: duplicate
messages: + msg103437
2010-04-17 18:52:25vstinnersetnosy: + pitrou
2010-04-17 18:51:41vstinnersetmessages: + msg103423
2010-04-17 18:20:44vstinnercreate