]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: update TestGdbBacktrace skips for known GDB bugs
authorBryan C. Mills <bcmills@google.com>
Fri, 11 Feb 2022 16:48:47 +0000 (11:48 -0500)
committerBryan Mills <bcmills@google.com>
Fri, 11 Feb 2022 17:05:42 +0000 (17:05 +0000)
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>

src/runtime/runtime-gdb_test.go

index 2de613c7d3ffa17e290fd94600c5b4d45c57dda1..ee8c6c210fb1571890a429d6b043f92d9118a7f5 100644 (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)
        }