Open
Description
Go version
go version devel go1.24-368a9ec998 Tue Jan 14 14:54:07 2025 -0800 linux/arm64
Output of go env
in your module/workspace:
AR='ar'
CC='gcc'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_ENABLED='1'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
CXX='g++'
GCCGO='gccgo'
GO111MODULE=''
GOARCH='arm64'
GOARM64='v8.0'
GOAUTH='netrc'
GOBIN=''
GOCACHE='/home/myitcv/.cache/go-build'
GOCACHEPROG=''
GODEBUG=''
GOENV='/no-home/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFIPS140='off'
GOFLAGS=''
GOGCCFLAGS='-fPIC -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/.tmp/go-build1451863026=/tmp/go-build -gno-record-gcc-switches'
GOHOSTARCH='arm64'
GOHOSTOS='linux'
GOINSECURE=''
GOMOD='/dev/null'
GOMODCACHE='/home/myitcv/gostuff/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/myitcv/gostuff'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/home/myitcv/dev/go'
GOSUMDB='sum.golang.org'
GOTELEMETRY='local'
GOTELEMETRYDIR='/no-home/.config/go/telemetry'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/home/myitcv/dev/go/pkg/tool/linux_arm64'
GOVCS=''
GOVERSION='devel go1.24-368a9ec998 Tue Jan 14 14:54:07 2025 -0800'
GOWORK=''
PKG_CONFIG='pkg-config'
What did you do?
Testscript repro:
env GOPRIVATE=cuelang.org/go
go mod init mod.example
go get cuelang.org/go@master
What did you see happen?
> env GOPRIVATE=cuelang.org/go
> go mod init mod.example
[stderr]
go: creating new go.mod: module mod.example
> go get cuelang.org/go@master
[stderr]
go: cuelang.org/go@master: git fetch --unshallow -f origin in /home/myitcv/gostuff/pkg/mod/cache/vcs/d82383d43199d57840995f1c0a94e81eee5ed02e43dbba4468223292497673e2: exit status 1:
error: Could not read b5e1647ec470060133fd6f7f1913fd1c65f5f75c
fatal: Failed to traverse parents of commit 74a0c9d01e05b13cb15fa77371bbfb4461eccdff
error: remote did not send all necessary objects
[exit status 1]
FAIL: /tmp/testscript1710667514/repro.txtar/script.txtar:3: unexpected go command failure
What did you expect to see?
Passing test.
Also relevant:
$ git --version
git version 2.48.1.2.g757161efcc
Raising this on the back of seeing #71261 and the fix from @rsc which appears to be somewhat related.
Note that the server here is GerritHub.io.
Per https://issues.gerritcodereview.com/issues/384756627 it might be a server issue. But per #71261 I guess it might be a client expectation issue.