Repository navigation
ci: install valgrind from archive.ubuntu.com when the Azure mirror fails - #182
Merged
Merged
Conversation
The runners' Azure Ubuntu mirror stopped resolving, so apt could not download valgrind and Checks, tests and replay failed before any check ran. Point apt at archive.ubuntu.com directly and retry the install up to three times. apt still verifies the archive's signatures.
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 runners' Azure Ubuntu mirror (azure.archive.ubuntu.com) stopped resolving this afternoon. "Install valgrind" then failed with exit 100 and took "Checks, tests and replay" down before any check ran: #172's merge-group run and #179's rerun both failed this way.
Changes
The step now points apt at archive.ubuntu.com directly and retries the update and install up to three times. apt still verifies the archive's signatures, and the instruction-count guard still runs under callgrind as before.
Verification
Checked locally: the source rewrite on a copy of the runner's deb822 sources and mirror list, the no-match case under
bash -eo pipefail, and actionlint. This PR's own Checks job is the live test of the step.