Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_gdb failures #61912

Closed
pitrou opened this issue Apr 13, 2013 · 7 comments
Closed

test_gdb failures #61912

pitrou opened this issue Apr 13, 2013 · 7 comments
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@pitrou
Copy link
Member

pitrou commented Apr 13, 2013

BPO 17712
Nosy @warsaw, @birkenfeld, @doko42, @pitrou, @davidmalcolm
Files
  • test_gdb.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2013-04-30.22:22:14.393>
    created_at = <Date 2013-04-13.12:30:45.139>
    labels = ['type-bug', 'tests']
    title = 'test_gdb failures'
    updated_at = <Date 2013-04-30.22:22:14.393>
    user = 'https://github.com/pitrou'

    bugs.python.org fields:

    activity = <Date 2013-04-30.22:22:14.393>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2013-04-30.22:22:14.393>
    closer = 'pitrou'
    components = ['Tests']
    creation = <Date 2013-04-13.12:30:45.139>
    creator = 'pitrou'
    dependencies = []
    files = ['30020']
    hgrepos = []
    issue_num = 17712
    keywords = ['patch']
    message_count = 7.0
    messages = ['186708', '186711', '186712', '187077', '187823', '188190', '188191']
    nosy_count = 6.0
    nosy_names = ['barry', 'georg.brandl', 'doko', 'pitrou', 'dmalcolm', 'python-dev']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue17712'
    versions = ['Python 3.1', 'Python 3.3', 'Python 3.4']

    @pitrou
    Copy link
    Member Author

    pitrou commented Apr 13, 2013

    I'm getting multiple test_gdb failures on a new (XUbuntu 13.04) system:

    ======================================================================
    FAIL: test_basic_command (test.test_gdb.PyLocalsTests)
    ----------------------------------------------------------------------

    Traceback (most recent call last):
      File "/home/antoine/cpython/33/Lib/test/test_gdb.py", line 822, in test_basic_command
        cmds_after_breakpoint=['py-locals'])
      File "/home/antoine/cpython/33/Lib/test/test_gdb.py", line 170, in get_stack_trace
        self.assertEqual(err, '')
    AssertionError: 'warning: no loadable sections found in added symbol-file system-supplied DSO at [truncated]... != ''
    - warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000

    (all test methods produce the same error)

    @pitrou pitrou added tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error labels Apr 13, 2013
    @birkenfeld
    Copy link
    Member

    I guess that warning needs to be added to all the others in test_gdb around line 150...

    @pitrou
    Copy link
    Member Author

    pitrou commented Apr 13, 2013

    (if anyone knows why that warning appears, by the way, I'll be glad to hear about it :-))

    @warsaw
    Copy link
    Member

    warsaw commented Apr 16, 2013

    Possibly this issue: Possibly this issue: https://bugzilla.redhat.com/show_bug.cgi?id=312011

    I'm seeing tons of this on Ubuntu 13.04.

    @pitrou
    Copy link
    Member Author

    pitrou commented Apr 25, 2013

    Here is a patch.

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Apr 30, 2013

    New changeset 4e58cafbebfc by Antoine Pitrou in branch '3.3':
    Issue bpo-17712: Fix test_gdb failures on Ubuntu 13.04.
    http://hg.python.org/cpython/rev/4e58cafbebfc

    New changeset 4e186581fea7 by Antoine Pitrou in branch 'default':
    Issue bpo-17712: Fix test_gdb failures on Ubuntu 13.04.
    http://hg.python.org/cpython/rev/4e186581fea7

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Apr 30, 2013

    New changeset c241831a91f2 by Antoine Pitrou in branch '2.7':
    Issue bpo-17712: Fix test_gdb failures on Ubuntu 13.04.
    http://hg.python.org/cpython/rev/c241831a91f2

    @pitrou pitrou closed this as completed Apr 30, 2013
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants