Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime: GDB tests failing on linux-mips64-rtrk since CL 380755 #51769

Closed
bcmills opened this issue Mar 17, 2022 · 3 comments
Closed

runtime: GDB tests failing on linux-mips64-rtrk since CL 380755 #51769

bcmills opened this issue Mar 17, 2022 · 3 comments
Labels
arch-mips FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Linux release-blocker Soon This needs to be done soon. (regressions, serious bugs, outages)
Milestone

Comments

@bcmills
Copy link
Contributor

bcmills commented Mar 17, 2022

--- FAIL: TestGdbBacktrace (1.30s)
    runtime-gdb_test.go:76: gdb version 8.1
    runtime-gdb_test.go:428: gdb output:
        BFD: /tmp/gobuilder-mips64/tmp/TestGdbBacktrace2309338065/001/a.exe: unable to initialize decompress status for section .debug_abbrev
        BFD: /tmp/gobuilder-mips64/tmp/TestGdbBacktrace2309338065/001/a.exe: unable to initialize decompress status for section .debug_abbrev
        "/tmp/gobuilder-mips64/tmp/TestGdbBacktrace2309338065/001/a.exe": not in executable format: File format not recognized
        No symbol table is loaded.  Use the "file" command.
        Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal]
        No executable file specified.
        Use the "file" or "exec-file" command.
        No stack.
        The program is not being run.
    runtime-gdb_test.go:454: could not find '#0.*main\.eee' in backtrace
--- FAIL: TestGdbPanic (2.48s)
    runtime-gdb_test.go:76: gdb version 8.1
    runtime-gdb_test.go:636: gdb output:
        BFD: /tmp/gobuilder-mips64/tmp/TestGdbPanic797438989/001/a.exe: unable to initialize decompress status for section .debug_abbrev
        BFD: /tmp/gobuilder-mips64/tmp/TestGdbPanic797438989/001/a.exe: unable to initialize decompress status for section .debug_abbrev
        "/tmp/gobuilder-mips64/tmp/TestGdbPanic797438989/001/a.exe": not in executable format: File format not recognized
        No executable file specified.
        Use the "file" or "exec-file" command.
        No stack.
    runtime-gdb_test.go:650: could not find '(#.* .* in )?main\.crash' in backtrace
--- FAIL: TestGdbConst (20.83s)
    runtime-gdb_test.go:76: gdb version 8.1
    runtime-gdb_test.go:578: gdb output:
        BFD: /tmp/gobuilder-mips64/tmp/TestGdbConst1900233325/001/a.exe: unable to initialize decompress status for section .debug_abbrev
        BFD: /tmp/gobuilder-mips64/tmp/TestGdbConst1900233325/001/a.exe: unable to initialize decompress status for section .debug_abbrev
        "/tmp/gobuilder-mips64/tmp/TestGdbConst1900233325/001/a.exe": not in executable format: File format not recognized
        No symbol table is loaded.  Use the "file" command.
        Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal]
        No executable file specified.
        Use the "file" or "exec-file" command.
        No symbol table is loaded.  Use the "file" command.
        No symbol table is loaded.  Use the "file" command.
        No symbol table is loaded.  Use the "file" command.
        No symbol table is loaded.  Use the "file" command.
        No symbol table is loaded.  Use the "file" command.
    runtime-gdb_test.go:586: output mismatch
--- FAIL: TestGdbAutotmpTypes (18.97s)
    runtime-gdb_test.go:76: gdb version 8.1
    runtime-gdb_test.go:510: gdb output:
        BFD: /tmp/gobuilder-mips64/tmp/TestGdbAutotmpTypes830246952/001/a.exe: unable to initialize decompress status for section .debug_abbrev
        BFD: /tmp/gobuilder-mips64/tmp/TestGdbAutotmpTypes830246952/001/a.exe: unable to initialize decompress status for section .debug_abbrev
        "/tmp/gobuilder-mips64/tmp/TestGdbAutotmpTypes830246952/001/a.exe": not in executable format: File format not recognized
        No symbol table is loaded.  Use the "file" command.
        Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal]
        No executable file specified.
        Use the "file" or "exec-file" command.
        The program is not being run.
        All types matching regular expression "astruct":
    runtime-gdb_test.go:527: could not find []main.astruct; in 'info typrs astruct' output
FAIL
FAIL	runtime	104.355s

greplogs --dashboard -md -l -e 'unable to initialize decompress status for section' --since=2022-03-01

2022-03-17T08:43:51-c379c3d/linux-mips64-rtrk
2022-03-17T08:43:15-599d539/linux-mips64-rtrk
2022-03-17T03:41:50-9956a54/linux-mips64-rtrk
2022-03-17T03:04:30-8427429/linux-mips64-rtrk
2022-03-17T02:43:05-f839aaa/linux-mips64-rtrk
2022-03-17T01:29:17-6686536/linux-mips64-rtrk
2022-03-17T00:12:40-1cfe100/linux-mips64-rtrk
2022-03-16T23:03:54-e5e638e/linux-mips64-rtrk
2022-03-16T20:39:14-ed4db86/linux-mips64-rtrk
2022-03-16T20:10:07-91631bc/linux-mips64-rtrk
2022-03-16T18:34:31-81d3c25/linux-mips64-rtrk
2022-03-16T07:03:20-5fd0ed7/linux-mips64-rtrk
2022-03-16T05:32:52-d34287a/linux-mips64-rtrk

@bcmills bcmills added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. release-blocker labels Mar 17, 2022
@bcmills bcmills added this to the Go1.19 milestone Mar 17, 2022
@bcmills bcmills added the Soon This needs to be done soon. (regressions, serious bugs, outages) label Mar 17, 2022
@bcmills
Copy link
Contributor Author

bcmills commented Mar 17, 2022

These failures started as of CL 380755 (attn @mengzhuo, @cherrymui, @thanm; CC @golang/runtime).

The tests are only failing on the one builder (attn @bogojevic, @milanknezevic), it is not a first-class port, and the failure may be due to a bug or deficiency in the installed gdb — so it seems to me that it would be fine to resolve this issue by skipping the affected tests on that builder. (As noted in #39204 (comment), we already skip those tests on a shockingly large fraction of builders.)

@mengzhuo
Copy link
Contributor

I'll take a look.

@gopherbot
Copy link

Change https://go.dev/cl/393916 mentions this issue: cmd/link: Set alignment of compressed section based on arch alignment

@golang golang locked and limited conversation to collaborators Mar 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-mips FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Linux release-blocker Soon This needs to be done soon. (regressions, serious bugs, outages)
Projects
None yet
Development

No branches or pull requests

3 participants