Repository navigation
Conversation
The valgrind step sent apt only to archive.ubuntu.com, so an outage on the runners' path to it failed every pull request before any check ran. The step now installs from cached packages, keyed on the runner image and the valgrind version, then from the runner's default mirror, then from archive.ubuntu.com, and fails with an infrastructure error naming all three when none works.
A download cut short by an outage leaves apt's root-owned partial directory, so the next source now clears it with sudo. A valgrind the runner image already has is used as is. The pinned version is set once, for the whole job.
Contributor
Author
|
Closing as a duplicate of #345, which fixes the same valgrind install failure. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The checks job installs valgrind for the instruction-count guard. The step rewrote the runner's apt sources to archive.ubuntu.com and used nothing else. During an outage on the runners' path to that archive, every pull request failed at this step before any check ran, and re-running did not help.
Changes
ImageOS,ImageVersion) and the valgrind version. Noble publishes one version,1:3.22.0-0ubuntu3, which is now pinned. The image is part of the key becauselibc6-dbgmust match the image'slibc6.dpkg -i, the same command a cache hit uses.valgrind source: ...with the source it used. When nothing works, it fails withinfrastructure: could not install valgrind .... The instruction-count guard still always runs and still fails when valgrind is missing.Verification
.debfiles to cache.