Issue 22844: test_gdb failure on Debian Wheezy for Z (original) (raw)

Created on 2014-11-11 01:53 by David.Edelsohn, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (6)
msg230997 - (view) Author: David Edelsohn (David.Edelsohn) * Date: 2014-11-11 01:53
I added a Buildbot on another zLinux system running Debian Wheezy and it shows a different GDB error message: linux-vdso64.so. Can you please add something like the following to allow test_gdb to pass? diff -r 524a004e93dd Lib/test/test_gdb.py --- a/Lib/test/test_gdb.py Mon Nov 10 23:15:56 2014 +0200 +++ b/Lib/test/test_gdb.py Mon Nov 10 20:51:49 2014 -0500 @@ -169,6 +169,8 @@ 'linux-vdso.so', 'warning: Could not load shared library symbols for ' 'linux-gate.so', + 'warning: Could not load shared library symbols for ' + 'linux-vdso64.so', 'Do you need "set solib-search-path" or ' '"set sysroot"?', 'warning: Source file is more recent than executable.',
msg235962 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2015-02-14 10:21
The inline patch seems fine to my eyes but who would usually comment on a proposed change to test_gdb.py?
msg235973 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2015-02-14 14:39
Could you please show tests logs David?
msg235989 - (view) Author: David Edelsohn (David.Edelsohn) * Date: 2015-02-14 20:28
The errors are of the form: ====================================================================== FAIL: test_NULL_ob_type (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with NULL ob_type is handled gracefully ---------------------------------------------------------------------- Traceback (most recent call last): File "/mnt/DREAMStorage/dje/cpython-buildarea/3.x.edelsohn-zwheezy-z/build/Lib/test/test_gdb.py", line 470, in test_NULL_ob_type 'set v->ob_type=0') File "/mnt/DREAMStorage/dje/cpython-buildarea/3.x.edelsohn-zwheezy-z/build/Lib/test/test_gdb.py", line 441, in assertSane cmds_after_breakpoint=cmds_after_breakpoint) File "/mnt/DREAMStorage/dje/cpython-buildarea/3.x.edelsohn-zwheezy-z/build/Lib/test/test_gdb.py", line 227, in get_gdb_repr import_site=import_site) File "/mnt/DREAMStorage/dje/cpython-buildarea/3.x.edelsohn-zwheezy-z/build/Lib/test/test_gdb.py", line 205, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['warning: Could not load shared library symbols for linux-vdso64.so.1.'] != [] First list contains 1 additional elements. First extra element 0: warning: Could not load shared library symbols for linux-vdso64.so.1. - ['warning: Could not load shared library symbols for linux-vdso64.so.1.'] + []
msg235990 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2015-02-14 20:37
Thanks. The patch LGTM.
msg235992 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2015-02-14 20:49
New changeset ae5d868513fd by Serhiy Storchaka in branch '3.4': Issue #22844: Fized test_gdb failure on Debian Wheezy for Z. https://hg.python.org/cpython/rev/ae5d868513fd New changeset df696b544b3c by Serhiy Storchaka in branch 'default': Issue #22844: Fized test_gdb failure on Debian Wheezy for Z. https://hg.python.org/cpython/rev/df696b544b3c New changeset eb3a6243af33 by Serhiy Storchaka in branch '2.7': Issue #22844: Fized test_gdb failure on Debian Wheezy for Z. https://hg.python.org/cpython/rev/eb3a6243af33
History
Date User Action Args
2022-04-11 14:58:10 admin set github: 67033
2015-02-14 23:00:46 serhiy.storchaka set status: open -> closedresolution: fixedstage: commit review -> resolved
2015-02-14 20:49:35 python-dev set nosy: + python-devmessages: +
2015-02-14 20:37:51 serhiy.storchaka set assignee: serhiy.storchakamessages: + stage: commit review
2015-02-14 20:28:16 David.Edelsohn set messages: +
2015-02-14 14:39:25 serhiy.storchaka set nosy: + serhiy.storchakamessages: +
2015-02-14 10:21:59 BreamoreBoy set nosy: + BreamoreBoymessages: +
2014-11-11 01:53:08 David.Edelsohn create