Not planned
Description
I spotted it's sometimes possible for a build to have steps with errors in the log, yet the exit code unexpectedly ended up being 0.
For example, in https://ci.chromium.org/b/8773129168948219089, unchecking "Hide Succeeded Steps" shows the "test golang.org/x/pkgsite module for android/amd64" build step as successful, yet clicking into its output log shows many cgo-related errors like:
# golang.org/x/pkgsite/devtools/cmd/csphash.test
loadinternal: cannot find runtime/cgo
It ends with "exiting with 0" as opposed to a non-zero exit code as usual (e.g., this failed step ends with "exiting with 1" as expected).
The problem may be directly in golangbuild itself or in one of the components it was invoking during that build step.
CC @golang/release, @mknyszek.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done
Relationships
Development
No branches or pull requests
Activity
dmitshur commentedon Aug 11, 2023
Looks like the bug is in an underlying component, the go command. I can reproduce on a Linux machine with:
I'll narrow it down a bit more and file a separate bug for cmd/go. Edit: Filed #62123.
dmitshur commentedon Aug 22, 2023
We discussed this and plan to let the fix land in the affected component. Nothing to do in golangbuild.