public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug testsuite/31632] New: [gdb/testsuite] Connecting to wrong gdbserver during parallel testing Date: Thu, 11 Apr 2024 13:36:59 +0000 [thread overview] Message-ID: <bug-31632-4717@http.sourceware.org/bugzilla/> (raw) https://sourceware.org/bugzilla/show_bug.cgi?id=31632 Bug ID: 31632 Summary: [gdb/testsuite] Connecting to wrong gdbserver during parallel testing Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: testsuite Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- The opensuse gdb package runs the testsuite using: ... $ make -j 16 \ check//unix/-m64 \ check//unix/-m64/-fPIE/-pie\ check//unix/-m32 \ check//unix/-m32/-fPIE/-pie ... or alternatively with -fno-PIE/-no-pie, depending on the default. So, AFAIU, four target boards are tested in parallel, and then each target board is also tested in parallel. I'm seeing (with gdb 13.2 based package) these FAILs for one target board: ... FAIL: gdb.server/connect-without-multi-process.exp: multiprocess=off: target remote (got interactive prompt) FAIL: gdb.server/connect-without-multi-process.exp: multiprocess=off: continue to main FAIL: gdb.server/connect-without-multi-process.exp: multiprocess=off: continue until exit ... and these for another: ... FAIL: gdb.server/reconnect-ctrl-c.exp: second: continue for ctrl-c (the program is no longer running) FAIL: gdb.server/reconnect-ctrl-c.exp: second: stop with control-c ... Curiously, when investigating the first we see: ... (gdb) PASS: gdb.server/connect-without-multi-process.exp: multiprocess=off: break -q main target remote localhost:2346^M Remote debugging using localhost:2346^M warning: Build ID mismatch between current exec-file /home/abuild/rpmbuild/BUILD/gdb-13.2/build-x86_64-suse-linux/gdb/testsuite.unix.-m32.-fno-PIE.-no-pie/outputs/gdb.server/connect-without-multi-process/connect-without-multi-process^M and automatically determined exec-file /home/abuild/rpmbuild/BUILD/gdb-13.2/build-x86_64-suse-linux/gdb/testsuite.unix.-m32/outputs/gdb.server/reconnect-ctrl-c/reconnect-ctrl-c^M exec-file-mismatch handling is currently "ask"^M Load new symbol table from "/home/abuild/rpmbuild/BUILD/gdb-13.2/build-x86_64-suse-linux/gdb/testsuite.unix.-m32/outputs/gdb.server/reconnect-ctrl-c/reconnect-ctrl-c"? (y or n) n^M warning: loading /home/abuild/rpmbuild/BUILD/gdb-13.2/build-x86_64-suse-linux/gdb/testsuite.unix.-m32/outputs/gdb.server/reconnect-ctrl-c/reconnect-ctrl-c Not confirmed.^M warning: Could not load shared library symbols for linux-gate.so.1.^M Do you need "set solib-search-path" or "set sysroot"?^M Reading symbols from /lib/libc.so.6...^M (No debugging symbols found in /lib/libc.so.6)^M Reading symbols from /lib/ld-linux.so.2...^M (No debugging symbols found in /lib/ld-linux.so.2)^M 0xf7fc7579 in ?? ()^M (gdb) FAIL: gdb.server/connect-without-multi-process.exp: multiprocess=off: target remote (got interactive prompt) ... Looking at the other test-case, the same portnum is used. It seems we're connecting to the wrong gdbserver. -- You are receiving this mail because: You are on the CC list for the bug.
next reply other threads:[~2024-04-11 13:37 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-04-11 13:36 vries at gcc dot gnu.org [this message] 2024-04-13 9:48 ` [Bug testsuite/31632] " vries at gcc dot gnu.org 2024-04-15 15:59 ` vries at gcc dot gnu.org 2024-05-04 8:41 ` cvs-commit at gcc dot gnu.org 2024-05-04 8:46 ` vries at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-31632-4717@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).