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/cmd/gomote: push failed for gotip-linux-ppc64-power10 #66619

Closed
thanm opened this issue Mar 30, 2024 · 2 comments
Closed

x/build/cmd/gomote: push failed for gotip-linux-ppc64-power10 #66619

thanm opened this issue Mar 30, 2024 · 2 comments
Assignees
Labels
Builders x/build issues (builders, bots, dashboards) NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@thanm
Copy link
Contributor

thanm commented Mar 30, 2024

Go version

tip

Output of go env in your module/workspace:

I'm issuing the commands from linux/amd64. 

The gomote command is built from tip of x/build, e.g. 

$ go version `which gomote`
/w/go1/bin/gomote: devel go1.23-89f7805c2e Fri Mar 29 23:09:29 2024 +0000
$

What did you do?

Created a new ppc64 gomote and tried to push my Go tree to it:

$ gomote create gotip-linux-ppc64-power10
...
$ gomote run thanm-gotip-linux-ppc64-power10-0 ls /usr/bin/bash
... works properly
$ gomote push thanm-gotip-linux-ppc64-power10-0

What did you see happen?

Got this error

Pushing GOROOT "/w/zgo" to "thanm-gotip-linux-ppc64-power10-0"...

2024/03/30 14:25:33 installing go-bootstrap version in the working directory
Error running push: unable to add bootstrap version of Go to instance: rpc error: code = Internal desc = unable to download bootstrap Go

What did you expect to see?

Successful push

@gopherbot gopherbot added the Builders x/build issues (builders, bots, dashboards) label Mar 30, 2024
@gopherbot gopherbot added this to the Unreleased milestone Mar 30, 2024
@cagedmantis cagedmantis self-assigned this Apr 1, 2024
@cagedmantis cagedmantis added the NeedsFix The path to resolution is known, but the work has not been done. label Apr 1, 2024
@cagedmantis
Copy link
Contributor

I've reproduced this issue. The associated error from the buildlet is:
024/04/01 14:28:22 writetgz: failed to fetch tgz URL https://storage.googleapis.com/go-builder-data/gobootstrap-linux-ppc64-go1.21.0.tar.gz: status=403 Forbidden

The bootstrap version was never packaged and uploaded to the bucket. Gomote instances which run on LUCI have the bootstrap go version installed on them during the creation of the gomote instance. The fix here is to remove the installation of the bootstrap version of Go when a gomote push is issued.

@gopherbot
Copy link

Change https://go.dev/cl/574720 mentions this issue: cmd/gomote: disable adding the bootstrap version of Go for non LUCI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Builders x/build issues (builders, bots, dashboards) NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

3 participants