wire: wire: test flakes on Travis with "failed to cache compiled Go files"
Describe the bug
The Wire tests fail intermittently on Travis with an error like:
wire_test.go:96: go [list -e -json -compiled -test=false -export=false -deps=true -tags=wireinject -- example.com/foo]: exit status 1: go: finding github.com/google/go-cloud v0.2.0
go build runtime/internal/atomic: failed to cache compiled Go files
To Reproduce
This is an intermittent failure, but I’ve only seen it on Travis. Uncertain what the triggers are.
Expected behavior
Wire tests should pass.
/cc @vangent, who I believe hit this failure before, but I can’t find evidence of it.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 19 (1 by maintainers)
Commits related to this issue
- wire: serialize test execution We are seeing errors of the form "failed to cache compiled Go files" when running the tests on Travis. Hopefully this should reduce or eliminate the flakiness. Updates... — committed to zombiezen/go-cloud by zombiezen 6 years ago
- internal/wire: mark tests as parallelizable Upstream Go issue has been fixed in Go 1.13. I removed older versions of Go from the Travis build matrix. Fixes #66 — committed to zombiezen/wire by zombiezen 5 years ago
@bcmills with a clean ~/.cache/go-build: https://play.golang.org/p/ghOtMwBnGu7