Open podtserkovskiy opened 2 weeks ago
Thanks for the report. For this to be actionable we'll need some way to reproduce the problem -- could you please share which go repo or package you are running this on. You mention that this problem is intermittent/flaky, does it happen on other machines?
could you please share which go repo or package you are running this on.
Unfortunately I can't share a specific example at the moment, because this code is not open sourced.
You mention that this problem is intermittent/flaky, does it happen on other machines?
Yes, I've seen it on several different machines.
I can keep looking into our build logs to find a pattern and create some example.
Repro code: https://github.com/podtserkovskiy/repro-golang-go-issue-67113 Repro command:
CGO_ENABLED=0 GO111MODULE=off GOARCH=amd64 GOEXPERIMENT=nocoverageredesign GOOS=darwin go list -e '-json=GoFiles,CgoFiles,HFiles,CFiles,CXXFiles,SFiles,EmbedFiles,CgoCFLAGS,CgoCPPFLAGS' -tags .
GOHOSTARCH='amd64'
GOHOSTOS='darwin'
I guess this may be kind of a race condition issue, but it seems like src/make.bash
doesn't offer an option to build go
command with -race
.
Go version
go1.22.2 darwin/amd64
Output of
go env
in your module/workspace:What did you do?
Ran
go list -e '-json=GoFiles,CgoFiles,HFiles,CFiles,CXXFiles,SFiles,EmbedFiles' -tags custom_tag
This is a flaky issue, rerun helps. However it's happening regularly.
What did you see happen?
What did you expect to see?
Normal json output