runtime: update TestGdbBacktrace skips for known GDB bugs

Fixes #50838

Change-Id: Ib7e7563cd63d85a508984e4162eda38232b250d3
Reviewed-on: https://go-review.googlesource.com/c/go/+/385175
Trust: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
Bryan C. Mills 2022-02-11 11:48:47 -05:00 committed by Bryan Mills
parent 18e1a5a085
commit 0a9d6a31b1
1 changed files with 5 additions and 0 deletions

View File

@ -428,8 +428,13 @@ func TestGdbBacktrace(t *testing.T) {
t.Logf("gdb output:\n%s", got)
if err != nil {
if 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)
}
if bytes.Contains(got, []byte("Couldn't get registers: No such process.")) {
// GDB bug: https://sourceware.org/bugzilla/show_bug.cgi?id=9086
testenv.SkipFlaky(t, 50838)
}
t.Fatalf("gdb exited with error: %v", err)
}