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/racebuild: apt-get update problems on linux gomotes #54070

Closed
thanm opened this issue Jul 26, 2022 · 6 comments
Closed

x/build/cmd/racebuild: apt-get update problems on linux gomotes #54070

thanm opened this issue Jul 26, 2022 · 6 comments
Assignees
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@thanm
Copy link
Contributor

thanm commented Jul 26, 2022

What version of Go are you using (go version)?

Tip for Go, x/build

$ go version
go version devel go1.19-c847a2c9f0 Fri Jul 1 01:36:45 2022 +0000 linux/amd64

Does this issue reproduce with the latest release?

Yes.

What operating system and processor architecture are you using (go env)?

linux/amd64

What did you do?

Ran "racebuild" with tip Go and a recent LLVM commit, e.g.

go build .
./racebuild --goroot=/ssd2/ygo --rev=b6374437af39af66896da74a1dc1b8a0ece26bee --gorev=3e97294663d978bf8abb7acec7cc615ef2f1ea75
870 Steel Stock Rd, Clarksville, Tennessee 37040, United States

What did you expect to see?

Successful run.

What did you see instead?

Many of the linux-line systems targeted by racebuild run "apt" commands to download things like git onto the gomote, so as to use git to download the LLVM repo. These apt commands, e.g. things like this seem to be failing. Here is an example from a linux-arm64 gomote:

$ apt-get update
Get:1 http://security.debian.org/debian-security buster/updates InRelease [73.5 kB]
Get:2 http://deb.debian.org/debian buster InRelease [122 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]
Reading package lists...
E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
E: Repository 'http://deb.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
E: Repository 'http://deb.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldstable-updates'
$ echo $?
100
$

Not sure exactly what the issue is here, but it is impacting the ability to update race builders for most of the supported architectures (windows is not impacted, but lots of other os/arch combinations are).

@gopherbot gopherbot added the Builders x/build issues (builders, bots, dashboards) label Jul 26, 2022
@gopherbot gopherbot added this to the Unreleased milestone Jul 26, 2022
@thanm thanm added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Jul 26, 2022
@thanm
Copy link
Contributor Author

thanm commented Jul 26, 2022

@golang/release

@cagedmantis
Copy link
Contributor

The solution to this is updating our Debian builders more often. A quick fix may be to add the --allow-releaseinfo-change flag to the apt-get update command in racebuild.

@dmitshur dmitshur added this to Planned in Go Release Team Aug 2, 2022
@toothrot
Copy link
Contributor

toothrot commented Aug 2, 2022

We should consider updating to bullseye (current stable), which is supported by the Debian Security Team (rather than the LTS team) in #40561

@cagedmantis
Copy link
Contributor

I believe the builders in question have been updated to Debian Bullseye. Is there any additional work that needs to happen to close this issue?

@thanm
Copy link
Contributor Author

thanm commented Jan 4, 2023

No objections on my part.

@cagedmantis
Copy link
Contributor

Thanks @thanm. Apologies for this taking a bit longer than anticipated.

@golang golang locked and limited conversation to collaborators Jan 4, 2024
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 NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
Archived in project
Development

No branches or pull requests

4 participants