Author vstinner
Recipients Dormouse759, cstratak, ishcherb, serhiy.storchaka, vstinner
Date 2018-06-15.20:45:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1529095513.6.0.56676864532.issue32962@psf.upfronthosting.co.za>
In-reply-to
Content
Oh :-( The change caused two buildbot failures, so I wrote PR 7723 to revert it.

x86 Gentoo Non-Debug with X 3.x:
http://buildbot.python.org/all/#/builders/99/builds/1095

======================================================================
FAIL: test_NULL_ptr (test.test_gdb.PrettyPrintTests)
Ensure that a NULL PyObject* is handled gracefully
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/buildarea/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_gdb.py", line 481, in test_NULL_ptr
    'backtrace'])
  File "/buildbot/buildarea/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_gdb.py", line 239, in get_gdb_repr
    import_site=import_site)
  File "/buildbot/buildarea/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_gdb.py", line 217, in get_stack_trace
    self.assertEqual(unexpected_errlines, [])
AssertionError: Lists differ: ['No symbol "v" in current context.'] != []

First list contains 1 additional elements.
First extra element 0:
'No symbol "v" in current context.'

- ['No symbol "v" in current context.']
+ []

======================================================================
FAIL: test_builtins_help (test.test_gdb.PrettyPrintTests)
Ensure that the new-style class _Helper in site.py can be handled
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/buildarea/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_gdb.py", line 517, in test_builtins_help
    gdb_repr, gdb_output = self.get_gdb_repr('id(__builtins__.help)', import_site=True)
  File "/buildbot/buildarea/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_gdb.py", line 246, in get_gdb_repr
    self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output))
AssertionError: Unexpected gdb output: 'Breakpoint 1 at 0xf1670: file Python/bltinmodule.c, line 1204.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=, v=<_Helper at remote 0xb796c2ec>) at Python/bltinmodule.c:1204\n1204\t{\n__x86.get_pc_thunk.bx ()\n#0  __x86.get_pc_thunk.bx ()\n'
Breakpoint 1 at 0xf1670: file Python/bltinmodule.c, line 1204.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".

Breakpoint 1, builtin_id (self=, v=<_Helper at remote 0xb796c2ec>) at Python/bltinmodule.c:1204
1204	{
__x86.get_pc_thunk.bx ()
#0  __x86.get_pc_thunk.bx ()

======================================================================
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 "/buildbot/buildarea/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_gdb.py", line 702, in test_up_at_top
    'Unable to find an older python frame\n')
  File "/buildbot/buildarea/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_gdb.py", line 252, in assertEndsWith
    msg='%r did not end with %r' % (actual, exp_end))
AssertionError: False is not true : 'Breakpoint 1 at 0xf1670: file Python/bltinmodule.c, line 1204.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=, v=42) at Python/bltinmodule.c:1204\n1204\t{\n__x86.get_pc_thunk.bx ()\nUnable to locate python frame\nUnable to locate python frame\nUnable to locate python frame\nUnable to locate python frame\nUnable to locate python frame\n' did not end with 'Unable to find an older python frame\n'



AMD64 Debian PGO 3.x:
http://buildbot.python.org/all/#/builders/47/builds/1173

======================================================================
FAIL: test_tuples (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of tuples
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.x.gps-debian-profile-opt.nondebug/build/Lib/test/test_gdb.py", line 351, in test_tuples
    self.assertGdbRepr(tuple(), '()')
  File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.x.gps-debian-profile-opt.nondebug/build/Lib/test/test_gdb.py", line 270, in assertGdbRepr
    gdb_repr, gdb_output = self.get_gdb_repr('id(' + ascii(val) + ')')
  File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.x.gps-debian-profile-opt.nondebug/build/Lib/test/test_gdb.py", line 246, in get_gdb_repr
    self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output))
AssertionError: Unexpected gdb output: 'Breakpoint 1 at 0x16dc20: file Python/bltinmodule.c, line 1205.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=, v=()) at Python/bltinmodule.c:1205\n1205\t    return PyLong_FromVoidPtr(v);\nPyLong_FromVoidPtr () at Objects/longobject.c:1021\n1021\t{\n#0  PyLong_FromVoidPtr () at Objects/longobject.c:1021\n'
Breakpoint 1 at 0x16dc20: file Python/bltinmodule.c, line 1205.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, builtin_id (self=, v=()) at Python/bltinmodule.c:1205
1205	    return PyLong_FromVoidPtr(v);
PyLong_FromVoidPtr () at Objects/longobject.c:1021
1021	{
#0  PyLong_FromVoidPtr () at Objects/longobject.c:1021
History
Date User Action Args
2018-06-15 20:45:13vstinnersetrecipients: + vstinner, serhiy.storchaka, cstratak, ishcherb, Dormouse759
2018-06-15 20:45:13vstinnersetmessageid: <1529095513.6.0.56676864532.issue32962@psf.upfronthosting.co.za>
2018-06-15 20:45:13vstinnerlinkissue32962 messages
2018-06-15 20:45:13vstinnercreate