From: Michael Pratt Date: Mon, 5 Jun 2023 17:57:37 +0000 (-0400) Subject: runtime: skip another GDB "no such process" case X-Git-Tag: go1.21rc1~99 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1b9c721f8f45ff9dac109afd928128159275fafb;p=gostls13.git runtime: skip another GDB "no such process" case Fixes #58698. For #50838. Change-Id: I043c59a57707e64d444cd687f9745bf5313fb7cc Reviewed-on: https://go-review.googlesource.com/c/go/+/500959 Run-TryBot: Michael Pratt Auto-Submit: Michael Pratt TryBot-Result: Gopher Robot Reviewed-by: Austin Clements --- diff --git a/src/runtime/runtime-gdb_test.go b/src/runtime/runtime-gdb_test.go index 19069f4462..8c759bf406 100644 --- a/src/runtime/runtime-gdb_test.go +++ b/src/runtime/runtime-gdb_test.go @@ -474,7 +474,9 @@ func TestGdbBacktrace(t *testing.T) { case bytes.Contains(got, []byte("internal-error: wait returned unexpected status 0x0")): // GDB bug: https://sourceware.org/bugzilla/show_bug.cgi?id=28551 testenv.SkipFlaky(t, 43068) - case bytes.Contains(got, []byte("Couldn't get registers: No such process.")), bytes.Contains(got, []byte("Unable to fetch general registers.: No such process.")): + case bytes.Contains(got, []byte("Couldn't get registers: No such process.")), + bytes.Contains(got, []byte("Unable to fetch general registers.: No such process.")), + bytes.Contains(got, []byte("reading register pc (#64): No such process.")): // GDB bug: https://sourceware.org/bugzilla/show_bug.cgi?id=9086 testenv.SkipFlaky(t, 50838) case bytes.Contains(got, []byte("waiting for new child: No child processes.")):