Skip to content

ci(appimage): retry slow mirrors, image builds and stock image pulls - #2284

Merged
zackees merged 2 commits into
masterfrom
infra/appimage-ci-robustness
Oct 25, 2026
Merged

zackees merged 2 commits into
masterfrom
infra/appimage-ci-robustness

Conversation

@zackees

@zackees zackees commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

Refs #2182

The AppImage builds once a day (the nightly release) plus tags and manual dispatches; it doesn't run on PRs or the merge queue. This keeps that one daily run from failing on the network. It adds no runs. The AppImage compiler cache is deliberately left at its budget: the nightly can build cold, and the cache budget goes to the merge queue.

What went wrong

  1. A slow AlmaLinux mirror served packages at under 1 kB/s ("Operation too slow") until "Build the glibc 2.28 image" hit its 20-minute timeout (run 40145813015).
  2. Docker Hub refused the almalinux:8 pull ("failed to resolve reference"), failing that test job (run 40131480584).

Changes

  • Dockerfile: dnf drops a mirror below 50 kB/s for 30 s, prefers the fastest, and retries each package. Both curl downloads retry (--retry-connrefused, since AlmaLinux 8's curl 7.61 has no --retry-all-errors), and rustup retries its downloads.
  • appimage.yaml: the image build gets a second attempt (20 min each, step 45 min; the second reuses finished layers). Each test job pulls its stock image with up to 5 tries and 15/30/45/60 s backoff before the scenarios.

Tests

  • RED 32aeecbf1: ci/test_appimage_network_retries.py fails (3 failures, 2 errors: no dnf tuning, no curl retries, no rustup retries, no image-build retry, no pull step). GREEN 9e6c22e3b (it also narrows the test's curl match to RUN/&& commands, so the comment "the curl tool" is not taken for a download).
  • All 68 ci/test_appimage*.py tests and ./lint pass.

Not verified with an extra AppImage dispatch, on purpose: the next nightly exercises the image build and the pulls.

@zackees
zackees force-pushed the infra/appimage-ci-robustness branch from 9e6c22e to c9fe5f1 Compare October 25, 2026 00:57
@zackees zackees changed the title ci(appimage): keep the compiler cache, and retry slow mirrors and image pulls (#2182) ci(appimage): retry slow mirrors, image builds and stock image pulls Oct 25, 2026
@zackees
zackees added this pull request to the merge queue Oct 25, 2026
@obs-rust-project-manager obs-rust-project-manager Bot moved this to In merge queue in obs-rust Multiview Oct 25, 2026
Merged via the queue into master with commit 14cba62 Oct 25, 2026
30 checks passed
@obs-rust-project-manager obs-rust-project-manager Bot moved this from In merge queue to Done in obs-rust Multiview Oct 25, 2026
@zackees
zackees deleted the infra/appimage-ci-robustness branch October 26, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant