Skip to content

build: Retry obs-deps downloads so one timeout doesn't drop a platform - #619

Merged
zackees merged 2 commits into
masterfrom
ci/deps-download-retry
Oct 13, 2026
Merged

zackees merged 2 commits into
masterfrom
ci/deps-download-retry

Conversation

@zackees

@zackees zackees commented Oct 13, 2026

Copy link
Copy Markdown
Member

The 2026-10-13 daily beta shipped without Windows: release-rust run 38433764823, job Build windows, timed out once downloading windows-deps-2026-08-26-x86.zip, and CMake failed the configure. The release gate itself was green.

  • RED: ci/test_deps_download_retry.py runs the new _obs_download_dependency with cmake -P against file:// URLs (no network). A missing file is tried 3 times and then fails; a good file is downloaded once; a wrong hash fails without installing.
  • GREEN: cmake/common/buildspec_common.cmake downloads through _obs_download_dependency: 3 attempts, 10 s then 20 s apart. It no longer passes EXPECTED_HASH to file(DOWNLOAD), because on a failed transfer that raises its own configure error ("cannot compute hash on failed download"), which would fail the build even when a retry succeeds. The SHA256 is checked after the download instead.

ci-full is set so every platform configures through it.

One timeout on windows-deps-2026-08-26-x86.zip dropped Windows from the
2026-10-13 daily beta (release-rust run 38433764823).
_obs_download_dependency tries 3 times, 10 s then 20 s apart. It drops
file(DOWNLOAD EXPECTED_HASH), which raises its own configure error on a
failed transfer, and compares the SHA256 itself instead.

Local-Gate: v1 tree=cd02efe22f590355610a34b54a0dea335e7b923a secs=312 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run
Ci-Attestation: {"at":1791924484,"gate":"rust/all/fmt","host":"linux-x86_64","key":"47b1792f7b590230644bebcae04442e6d3dc10df501e183bbb64799ed280cd79","lane":"lint","parents":["93479897881486f8426a60000b6709ef7389454b"],"secs":16,"stamp":"271cb984a174c69cf957bc16bd55b066","tree":"cd02efe22f590355610a34b54a0dea335e7b923a","v":1,"via":"run"}
Ci-Attestation: {"at":1791924484,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"47b1792f7b590230644bebcae04442e6d3dc10df501e183bbb64799ed280cd79","lane":"lint","parents":["93479897881486f8426a60000b6709ef7389454b"],"secs":16,"stamp":"4e815b0ceaeeea111b6c430656164384","tree":"cd02efe22f590355610a34b54a0dea335e7b923a","v":1,"via":"run"}
Ci-Attestation: {"at":1791924484,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"5c8728497a25b1de78752f905b26597c913b4cc0294b662f55b3784bf7ee6a27","lane":"rust-test","parents":["93479897881486f8426a60000b6709ef7389454b"],"secs":81,"stamp":"50388dfa44c68bfa7d83a0c578c93af3","tree":"cd02efe22f590355610a34b54a0dea335e7b923a","v":1,"via":"run"}
Ci-Attestation: {"at":1791924484,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"5e3d4db15be5e44bb700441a59dfd0b4a567dc11906e057f11ba8cea38e93fe1","lane":"cross","parents":["93479897881486f8426a60000b6709ef7389454b"],"secs":63,"stamp":"91c30449d356914b58ebda6921dcb31b","tree":"cd02efe22f590355610a34b54a0dea335e7b923a","v":1,"via":"run"}
Ci-Attestation: {"at":1791924484,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"5e3d4db15be5e44bb700441a59dfd0b4a567dc11906e057f11ba8cea38e93fe1","lane":"cross","parents":["93479897881486f8426a60000b6709ef7389454b"],"secs":63,"stamp":"0ccef874494b394c732c3eb19f1eb150","tree":"cd02efe22f590355610a34b54a0dea335e7b923a","v":1,"via":"run"}
Ci-Attestation: {"at":1791924484,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"5e3d4db15be5e44bb700441a59dfd0b4a567dc11906e057f11ba8cea38e93fe1","lane":"cross","parents":["93479897881486f8426a60000b6709ef7389454b"],"secs":63,"stamp":"c86ffa129a60b158ac43d3ea5a35b7b0","tree":"cd02efe22f590355610a34b54a0dea335e7b923a","v":1,"via":"run"}
Ci-Attestation: {"at":1791924484,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"5e3d4db15be5e44bb700441a59dfd0b4a567dc11906e057f11ba8cea38e93fe1","lane":"cross","parents":["93479897881486f8426a60000b6709ef7389454b"],"secs":63,"stamp":"39b1e6a65e3b6b60b7ce8214b9882dbf","tree":"cd02efe22f590355610a34b54a0dea335e7b923a","v":1,"via":"run"}
Ci-Attestation: {"at":1791924484,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"5e3d4db15be5e44bb700441a59dfd0b4a567dc11906e057f11ba8cea38e93fe1","lane":"cross","parents":["93479897881486f8426a60000b6709ef7389454b"],"secs":63,"stamp":"10eacee18d872462f258a7a1aaeecd5f","tree":"cd02efe22f590355610a34b54a0dea335e7b923a","v":1,"via":"run"}
Ci-Attestation: {"at":1791924484,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"5e3d4db15be5e44bb700441a59dfd0b4a567dc11906e057f11ba8cea38e93fe1","lane":"cross","parents":["93479897881486f8426a60000b6709ef7389454b"],"secs":63,"stamp":"a2fcb2274824e2f3c58d7390606b7473","tree":"cd02efe22f590355610a34b54a0dea335e7b923a","v":1,"via":"run"}
Ci-Attestation: {"at":1791924484,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"dfa61ac84a4db5e2072d2115736da0ecd9e2a4ee50e8c98ece73e29a7a4e5d2d","lane":"tier2-linux","parents":["93479897881486f8426a60000b6709ef7389454b"],"secs":152,"stamp":"5a179ecb0087e27e59cbaffe73b8588f","tree":"cd02efe22f590355610a34b54a0dea335e7b923a","v":1,"via":"run"}
@zackees zackees added the ci-full Run every CI job on this PR, including the release-gating OBS app builds and Flatpak label Oct 13, 2026
@zackees
zackees merged commit 1461ba5 into master Oct 13, 2026
24 checks passed
@zackees
zackees deleted the ci/deps-download-retry branch October 26, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-full Run every CI job on this PR, including the release-gating OBS app builds and Flatpak

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant