Repository navigation
ci: install the cached .deb when a Tier 2 test mirror has superseded a pinned version (Fixes #5579) - #5581
Merged
Conversation
…hed .deb (Refs #5579) The build read a mirror that still listed pipewire-pulse 1.6.2-1ubuntu1.2 and took the .deb from the restored apt cache; the test container's mirror lists only the phased 1.3, so the exact pin fails every Tier 2 Linux lane (master push run 45405030842). The same cache is mounted in the test container. These cases fail until the delta install falls back to the cached .deb of the same version. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…Fixes #5579) When the one index refresh still misses an exact pin, swap each missing pin for the single cached .deb of that same version in the archive mount and install again. Nothing newer is ever substituted, the inventory check against the whole closure still runs, and a pin with no cached .deb of its version fails as before. Co-Authored-By: Claude Opus 5.5 <[email protected]> Ci-Attestation: {"at":1795528880,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["a1edc83dd14500100dc30f38f11156a94306ae51"],"secs":61,"stamp":"d20526e30fc0588e1cf0dbbab8107742","tree":"0abc58f8df99cedfe67521d22b5bd0daaf1baebc","v":1,"via":"run"} Ci-Attestation: {"at":1795528880,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["a1edc83dd14500100dc30f38f11156a94306ae51"],"secs":61,"stamp":"5a57edf8e58cbe9784443a4cf5d20bed","tree":"0abc58f8df99cedfe67521d22b5bd0daaf1baebc","v":1,"via":"run"} Ci-Attestation: {"at":1795528880,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["a1edc83dd14500100dc30f38f11156a94306ae51"],"secs":61,"stamp":"ec42176e9cd97cf499a4eea7738d7780","tree":"0abc58f8df99cedfe67521d22b5bd0daaf1baebc","v":1,"via":"run"} Ci-Attestation: {"at":1795528880,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["a1edc83dd14500100dc30f38f11156a94306ae51"],"secs":61,"stamp":"62ce325b58d0b0b11ad80ad14b7d252f","tree":"0abc58f8df99cedfe67521d22b5bd0daaf1baebc","v":1,"via":"run"} Ci-Attestation: {"at":1795528818,"gate":"general/all/client-lint","host":"linux-x86_64","key":"e60cb473528acd42509753409097df5e88026152d314b5fc77359001f46c66b3","lane":"client-lint","parents":["a1edc83dd14500100dc30f38f11156a94306ae51"],"secs":8,"stamp":"a663a3c9a42932b0ca2924852b67d6b4","tree":"0abc58f8df99cedfe67521d22b5bd0daaf1baebc","v":1,"via":"run"} Ci-Attestation: {"at":1795528880,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["a1edc83dd14500100dc30f38f11156a94306ae51"],"secs":61,"stamp":"9f9d5013c3ae0e607d20a63613cc4db3","tree":"0abc58f8df99cedfe67521d22b5bd0daaf1baebc","v":1,"via":"run"} Ci-Attestation: {"at":1795528818,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"e60cb473528acd42509753409097df5e88026152d314b5fc77359001f46c66b3","lane":"client-lint","parents":["a1edc83dd14500100dc30f38f11156a94306ae51"],"secs":8,"stamp":"6ddbc2a3eb54fd2148fb655d797c90e6","tree":"0abc58f8df99cedfe67521d22b5bd0daaf1baebc","v":1,"via":"run"} Ci-Attestation: {"at":1795528818,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"e60cb473528acd42509753409097df5e88026152d314b5fc77359001f46c66b3","lane":"client-lint","parents":["a1edc83dd14500100dc30f38f11156a94306ae51"],"secs":8,"stamp":"11434b72774a1d1b250b1813354f1b6f","tree":"0abc58f8df99cedfe67521d22b5bd0daaf1baebc","v":1,"via":"run"} Ci-Attestation: {"at":1795528818,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"e60cb473528acd42509753409097df5e88026152d314b5fc77359001f46c66b3","lane":"client-lint","parents":["a1edc83dd14500100dc30f38f11156a94306ae51"],"secs":8,"stamp":"410209e2980bf07874c25b8ed074ab40","tree":"0abc58f8df99cedfe67521d22b5bd0daaf1baebc","v":1,"via":"run"} Ci-Attestation: {"at":1795528818,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"e60cb473528acd42509753409097df5e88026152d314b5fc77359001f46c66b3","lane":"client-lint","parents":["a1edc83dd14500100dc30f38f11156a94306ae51"],"secs":8,"stamp":"66bdce572f4818b4157dc34c2472683f","tree":"0abc58f8df99cedfe67521d22b5bd0daaf1baebc","v":1,"via":"run"} Ci-Attestation: {"at":1795528818,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"e60cb473528acd42509753409097df5e88026152d314b5fc77359001f46c66b3","lane":"client-lint","parents":["a1edc83dd14500100dc30f38f11156a94306ae51"],"secs":8,"stamp":"1c550c9925ed4053b824b818c29e4646","tree":"0abc58f8df99cedfe67521d22b5bd0daaf1baebc","v":1,"via":"run"} Ci-Attestation: {"at":1795528818,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"e60cb473528acd42509753409097df5e88026152d314b5fc77359001f46c66b3","lane":"client-lint","parents":["a1edc83dd14500100dc30f38f11156a94306ae51"],"secs":8,"stamp":"763ef9ae09bdd0d5088731b2bf871725","tree":"0abc58f8df99cedfe67521d22b5bd0daaf1baebc","v":1,"via":"run"} Ci-Attestation: {"at":1795528818,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"e60cb473528acd42509753409097df5e88026152d314b5fc77359001f46c66b3","lane":"client-lint","parents":["a1edc83dd14500100dc30f38f11156a94306ae51"],"secs":8,"stamp":"7a1fb50dfdba94c99d4c2ac1c9de16ab","tree":"0abc58f8df99cedfe67521d22b5bd0daaf1baebc","v":1,"via":"run"} Ci-Attestation: {"at":1795528818,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"e60cb473528acd42509753409097df5e88026152d314b5fc77359001f46c66b3","lane":"client-lint","parents":["a1edc83dd14500100dc30f38f11156a94306ae51"],"secs":8,"stamp":"ffd9413c3c78af637ba51813b94933b9","tree":"0abc58f8df99cedfe67521d22b5bd0daaf1baebc","v":1,"via":"run"} Ci-Attestation: {"at":1795528818,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"e60cb473528acd42509753409097df5e88026152d314b5fc77359001f46c66b3","lane":"client-lint","parents":["a1edc83dd14500100dc30f38f11156a94306ae51"],"secs":8,"stamp":"e58c7e6258c993347d6161d66a07c632","tree":"0abc58f8df99cedfe67521d22b5bd0daaf1baebc","v":1,"via":"run"} Ci-Attestation: {"at":1795528818,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"e60cb473528acd42509753409097df5e88026152d314b5fc77359001f46c66b3","lane":"client-lint","parents":["a1edc83dd14500100dc30f38f11156a94306ae51"],"secs":8,"stamp":"3ce37a82182cd23aa105cbad9893e147","tree":"0abc58f8df99cedfe67521d22b5bd0daaf1baebc","v":1,"via":"run"} Ci-Attestation: {"at":1795528818,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"e60cb473528acd42509753409097df5e88026152d314b5fc77359001f46c66b3","lane":"client-lint","parents":["a1edc83dd14500100dc30f38f11156a94306ae51"],"secs":8,"stamp":"ef28f3f3228d36020fa10a55c5ffdf94","tree":"0abc58f8df99cedfe67521d22b5bd0daaf1baebc","v":1,"via":"run"} Ci-Attestation: {"at":1795528818,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"e60cb473528acd42509753409097df5e88026152d314b5fc77359001f46c66b3","lane":"client-lint","parents":["a1edc83dd14500100dc30f38f11156a94306ae51"],"secs":8,"stamp":"f822bc5f31aafefea5daf17da46bd1e2","tree":"0abc58f8df99cedfe67521d22b5bd0daaf1baebc","v":1,"via":"run"} Ci-Attestation: {"at":1795529143,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"82fc8d0bfaa50f0ffe2c5560393b5c9c7610b757ef13ab16005b1739fed3bc27","lane":"client-test-x86_64-unknown-linux-gnu","parents":["a1edc83dd14500100dc30f38f11156a94306ae51"],"secs":263,"stamp":"b601bed5cef7139eee96f1abf4296e2b","tree":"0abc58f8df99cedfe67521d22b5bd0daaf1baebc","v":1,"via":"run"} Client-Checks: {"checks":{"base":"57a4d1610378fb3741253c9a8db4b2c263b0f7bc","coverage":"all-tracked-applicable-files","diff":["ci/test_tier2_runtime_delta.py","rust/tools/linux-validate/ci-runtime.py"],"head":"e018ffec1b206b15ac0955dced6fbc3f63f4c67d","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":"340f5472aaf300a0b593d5c59f2ec30cbeca6d51a28024c4beb49e4152eae424","tree":"0abc58f8df99cedfe67521d22b5bd0daaf1baebc"}}
Collaborator
Author
|
CI is green (run 45410336663). Its build read a mirror that had synced by then and pinned pipewire 1.6.2-1ubuntu1.3, so these lanes didn't need the fallback, and master's next push should recover by itself. The fallback is shown by the unit cases and the real-apt container run in the body; it covers the next phased update that lands between a build and its test lanes. |
vpacher
added a commit
that referenced
this pull request
Nov 25, 2026
…m the snapshot before its supersession (RED, Refs #5578) Master push run 45400822340 failed every Tier 2 Linux job that installs the prepared-runtime delta. Ubuntu superseded pipewire-pulse 1.6.2-1ubuntu1.2 in resolute-updates at 11:07:08 UTC, while the build had resolved it against an index that had not synced yet (#5579). #5581 installs the cached .deb of that version from the restored apt cache. When the cache has no such .deb, these tests expect the delta to install the same exact pins with apt-get --snapshot one second before the earliest Launchpad supersession of the missing pins. The cached .deb is still tried first, and a failed Launchpad lookup fails with apt's error. Fails now: ci-runtime.py has no snapshot_before_supersession. Co-Authored-By: Claude Opus 5.5 <[email protected]>
vpacher
added a commit
that referenced
this pull request
Nov 25, 2026
…s from the Ubuntu snapshot before its supersession (Fixes #5578) When a pin is still missing after the refresh and #5581 finds no cached .deb of its exact version (for example, the build fetched it from a mirror that had not synced yet, and the archive cache was not restored), install_prepared_delta asks Launchpad when the missing pins were superseded and installs the same exact pins with apt-get --snapshot one second before the earliest one. apt checks the snapshot's signed InRelease; nothing newer is ever substituted. If Launchpad cannot be reached or has no supersession, the job fails with apt's own error. Checked by hand in ubuntu:26.04 (amd64) on the Azure mirror: --snapshot 20261124T110707Z (the ID Launchpad gives for the 11-24 supersession) resolves pipewire-pulse=1.6.2-1ubuntu1.2 and libc6=2.43-2ubuntu2.7. Co-Authored-By: Claude Opus 5.5 <[email protected]>
zackees
pushed a commit
to wesleyhawes/obs-studio
that referenced
this pull request
Nov 26, 2026
…apshot before its supersession (Fixes obs-rust#5578) (obs-rust#5580) * test: a superseded runtime delta pin with no cached .deb installs from the snapshot before its supersession (RED, Refs obs-rust#5578) Master push run 45400822340 failed every Tier 2 Linux job that installs the prepared-runtime delta. Ubuntu superseded pipewire-pulse 1.6.2-1ubuntu1.2 in resolute-updates at 11:07:08 UTC, while the build had resolved it against an index that had not synced yet (obs-rust#5579). obs-rust#5581 installs the cached .deb of that version from the restored apt cache. When the cache has no such .deb, these tests expect the delta to install the same exact pins with apt-get --snapshot one second before the earliest Launchpad supersession of the missing pins. The cached .deb is still tried first, and a failed Launchpad lookup fails with apt's error. Fails now: ci-runtime.py has no snapshot_before_supersession. Co-Authored-By: Claude Opus 5.5 <[email protected]> * ci: a superseded Tier 2 runtime delta pin with no cached .deb installs from the Ubuntu snapshot before its supersession (Fixes obs-rust#5578) When a pin is still missing after the refresh and obs-rust#5581 finds no cached .deb of its exact version (for example, the build fetched it from a mirror that had not synced yet, and the archive cache was not restored), install_prepared_delta asks Launchpad when the missing pins were superseded and installs the same exact pins with apt-get --snapshot one second before the earliest one. apt checks the snapshot's signed InRelease; nothing newer is ever substituted. If Launchpad cannot be reached or has no supersession, the job fails with apt's own error. Checked by hand in ubuntu:26.04 (amd64) on the Azure mirror: --snapshot 20261124T110707Z (the ID Launchpad gives for the 11-24 supersession) resolves pipewire-pulse=1.6.2-1ubuntu1.2 and libc6=2.43-2ubuntu2.7. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
Fixes #5579
What broke
Every Rust Tier 2 Linux test lane fails before any test runs, on master (push run 45405030842, all six test jobs; 45400822340 before it) and on PRs (#5577, run 45403737893):
Ubuntu published pipewire 1.6.2-1ubuntu1.3 to resolute-updates at 11:04 UTC as a phased update, which removes 1.2 from every index. The build job still installed 1.2 from the restored apt archive cache, using an index from a runner mirror that had not synced yet, so
runtime-packages.pypinned 1.2. The test container's index has no 1.2, the single refresh (#5249) can't help, and the lane fails.Fix
The test container mounts that same restored archive cache at
/var/cache/apt/archives. When the refresh still misses a pin,ci-runtime.pyswaps each missing pin for the single cached.debof that exact version (<name>_<version, ':' as %3a>_<arch>.deb) and installs again. It never substitutes a newer version, the inventory check against the whole closure still runs afterwards, and a missing pin with no cached.debof its version fails exactly as before. apt reports the pin without its arch (for 'pipewire-pulse'), so the match is on the bare package name.Evidence
RED (commit a1edc83, test only; GREEN is fab108b):
uv run --no-project -m unittest ci/test_tier2_runtime_delta.pyGREEN:
uv run --no-project -m unittest ci/test_tier2_runtime_delta.py ci/test_tier2_ci_runtime.py ci/test_tier2_runtime_selection.py→Ran 46 tests ... OK.End to end, with real apt: the Tier 2 base image (
ubuntu@sha256:f144425f…) with the prepared image's pipewire 1.2 set installed andpipewire-pulse_1.6.2-1ubuntu1.2_amd64.debin the mounted archive, driven throughinstall_packages(..., 'prepared', ...):The same container on master's code fails with
E: Version '1.6.2-1ubuntu1.2' for 'pipewire-pulse' was not found, as in the CI runs above.Trust: the cached
.debcomes from the job's own restoredactions/cacheentry, which only master, the seed workflow and the same PR's branch can write, and the test container already runs that PR's code../lintpasses.🤖 Generated with Claude Code