-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: TestGoTestRaceInstallCgo fails on Darwin #13214
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
Comments
/cc @michaelmatloob @ianlancetaylor I'm seeing this on linux/amd64 as well. The hash it's expecting is the current commit and I think the hash it's finding is the commit I was on when I last ran all.bash. It looks like the archives in pkg/linux_amd64_race (or equivalent) aren't being updated by all.bash correctly. This is where I find the stale object header that the test is complaining about. |
Reproducer:
|
Feel free to submit if it looks OK. |
CL https://golang.org/cl/16837 mentions this issue. |
I had the same error building on linux/amd64. Applying https://golang.org/cl/16837 didn't help. I had to delete $GOROOT/pkg and rerun all.bash |
This didn't fix the issue for me. My reproducer above still fails on the second all.bash with
where f5722a8 is master^ and d54c356 is master. |
CL https://golang.org/cl/16845 mentions this issue. |
$ go version
go version devel +4255b78 Thu Nov 12 00:08:07 2015 +0000 darwin/amd64
$ uname -a
Darwin 0700077782A 15.0.0 Darwin Kernel Version 15.0.0: Sat Sep 19 15:53:46 PDT 2015; root:xnu-3247.10.11~1/RELEASE_X86_64 x86_64
--- FAIL: TestGoTestRaceInstallCgo (0.30s)
go_test.go:257: running testgo [tool -n cgo]
go_test.go:272: standard output:
go_test.go:273: /Users/rajanikanth.j/go/pkg/tool/darwin_amd64/cgo
FAIL
FAIL cmd/go 34.698s
The text was updated successfully, but these errors were encountered: