cmd/go: race causes go mod download
to error with mkdir /go/pkg/mod..: no such file or directory
#30068
Labels
FrozenDueToAge
GoCommand
cmd/go
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?linux/amd64
What did you do?
We run builds in a docker container as part of CI. From a container with a fresh
git clone
of a project we run the following:or
These commands will download dependencies. Frequently (roughly 1 in 3 builds) these commands will fail with an error like one of the following.
Re-running the build will eventually fix the problem. The directory is different almost every time.
What did you expect to see?
I expected to see the
go: finding...
output, followed by a successful download or test run.What did you see instead?
The text was updated successfully, but these errors were encountered: