Skip to content

ci: Install Tier 2 Packages retries on the next apt mirror (Fixes #5518) - #5519

Merged
rdoupe merged 2 commits into
masterfrom
ci/tier2-packages-rotate-mirror
Nov 23, 2026
Merged

rdoupe merged 2 commits into
masterfrom
ci/tier2-packages-rotate-mirror

Conversation

@rdoupe

@rdoupe rdoupe commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes #5518.

The Tier 2 Linux build's Install Tier 2 Packages 📦 retried its install on the mirror Install Git 📦 ended on. #5513 rotated mirrors only in Install Git 📦 and the runtime delta install. On 2026-11-23 the AWS runners' own mirror answered the bootstrap, then served the ~400 packages too slowly: attempt 1 hit its 300 s bound, and attempt 2 resumed on the same mirror until the step's 10-minute limit ended the job (merge-queue run 45187119925, PR run 45194364427).

Change

Evidence

The new cases run the step's real shell (and Install Git's) with mocked sudo/apt-get/dpkg:

  • RED, commit 991cfb0 on origin/master 15b15f2: uv run --no-project -m unittest discover -s ci -p test_tier2_apt_cache.py → FAILED (failures=4). test_install_git_keeps_its_mirror_order_for_the_package_step (no order kept) and test_tier2_install_uses_the_next_mirror_on_each_retry: with one failed install the retry ran at azure again instead of archive; with two it ran three times at archive instead of archive, kernel, azure.
  • GREEN, commit 833655404: the same command → OK. uv run --no-project -m unittest discover -s ci -p "test_tier2_*.py" → Ran 365 tests ... OK; ./lint → lane lint: ok.

🤖 Generated with Claude Code

rdoupe and others added 2 commits November 23, 2026 09:50
)

RED: Install Git keeps no mirror order, and the package step retries
on the mirror Install Git ended on (runs 45187119925, 45194364427).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Install Git keeps its mirror order in /etc/apt/ci-tier2-mirrors. Each
retry of the package install points the main source at the mirror after
the one Install Git ended on and refetches its index; the .debs already
downloaded stay. A slow mirror that answered the bootstrap no longer
holds the step until its 10-minute limit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ci-Attestation: {"at":1795445872,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["991cfb0cfe1d5f1b09472150125f3cd7569d69ef"],"secs":91,"stamp":"d97cb82e617be20db5b2ec217ee3762b","tree":"46b8d31678a075bcdacb8b0f210e5b9ef8945779","v":1,"via":"run"}
Ci-Attestation: {"at":1795445872,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["991cfb0cfe1d5f1b09472150125f3cd7569d69ef"],"secs":91,"stamp":"2867554a4d40cc801a9312c9878245d1","tree":"46b8d31678a075bcdacb8b0f210e5b9ef8945779","v":1,"via":"run"}
Ci-Attestation: {"at":1795445872,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["991cfb0cfe1d5f1b09472150125f3cd7569d69ef"],"secs":91,"stamp":"460e6992bd99a1ea1af15f3589598434","tree":"46b8d31678a075bcdacb8b0f210e5b9ef8945779","v":1,"via":"run"}
Ci-Attestation: {"at":1795445872,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["991cfb0cfe1d5f1b09472150125f3cd7569d69ef"],"secs":91,"stamp":"acc2c5f8efa71ed4a332491ffc04f704","tree":"46b8d31678a075bcdacb8b0f210e5b9ef8945779","v":1,"via":"run"}
Ci-Attestation: {"at":1795445779,"gate":"general/all/client-lint","host":"linux-x86_64","key":"351bddfac60eb8dc8538afaa665113b70a78fa9e216506fe6343f5e1c009133b","lane":"client-lint","parents":["991cfb0cfe1d5f1b09472150125f3cd7569d69ef"],"secs":10,"stamp":"692be3dbc0855bf3d4a7119be73f2267","tree":"46b8d31678a075bcdacb8b0f210e5b9ef8945779","v":1,"via":"run"}
Ci-Attestation: {"at":1795445872,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["991cfb0cfe1d5f1b09472150125f3cd7569d69ef"],"secs":91,"stamp":"e5a8a38ff8c6a5cc3425f8e2f17f469d","tree":"46b8d31678a075bcdacb8b0f210e5b9ef8945779","v":1,"via":"run"}
Ci-Attestation: {"at":1795445780,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"351bddfac60eb8dc8538afaa665113b70a78fa9e216506fe6343f5e1c009133b","lane":"client-lint","parents":["991cfb0cfe1d5f1b09472150125f3cd7569d69ef"],"secs":10,"stamp":"7fe659d2f3f14bb72a7cb5ccce1aa72d","tree":"46b8d31678a075bcdacb8b0f210e5b9ef8945779","v":1,"via":"run"}
Ci-Attestation: {"at":1795445780,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"351bddfac60eb8dc8538afaa665113b70a78fa9e216506fe6343f5e1c009133b","lane":"client-lint","parents":["991cfb0cfe1d5f1b09472150125f3cd7569d69ef"],"secs":10,"stamp":"0d119803665936bb58e7148af1e0c250","tree":"46b8d31678a075bcdacb8b0f210e5b9ef8945779","v":1,"via":"run"}
Ci-Attestation: {"at":1795445780,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"351bddfac60eb8dc8538afaa665113b70a78fa9e216506fe6343f5e1c009133b","lane":"client-lint","parents":["991cfb0cfe1d5f1b09472150125f3cd7569d69ef"],"secs":10,"stamp":"6775b9487aa5b904a60ed9ab499ea684","tree":"46b8d31678a075bcdacb8b0f210e5b9ef8945779","v":1,"via":"run"}
Ci-Attestation: {"at":1795445780,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"351bddfac60eb8dc8538afaa665113b70a78fa9e216506fe6343f5e1c009133b","lane":"client-lint","parents":["991cfb0cfe1d5f1b09472150125f3cd7569d69ef"],"secs":10,"stamp":"7efa2f02b63630df3d7f2baff75598ff","tree":"46b8d31678a075bcdacb8b0f210e5b9ef8945779","v":1,"via":"run"}
Ci-Attestation: {"at":1795445780,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"351bddfac60eb8dc8538afaa665113b70a78fa9e216506fe6343f5e1c009133b","lane":"client-lint","parents":["991cfb0cfe1d5f1b09472150125f3cd7569d69ef"],"secs":10,"stamp":"9ada09415c69565c3d70f02e8f5bedb2","tree":"46b8d31678a075bcdacb8b0f210e5b9ef8945779","v":1,"via":"run"}
Ci-Attestation: {"at":1795445780,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"351bddfac60eb8dc8538afaa665113b70a78fa9e216506fe6343f5e1c009133b","lane":"client-lint","parents":["991cfb0cfe1d5f1b09472150125f3cd7569d69ef"],"secs":10,"stamp":"eef2b19a9e8102562d56a17b70a39682","tree":"46b8d31678a075bcdacb8b0f210e5b9ef8945779","v":1,"via":"run"}
Ci-Attestation: {"at":1795445780,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"351bddfac60eb8dc8538afaa665113b70a78fa9e216506fe6343f5e1c009133b","lane":"client-lint","parents":["991cfb0cfe1d5f1b09472150125f3cd7569d69ef"],"secs":10,"stamp":"083714c009d05d9e92d930a3b556ac6e","tree":"46b8d31678a075bcdacb8b0f210e5b9ef8945779","v":1,"via":"run"}
Ci-Attestation: {"at":1795445780,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"351bddfac60eb8dc8538afaa665113b70a78fa9e216506fe6343f5e1c009133b","lane":"client-lint","parents":["991cfb0cfe1d5f1b09472150125f3cd7569d69ef"],"secs":10,"stamp":"239f57ef4736e1f3bb6aed98d6997c23","tree":"46b8d31678a075bcdacb8b0f210e5b9ef8945779","v":1,"via":"run"}
Ci-Attestation: {"at":1795445780,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"351bddfac60eb8dc8538afaa665113b70a78fa9e216506fe6343f5e1c009133b","lane":"client-lint","parents":["991cfb0cfe1d5f1b09472150125f3cd7569d69ef"],"secs":10,"stamp":"673b4ece590a86d4b987684053a48645","tree":"46b8d31678a075bcdacb8b0f210e5b9ef8945779","v":1,"via":"run"}
Ci-Attestation: {"at":1795445780,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"351bddfac60eb8dc8538afaa665113b70a78fa9e216506fe6343f5e1c009133b","lane":"client-lint","parents":["991cfb0cfe1d5f1b09472150125f3cd7569d69ef"],"secs":10,"stamp":"1a1cccb5fcdd1e0f9b605c1d64fb6768","tree":"46b8d31678a075bcdacb8b0f210e5b9ef8945779","v":1,"via":"run"}
Ci-Attestation: {"at":1795445779,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"351bddfac60eb8dc8538afaa665113b70a78fa9e216506fe6343f5e1c009133b","lane":"client-lint","parents":["991cfb0cfe1d5f1b09472150125f3cd7569d69ef"],"secs":10,"stamp":"a1c322c17a75967517e3cd762eaf536f","tree":"46b8d31678a075bcdacb8b0f210e5b9ef8945779","v":1,"via":"run"}
Ci-Attestation: {"at":1795445779,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"351bddfac60eb8dc8538afaa665113b70a78fa9e216506fe6343f5e1c009133b","lane":"client-lint","parents":["991cfb0cfe1d5f1b09472150125f3cd7569d69ef"],"secs":10,"stamp":"65659286231875fa8a27eca8a5a6c040","tree":"46b8d31678a075bcdacb8b0f210e5b9ef8945779","v":1,"via":"run"}
Ci-Attestation: {"at":1795446087,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"2005d6b3ea7edd046edd76863bcf8f54d7a2c4f0e865a86c74d49ad33cf28516","lane":"client-test-x86_64-unknown-linux-gnu","parents":["991cfb0cfe1d5f1b09472150125f3cd7569d69ef"],"secs":215,"stamp":"f11e123a87ba34b5d49e15a880dcde2c","tree":"46b8d31678a075bcdacb8b0f210e5b9ef8945779","v":1,"via":"run"}

Client-Checks: {"checks":{"base":"15b15f2dc090307c438cb8525cd5a6045144cd51","coverage":"all-tracked-applicable-files","diff":[".github/workflows/build-project.yaml","ci/test_tier2_apt_cache.py","docs/ci-tooling.md"],"head":"a59d8dfef2a2889e16cc6584c221b8b2df91d5d1","tools":{"orchestrator-python":"3.13.16 (main, Oct 14 2026, 01:04:01) [Clang 23.1.3 ]","schema-dependencies":"3.13.16 (main, Oct 14 2026, 01:04:01) [Clang 23.1.3 ]\n{'jsonschema': '4.26.0', 'json_source_map': '1.0.5'}","uv":"uv 0.13.5 (x86_64-unknown-linux-gnu)","xmllint":"xmllint: using libxml version 21504-GITv2.15.4\n   compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ICU ISO8859X Regexps Automata RelaxNG Schemas Schematron Modules Debug Zlib"},"tracked-digest":"b73b3b52258d5aa970c8032c2a47b96c1afcdeecee28f4eaee984fbe30358cd0","tree":"46b8d31678a075bcdacb8b0f210e5b9ef8945779"}}
@rdoupe
rdoupe requested a review from zackees as a code owner November 23, 2026 15:01
@rdoupe
rdoupe added this pull request to the merge queue Nov 23, 2026
Merged via the queue into master with commit f97bee2 Nov 23, 2026
46 checks passed
@rdoupe
rdoupe deleted the ci/tier2-packages-rotate-mirror branch November 23, 2026 16:14
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.

ci: Install Tier 2 Packages retries on the same slow apt mirror until the step's 10-minute limit

1 participant