Skip to content

ci: Tier 2 test shards run without a Rust toolchain - #1044

Merged
zackees merged 2 commits into
masterfrom
fix/tier2-shard-no-rustc
Oct 16, 2026
Merged

zackees merged 2 commits into
masterfrom
fix/tier2-shard-no-rustc

Conversation

@zackees

@zackees zackees commented Oct 16, 2026

Copy link
Copy Markdown
Member

Fixes #1041.

#975's first master run (38871391393): rust-linux-tier2-build passed (both modes, export comparison, trees uploaded), but all 6 shards failed at once:

rust/tools/linux-validate/validate.sh: line 87: rustc: command not found

Shards run OBS_TIER2_STAGE=test on an unpacked tree without soldr. Only the build stage needs rustc -V (stale-build detection), so it's read only when stage != test.

RED fc59096, GREEN 2e929a4; ci/ suite green.

Local repro of the CI condition (Tier 2 image with PATH stripped of any Rust toolchain, a fresh volume with only the unpacked OFF tree, shard 3/40): master gives rustc: command not found, exit 127; this branch gives 7/7 passed (incl. test_pipewire_screencast_shm, test_screencast_portal_teardown). My earlier local check missed it because the Docker image has rustup's rustc on PATH.

Fails: validate.sh reads rustc -V for every stage.
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).
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: Tier 2 Linux shards fail: rustc not found in the test stage

1 participant