golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
123.93k stars 17.66k forks source link

runtime: TestGdbBacktrace failures #65176

Open gopherbot opened 9 months ago

gopherbot commented 9 months ago
#!watchflakes
default <- pkg == "runtime" && test == "TestGdbBacktrace"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestGdbBacktrace
=== PAUSE TestGdbBacktrace
=== CONT  TestGdbBacktrace
    runtime-gdb_test.go:81: gdb version 12.1
    runtime-gdb_test.go:489: GDB command timed out after 5m21.961754265s: /usr/bin/gdb -nx -batch -iex add-auto-load-safe-path /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime -ex set startup-with-shell off -ex break main.eee -ex run -ex backtrace -ex continue /home/swarming/.swarming/w/ir/x/t/TestGdbBacktrace964012512/001/a.exe
    runtime-gdb_test.go:494: gdb output:
        Loading Go Runtime support.
        Breakpoint 1 at 0x6979c: file /home/swarming/.swarming/w/ir/x/t/TestGdbBacktrace964012512/001/main.go, line 17.
        [New LWP 370763]
        [New LWP 370764]
        [New LWP 370766]
        [New LWP 370767]

        Thread 1 "a.exe" hit Breakpoint 1, 0x000000000006979c in main.eee (~r0=<optimized out>) at /home/swarming/.swarming/w/ir/x/t/TestGdbBacktrace964012512/001/main.go:17
        17  func eee() bool { return true }
        #0  0x000000000006979c in main.eee (~r0=<optimized out>) at /home/swarming/.swarming/w/ir/x/t/TestGdbBacktrace964012512/001/main.go:17
        #1  0x000000000006978c in main.ddd (~r0=<optimized out>) at /home/swarming/.swarming/w/ir/x/t/TestGdbBacktrace964012512/001/main.go:14
        #2  0x0000000000069750 in main.ccc (~r0=<optimized out>) at /home/swarming/.swarming/w/ir/x/t/TestGdbBacktrace964012512/001/main.go:11
        #3  0x0000000000069720 in main.bbb (~r0=<optimized out>) at /home/swarming/.swarming/w/ir/x/t/TestGdbBacktrace964012512/001/main.go:8
        #4  0x00000000000696f0 in main.aaa (~r0=<optimized out>) at /home/swarming/.swarming/w/ir/x/t/TestGdbBacktrace964012512/001/main.go:5
        #5  0x00000000000697c8 in main.main () at /home/swarming/.swarming/w/ir/x/t/TestGdbBacktrace964012512/001/main.go:22
        [LWP 370767 exited]
        [LWP 370766 exited]
        [LWP 370763 exited]
        [LWP 370761 exited]
    runtime-gdb_test.go:513: gdb exited with error: signal: killed
--- FAIL: TestGdbBacktrace (324.28s)

watchflakes

gopherbot commented 9 months ago

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "runtime" && test == "TestGdbBacktrace"
2024-01-17 20:26 gotip-linux-riscv64 go@8d04110c runtime.TestGdbBacktrace (log) === RUN TestGdbBacktrace === PAUSE TestGdbBacktrace === CONT TestGdbBacktrace runtime-gdb_test.go:81: gdb version 12.1 runtime-gdb_test.go:489: GDB command timed out after 5m21.961754265s: /usr/bin/gdb -nx -batch -iex add-auto-load-safe-path /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime -ex set startup-with-shell off -ex break main.eee -ex run -ex backtrace -ex continue /home/swarming/.swarming/w/ir/x/t/TestGdbBacktrace964012512/001/a.exe runtime-gdb_test.go:494: gdb output: Loading Go Runtime support. Breakpoint 1 at 0x6979c: file /home/swarming/.swarming/w/ir/x/t/TestGdbBacktrace964012512/001/main.go, line 17. [New LWP 370763] [New LWP 370764] [New LWP 370766] [New LWP 370767] Thread 1 "a.exe" hit Breakpoint 1, 0x000000000006979c in main.eee (~r0=) at /home/swarming/.swarming/w/ir/x/t/TestGdbBacktrace964012512/001/main.go:17 17 func eee() bool { return true } #0 0x000000000006979c in main.eee (~r0=) at /home/swarming/.swarming/w/ir/x/t/TestGdbBacktrace964012512/001/main.go:17 #1 0x000000000006978c in main.ddd (~r0=) at /home/swarming/.swarming/w/ir/x/t/TestGdbBacktrace964012512/001/main.go:14 #2 0x0000000000069750 in main.ccc (~r0=) at /home/swarming/.swarming/w/ir/x/t/TestGdbBacktrace964012512/001/main.go:11 #3 0x0000000000069720 in main.bbb (~r0=) at /home/swarming/.swarming/w/ir/x/t/TestGdbBacktrace964012512/001/main.go:8 #4 0x00000000000696f0 in main.aaa (~r0=) at /home/swarming/.swarming/w/ir/x/t/TestGdbBacktrace964012512/001/main.go:5 #5 0x00000000000697c8 in main.main () at /home/swarming/.swarming/w/ir/x/t/TestGdbBacktrace964012512/001/main.go:22 [LWP 370767 exited] [LWP 370766 exited] [LWP 370763 exited] [LWP 370761 exited] runtime-gdb_test.go:513: gdb exited with error: signal: killed --- FAIL: TestGdbBacktrace (324.28s)

watchflakes

mknyszek commented 9 months ago

In triage: maybe this is a hang in gdb? It wouldn't be that surprising. I think we need to wait for more.

CC @golang/riscv64

gopherbot commented 8 months ago

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "runtime" && test == "TestGdbBacktrace"
2024-03-04 18:29 linux-ppc64le-buildlet go@90796f44 runtime.TestGdbBacktrace (log) --- FAIL: TestGdbBacktrace (528.14s) runtime-gdb_test.go:78: gdb version 9.2 runtime-gdb_test.go:468: GDB command timed out after 8m47.858168161s: /usr/bin/gdb -nx -batch -iex add-auto-load-safe-path /workdir/go/src/runtime -ex set startup-with-shell off -ex break main.eee -ex run -ex backtrace -ex continue /workdir/tmp/TestGdbBacktrace695677159/001/a.exe runtime-gdb_test.go:473: gdb output: Loading Go Runtime support. Breakpoint 1 at 0x77090: file /workdir/tmp/TestGdbBacktrace695677159/001/main.go, line 17. runtime-gdb_test.go:492: gdb exited with error: signal: killed

watchflakes