From 1b9c721f8f45ff9dac109afd928128159275fafb Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Mon, 5 Jun 2023 13:57:37 -0400 Subject: [PATCH] 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 --- src/runtime/runtime-gdb_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/runtime/runtime-gdb_test.go b/src/runtime/runtime-gdb_test.go index 19069f4462b0a9..8c759bf4066370 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.")):