Repository navigation
ci: a timed-out Tier 2 runtime delta install retries once after dpkg recovery - #5508
Merged
Merged
Conversation
vpacher
enabled auto-merge
November 23, 2026 10:39
…y, RED (Refs #5504) The Tier 2 tests job's runtime delta install failed at once when its 180 s bound stopped apt on a slow mirror (run 45113911635, attempt 4, exit 124). New cases: a timed-out install (124 or 137) runs dpkg --configure -a and retries once; a second timeout fails with the delta packages; other install errors neither recover nor retry. An update timeout still fails at once. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…y, GREEN (Fixes #5504) ci-runtime.py's prepared-runtime delta install runs dpkg --configure -a and retries once when the 180 s bound stops it (exit 124 or 137). The downloaded .debs stay in the archive mount, so the retry goes on from there. An update timeout and other errors still fail at once (#5249). docs/ci-tooling.md says so. Co-Authored-By: Claude Opus 5.5 <[email protected]>
vpacher
force-pushed
the
fix/5504-ci-runtime-apt
branch
from
November 23, 2026 10:48
b7e518d to
1427684
Compare
6 tasks
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.
Problem
PR 2 of 2 for #5504. With the same slow
archive.ubuntu.com, the Tier 2 tests job then failed inci-runtime.py: the prepared-runtime delta install stopped at its 180 s bound and the job failed at once (run 45113911635, attempt 4, #5142:RuntimeError: Runtime delta apt failed (exit 124)). #5249 bounded these commands to avoid long waits in an archive outage, and lets only an unavailable pin retry.Change
install_prepared_deltainrust/tools/linux-validate/ci-runtime.py:dpkg --configure -a(same bound) and is retried once. A timeout in the unpack leaves dpkg interrupted, which would fail the retry. The.debfiles that the first attempt downloaded stay in the archive mount, so the retry goes on from there.docs/ci-tooling.mddescribes the retry.Tests
test_a_timed_out_install_recovers_dpkg_and_retries_once(124 and 137): update, install,dpkg --configure -a, installtest_a_second_timeout_fails_with_the_delta_packages: 3 apt calls, 1 recovery, the error names exit 124 and the packagestest_other_install_failures_do_not_recover_or_retry(exit 100)test_other_failures_do_not_refreshtest_tier2_runtime_delta,test_tier2_ci_runtime,test_tier2_runtime_selection,test_tier2_runtime_packages,test_uv_runNo user-visible change, so no features ledger line. No workflow change. Tiers 1 to 4 do not apply (CI only).
Test cost: no Rust tests. The new cases use the existing mocked
commandand run in milliseconds.Fixes #5504
🤖 Generated with Claude Code