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
x/build/cmd/coordinator: clean build fails #20747
Comments
Working on a fix now. |
I don't understand what failure you're reporting. How can I reproduce? (Everything seems to build fine for me.) |
In a $GOPATH with no dependencies downloaded, |
I tried both:
Both (1) and (2) work. And I see no reason why (2) would ever fail, since it's in Docker and doesn't use your $GOPATH. |
Oh, and both (1) and (2) were with Go 1.8. Does it require tip? |
Let me see if I can reproduce. I can reproduce it currently in Travis CI using this file
|
(It fails on both Go 1.8 and tip in Travis CI) |
I wonder if it's your |
I can't reproduce my earlier attempts using Go tip. |
(That is, it works for me with both Go 1.8 and Go tip, without Travis) |
I was able to reproduce it with the following script on my Mac:
That prints the following error:
If that doesn't reproduce it, maybe Docker is caching an older, correct, image, on your machine. |
@cybrcodr just encountered this and came to the same conclusion: that my local Docker cache is just getting lucky. He writes:
$ git diff Dockerfile.0
diff --git a/cmd/coordinator/Dockerfile.0 b/cmd/coordinator/Dockerfile.0
index 986881e..a8e399b 100644
--- a/cmd/coordinator/Dockerfile.0
+++ b/cmd/coordinator/Dockerfile.0
@@ -13,6 +13,10 @@ RUN go get -d cloud.google.com/go/compute/metadata cloud.google.com/go/datastore
cd /go/src/cloud.google.com/go && \
git reset --hard cd0da878c66091060d2e7403abd62192b3e387e0
+RUN go get -d github.com/googleapis/gax-go && \
+ cd /go/src/github.com/googleapis/gax-go && \
+ git reset --hard e6c452d1a33fcea46ab9cfd3058ee858297ac13a
+
|
Ok - Hopefully the CL I submitted should fix this... |
Which CL? |
CL https://golang.org/cl/46395 mentions this issue. |
Ugh, I forgot the golang/go preamble. See linked. |
…dencies These builds don't come up cleanly in Travis CI. I'm not sure whether the build is failing normally. Fixes golang/go#20747 Change-Id: I74beeb7edbbe06c58f0cec75a652c724c02df4e3
…dencies These builds don't come up cleanly in Travis CI. I'm not sure whether the build is failing normally. Fixes golang/go#20747 Change-Id: I74beeb7edbbe06c58f0cec75a652c724c02df4e3
CL https://golang.org/cl/47971 mentions this issue. |
from https://travis-ci.org/kevinburke/build/builds/245548241:
The text was updated successfully, but these errors were encountered: