Repository navigation
Try APT fallback mirrors sooner in Linux CI - #21198
Merged
Merged
Conversation
zanieb
enabled auto-merge (squash)
August 18, 2026 18:23
zanieb
added a commit
that referenced
this pull request
Aug 18, 2026
The ARMv7 development build can exhaust its fifteen-minute limit in `apt-get update` when the Azure Ubuntu mirror stalls. The main archive can serve the release metadata, but subsequent package-index downloads still try the preferred mirror. The fallback settings added in #21198 only apply to the separate Linux cargo-test runner. Apply the same zero-retry policy and ten-second HTTP connection and data timeouts before updating package indexes and installing the ARMv7 cross-compiler. Preserve the runner's mirror priorities and print the configured fallbacks. Other build jobs and runner selection are unchanged. Related to astral-sh#542. Co-authored-by: Zanie Blue <[email protected]>
baszalmstra
added a commit
to baszalmstra/rattler
that referenced
this pull request
Aug 19, 2026
run-on-arch.sh runs `sudo apt update -q -y` on the runner before it configures QEMU. When azure.archive.ubuntu.com goes bad, apt retries it before falling through to archive.ubuntu.com, then stalls mid download with nothing bounding the wait. Both jobs cancelled at the 30 minute cap in the last run died there, 20 minutes of silence after: 09:14:37 Ign:2 http://azure.archive.ubuntu.com/ubuntu noble InRelease 09:14:37 Hit:2 https://archive.ubuntu.com/ubuntu noble InRelease 09:14:38 Get:5 https://archive.ubuntu.com/ubuntu noble-security InRelease The container never started, so this is not architecture specific and has nothing to do with the apt inside the emulated rootfs. Retries 0 plus a 10 second timeout is what uv landed for the same stall in astral-sh/uv#21198. This makes apt fail fast rather than succeed, so a bad mirror still turns into a red job, just in a minute instead of thirty.
4 tasks done
Contributor
|
Upstream tracking issue: actions/runner-images#14594 |
This branch was previously deployed
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.
Linux CI is exhausting its ten-minute limit while installing
gnome-keyringfrom the EC2 Ubuntu mirror. APT retries transient download failures before trying another configured mirror, so those retries can consume the job before Cargo starts.Keep the runner's preferred mirror and existing fallbacks, but disable repeated download attempts and bound HTTP connection and data waits to ten seconds. Print the mirror list so future failures show which fallbacks were available. This only changes APT setup in the Linux cargo-test job.
Related to astral-sh#542.