Skip to content

cmd/link: TestMachOBuildVersion failures #70750

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

Closed
gopherbot opened this issue Dec 10, 2024 · 4 comments
Closed

cmd/link: TestMachOBuildVersion failures #70750

gopherbot opened this issue Dec 10, 2024 · 4 comments
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@gopherbot
Copy link
Contributor

#!watchflakes
default <- pkg == "cmd/link" && test == "TestMachOBuildVersion"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestMachOBuildVersion
=== PAUSE TestMachOBuildVersion
=== CONT  TestMachOBuildVersion
    link_test.go:378: [/home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -ldflags=-linkmode=internal -o /home/swarming/.swarming/w/ir/x/t/TestMachOBuildVersion4090300795/001/main /home/swarming/.swarming/w/ir/x/t/TestMachOBuildVersion4090300795/001/main.go]: exit status 1:
        go: error obtaining buildID for go tool link: fork/exec /home/swarming/.swarming/w/ir/x/w/goroot/pkg/tool/netbsd_arm/link: bad file descriptor
--- FAIL: TestMachOBuildVersion (268.03s)

watchflakes

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Dec 10, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/link" && test == "TestMachOBuildVersion"
2024-12-09 15:27 gotip-netbsd-arm go@e79b2e1e cmd/link.TestMachOBuildVersion (log)
=== RUN   TestMachOBuildVersion
=== PAUSE TestMachOBuildVersion
=== CONT  TestMachOBuildVersion
    link_test.go:378: [/home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -ldflags=-linkmode=internal -o /home/swarming/.swarming/w/ir/x/t/TestMachOBuildVersion4090300795/001/main /home/swarming/.swarming/w/ir/x/t/TestMachOBuildVersion4090300795/001/main.go]: exit status 1:
        go: error obtaining buildID for go tool link: fork/exec /home/swarming/.swarming/w/ir/x/w/goroot/pkg/tool/netbsd_arm/link: bad file descriptor
--- FAIL: TestMachOBuildVersion (268.03s)

watchflakes

@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Dec 10, 2024
@prattmic
Copy link
Member

prattmic commented Dec 11, 2024

Duplicate of #63444.

@cherrymui do you know why this didn't match the pattern on #63444? It looks like a match to me.

@prattmic prattmic closed this as not planned Won't fix, can't repro, duplicate, stale Dec 11, 2024
@cherrymui
Copy link
Member

Not sure. The log ~ matching seems not working as expected lately. Perhaps something changed on LUCI and watchflakes didn't pick the log correctly. I'll look into it.

@cherrymui
Copy link
Member

cherrymui commented Dec 12, 2024

Hmmm, the log field's content is the stderr, https://logs.chromium.org/logs/golang/buildbucket/cr-buildbucket/8729016585710363009/+/u/stderr?format=raw . I updated the pattern on #63444 (to include another match not from log) and it should match there now.

Perhaps watchflakes should have two fields, log matches the go tool dist test -json output (https://logs.chromium.org/logs/golang/buildbucket/cr-buildbucket/8729016585710363009/+/u/step/9/log/2) (I'm pretty sure it was the case some time ago), and a new stderr field that matches the stderr?

@cherrymui cherrymui removed this from Test Flakes Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
Development

No branches or pull requests

3 participants