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: update arm64 builders from jessie to stretch #34905

Closed
randall77 opened this issue Oct 14, 2019 · 5 comments
Closed

x/build: update arm64 builders from jessie to stretch #34905

randall77 opened this issue Oct 14, 2019 · 5 comments

Comments

@randall77
Copy link
Contributor

@randall77 randall77 commented Oct 14, 2019

We're currently running the jessie version of Debian on the arm64 trybots.

It looks like jessie is not supported on arm64. If I run apt-get update on a builder, I get an error like:

W: Failed to fetch http://ftp.debian.org/debian/dists/jessie/Release  Unable to find expected entry 'main/binary-arm64/Packages' in Release file (Wrong sources.list entry or malformed file)

There is indeed no such entry in that file. arm64 doesn't appear anywhere in it (nor does aarch64).
In contrast, replace jessie with stretch in that URL, and you do see arm64 support.

This page claims arm64 support, but I'm not sure it is correct given my troubles.

I don't know where we got this jessie version that does run on arm64. But since apt-get doesn't work, it's hard to load any new software onto the builders (I'm trying to rebuild the race detector, for which I need git and g++ loaded).

@bradfitz @mengzhuo

@gopherbot gopherbot added this to the Unreleased milestone Oct 14, 2019
@gopherbot gopherbot added the Builders label Oct 14, 2019
@bradfitz

This comment has been minimized.

Copy link
Member

@bradfitz bradfitz commented Oct 14, 2019

I just went to file this same bug. Thanks!

@mengzhuo

This comment has been minimized.

Copy link
Contributor

@mengzhuo mengzhuo commented Oct 15, 2019

FYI, I'm using Ubuntu bionic arm64 and it's doing fine.
Maybe we can contact Packet maintainer and ask them to rebuild the distro to jessie?

@bradfitz

This comment has been minimized.

Copy link
Member

@bradfitz bradfitz commented Oct 15, 2019

We're just docker. It's the container that's Jessie. Probably a one line upgrade.

@gopherbot

This comment has been minimized.

Copy link

@gopherbot gopherbot commented Oct 15, 2019

Change https://golang.org/cl/201080 mentions this issue: env/linux-arm64: update container image from Debian Jessie to Buster

@gopherbot

This comment has been minimized.

Copy link

@gopherbot gopherbot commented Oct 16, 2019

Change https://golang.org/cl/201459 mentions this issue: env/linux-arm64: add netbase for the /etc/services file

gopherbot pushed a commit to golang/build that referenced this issue Oct 16, 2019
The /etc/services file used to be elsewhere in Jessie. When we
upgraded to Buster we lost it and now need the netbase package.
We've had to do this for other builders we upgraded from Jessie but
I forgot.

Updates golang/go#34905

Change-Id: I24c4271839cc2c4a9556f88d7347b031bd3a29bb
Reviewed-on: https://go-review.googlesource.com/c/build/+/201459
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
codebien added a commit to codebien/build that referenced this issue Nov 13, 2019
Fixes golang/go#34905

Change-Id: Ib467d31b158b5ad3f4f993959fdf1a25ac91b8b1
Reviewed-on: https://go-review.googlesource.com/c/build/+/201080
Reviewed-by: Keith Randall <khr@golang.org>
codebien added a commit to codebien/build that referenced this issue Nov 13, 2019
The /etc/services file used to be elsewhere in Jessie. When we
upgraded to Buster we lost it and now need the netbase package.
We've had to do this for other builders we upgraded from Jessie but
I forgot.

Updates golang/go#34905

Change-Id: I24c4271839cc2c4a9556f88d7347b031bd3a29bb
Reviewed-on: https://go-review.googlesource.com/c/build/+/201459
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.