Skip to content
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: reverse mac builder GOROOT issue #12633

Closed
bradfitz opened this issue Sep 15, 2015 · 2 comments
Closed

x/build: reverse mac builder GOROOT issue #12633

bradfitz opened this issue Sep 15, 2015 · 2 comments
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge
Milestone

Comments

@bradfitz
Copy link
Contributor

The Mac reverse buildlets are now saying:

Sep 15 22:35:55 farmer.c.symbolic-datum-552.internal coordinator[6215]: 2015/09/15 22:35:55 {darwin-amd64-10_10 a1aafdbe28645bd2161031636739f467e4f16ac9  } failed: runTests: distTestList: Remote
 error: exit status 2, go: cannot find GOROOT directory: /private/var/folders/9l/46n0b92j78n_zn7pq7r1xq800000gn/T/workdir/go
Sep 15 22:35:57 farmer.c.symbolic-datum-552.internal coordinator[6215]: 2015/09/15 22:35:57 {darwin-amd64-10_10 731bdc51157fd7f685fb73c298e97922318ac453  } failed: runTests: distTestList: Remote
 error: exit status 2, go: cannot find GOROOT directory: /private/var/folders/9l/46n0b92j78n_zn7pq7r1xq800000gn/T/workdir/go
Sep 15 22:35:57 farmer.c.symbolic-datum-552.internal coordinator[6215]: 2015/09/15 22:35:57 {darwin-amd64-10_10 211cdf1e004b35e817935537671f9577066800df  } failed: runTests: distTestList: Remote
 error: exit status 2, go: cannot find GOROOT directory: /private/var/folders/q8/bf_4b1ts2zj0l7b0p1dv36lr0000gp/T/workdir/go

Investigate, fix.

/cc @adg @crawshaw

@bradfitz bradfitz added the Builders x/build issues (builders, bots, dashboards) label Sep 15, 2015
@bradfitz bradfitz self-assigned this Sep 15, 2015
@bradfitz bradfitz added this to the Unplanned milestone Sep 15, 2015
@bradfitz
Copy link
Contributor Author

Oh, because of snapshots.

The GOROOT is baked into the binaries at one location, and then another machine runs tests and the GOROOT is wrong.

I remember hitting this with the Scaleway ARM builders too but eventually just sidestepped the issue by making the directory to always be /workdir.

I'll see if I can fix it better here.

@gopherbot
Copy link

CL https://golang.org/cl/14588 mentions this issue.

@golang golang locked and limited conversation to collaborators Sep 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge
Projects
None yet
Development

No branches or pull requests

2 participants