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: ppc64le buildlet stuck dead after GCS failure #16246

Open
bradfitz opened this Issue Jul 1, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@bradfitz
Member

bradfitz commented Jul 1, 2016

The ppc64 buildlets run via a systemd unit that's:

[Unit]
Description=Go builder buildlet
After=network.target

[Install]
WantedBy=network-online.target

[Service]
Type=simple
ExecStartPre=/bin/sh -c 'cd /usr/local/bin; /usr/bin/curl -R -f -z buildlet-stage0 -o buildlet-stage0 https://storage.googleapis.com/go-builder-data/buildlet-stage0.linux-ppc64le && chmod +x buildlet-stage0'
ExecStart=/usr/local/bin/buildlet-stage0
Restart=always
RestartSec=2
StartLimitInterval=0

But I noticed that 1 of the 5 was always offline. Looking at the logs:

Jul 01 17:42:28 go-ppc64le-1 systemd[1]: buildlet.service: main process exited, code=exited, status=1/FAILURE
Jul 01 17:42:28 go-ppc64le-1 systemd[1]: Unit buildlet.service entered failed state.
Jul 01 17:42:30 go-ppc64le-1 sh[27020]: % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Jul 01 17:42:30 go-ppc64le-1 sh[27020]: Dload  Upload   Total   Spent    Left  Speed
Jul 01 17:42:30 go-ppc64le-1 sh[27020]: [155B blob data]
Jul 01 17:42:30 go-ppc64le-1 buildlet-stage0[27025]: 2016/07/01 17:42:30 error untarring /usr/local/go-bootstrap.tar.gz to /usr/local/go-bootstrap:
Jul 01 17:42:30 go-ppc64le-1 buildlet-stage0[27025]: gzip: stdin: not in gzip format
Jul 01 17:42:30 go-ppc64le-1 buildlet-stage0[27025]: tar: Child returned status 1
Jul 01 17:42:30 go-ppc64le-1 buildlet-stage0[27025]: tar: Error is not recoverable: exiting now
Jul 01 17:42:30 go-ppc64le-1 systemd[1]: buildlet.service: main process exited, code=exited, status=1/FAILURE
Jul 01 17:42:30 go-ppc64le-1 systemd[1]: Unit buildlet.service entered failed state.

Why isn't it a valid gzip?

# cat /usr/local/go-bootstrap.tar.gz
Service Unavailable

Ah.

That's bogus.

@bradfitz bradfitz added the Builders label Jul 1, 2016

@bradfitz bradfitz self-assigned this Jul 1, 2016

@quentinmit quentinmit added this to the Unreleased milestone Jul 20, 2016

@bradfitz bradfitz changed the title from x/build: ppc64 buildlet stuck dead after GCS failure to x/build: ppc64le buildlet stuck dead after GCS failure Oct 6, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment