From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BFED6382A2E8; Thu, 27 Oct 2022 08:17:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BFED6382A2E8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666858644; bh=FERM1GJplUw/XSY2VCWL/uTSZKy02F1MUIw983qyZK8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LVayEaCxQbiPBbtS/b5tO9+j+BfIFs5Y3rk6/71Wri4ZMXnlDlomdD+OIkEvo5QJf ufBFqJeb6v/cOgKQ+ArCmeZMrztjMW3Y07VTnDxQydkil1Zl8o3mpP4qFTKGJHgTU6 nssmqsnTquAZWst6NxFaooeynPKn/qVhWeeoPl3Y= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/29726] [gdb] FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=: action=delete: connection to GDBserver succeeded Date: Thu, 27 Oct 2022 08:17:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29726 --- Comment #3 from Tom de Vries --- I tried to reproduce using: ... $ git diff diff --git a/gdb/testsuite/gdb.server/connect-with-no-symbol-file.exp b/gdb/testsuite/gdb.s erver/connect-with-no-symbol-file.exp index d45e958a529..d3e9f96f46a 100644 --- a/gdb/testsuite/gdb.server/connect-with-no-symbol-file.exp +++ b/gdb/testsuite/gdb.server/connect-with-no-symbol-file.exp @@ -93,12 +93,17 @@ proc connect_no_symbol_file { sysroot action } { # Make sure we have the original symbol file in a safe place to copy from. gdb_remote_download host $binfile $binfile.bak -# Start with no executable loaded. -clean_restart - -# Run the test with different permutations. -foreach_with_prefix sysroot {"" "target:"} { - foreach_with_prefix action {"permission" "delete"} { - connect_no_symbol_file $sysroot $action +set n 1000 +for {set i 1} {$i <=3D $n} {incr i} { + # Start with no executable loaded. + clean_restart + + with_test_prefix $i { + # Run the test with different permutations. + foreach_with_prefix sysroot {"" "target:"} { + foreach_with_prefix action {"permission" "delete"} { + connect_no_symbol_file $sysroot $action + } + } } } ... but that runs into a hang after ~200 iterations: ... builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/../gdbserver/g= dbserver --once localhost:3151 /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.server/conne= ct-with-no-symbol-file/connect-with-no-symbol-file^M spawn of /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/../gdbserver/g= dbserver --once localhost:3151 /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.server/conne= ct-with-no-symbol-file/connect-with-no-symbol-file failed ERROR: tcl error sourcing /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.server/connect-with-no= -symbol-file.exp. ERROR: Timeout waiting for gdbserver response. ... --=20 You are receiving this mail because: You are on the CC list for the bug.=