Repository navigation
ci: Tier 2 Linux builds once and shards the tests - #975
Merged
Merged
Conversation
Fails: validate.sh has no build/test stages, packing or ctest shards, and the workflow has no build job or shard matrix.
Builds are about 1 min of Tier 2; the ctest runs were 9.4 min. One job now builds ENABLE_RUST_LIBOBS=OFF and =ON (with the enforced OFF/ON export comparison, so a mismatch fails before any test), packs each tree without objects (42/50 MB zstd) and uploads it; 2x3 mode-by-shard jobs unpack it at the same path and run ctest -I <i>,,3. rust-linux-tier2-done publishes the lane proof once every shard passes. validate.sh gains OBS_TIER2_STAGE (all/build/test), OBS_TIER2_PACK and OBS_CTEST_SHARD; run.sh passes them through so a CI shard reproduces locally. zstd joins the package list for tar --zstd.
zackees
force-pushed
the
ci/937-tier2-fanout
branch
from
October 16, 2026 07:56
9fd7666 to
6694b43
Compare
zackees
marked this pull request as ready for review
October 16, 2026 07:56
Member
Author
|
Rebased onto master (now RED 62b7904, GREEN 6694b43); #967's commits dropped, since master has them squashed. The three jobs are rebuilt on master's current Tier 2 job: the stock Local check on this head (Docker harness): build stage OFF+ON, Because PR runs defer Tier 2, this PR's own CI won't run the new jobs. Their first real run is the master push after merge. |
This was referenced Oct 16, 2026
zackees
added a commit
that referenced
this pull request
Oct 16, 2026
* test: Tier 2 test stage needs no Rust toolchain (RED, Refs #1041) Fails: validate.sh reads rustc -V for every stage. * ci: Tier 2 test shards run without a Rust toolchain (Fixes #1041) validate.sh read rustc -V at the top for every stage, so every shard job of #975's first master run failed with 'rustc: command not found'. Only the build stage needs it (stale-build detection).
This was referenced Oct 16, 2026
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 #937. Part of #930.
Builds are about 1 min of Tier 2 Linux; the ctest runs were 9.4 min. So build once, then shard the tests:
rust-linux-tier2-build: builds OFF and ON natively, runs every check (ported objects, decklink/nvenc, ON/Debug staticlib, and the enforced OFF/ON export comparison, so a mismatch fails before any test runs), packs each build tree without*.o/*.a/cargo target, and uploadstier2-tree-OFF/-ON.rust-linux-tier2(mode × shard, 2×3): each job checks out, installs the packages, unpacks its tree at the samerunner.temppath, and runsctest -I <shard>,,3.rust-linux-tier2-done: publishes the tier2-linux lane proof once every shard passes.validate.sh:OBS_TIER2_STAGE(all/build/test; defaultall, so the local gate is unchanged),OBS_TIER2_PACK,OBS_CTEST_SHARD.run.shpasses them through (OBS_TIER2_PACK_DIR), so a CI shard reproduces locally.zstdjoinsapt-packages.txt(tar --zstd). A built-insoldr untaris requested in feat: soldr tar/untar (and zstd) subcommands for general .tar.zst archives, with timestamp handling on by default forge-ci/soldr#3790.RED 7772cf0:
ci/test_tier2_fanout.py, 7 failures.GREEN 9fd7666: 23/23 across the Tier 2 tests. Superseded workflow assertions were moved (split → fanout; native tests now read the build and test jobs).
Local end-to-end (Docker harness, host load 180–250):
IDENTICAL (1766 symbols); packed 42 MB (OFF) and 50 MB (ON).test_pipewire_wrapper,test_vlc_audio_track).zstd: not foundin the image, which is now fixed.Expected: build job about 3–4 min, then shards of about 1/3 of 4.7 min each (floor: the 83 s
test_deinterlace_2x_field_order), in parallel.