From 3c1155ee2d0e2e9bfb907faa61a46e0b4dd509a3 Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Wed, 17 Jan 2024 13:44:44 -0500 Subject: [PATCH] runtime: mark TestGdbCoreCrashThreadBacktrace as flaky This test exercises the SIGQUIT crash loop and managed to trigger the race from #65138 at least once. For #65138. Fixes #64752. Change-Id: I11091510aa7ae4f58b1d748e53df2e3e3dbfb323 Reviewed-on: https://go-review.googlesource.com/c/go/+/556356 Auto-Submit: Michael Pratt LUCI-TryBot-Result: Go LUCI Reviewed-by: Bryan Mills Reviewed-by: Cherry Mui --- src/runtime/runtime-gdb_unix_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/runtime/runtime-gdb_unix_test.go b/src/runtime/runtime-gdb_unix_test.go index a1f2401a6e4..8b602d13d97 100644 --- a/src/runtime/runtime-gdb_unix_test.go +++ b/src/runtime/runtime-gdb_unix_test.go @@ -296,6 +296,8 @@ func TestGdbCoreCrashThreadBacktrace(t *testing.T) { t.Skip("Backtrace through signal handler only works on 386 and amd64") } + testenv.SkipFlaky(t, 65138) + testenv.MustHaveCGO(t) checkGdbEnvironment(t) t.Parallel()