Skip to content

ci: Tier 2 Linux shards fail: rustc not found in the test stage #1041

Closed

Description

@zackees

Master push run 38871391393 (#975's first real run): rust-linux-tier2-build passed, but every shard job failed immediately:

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

validate.sh reads rustc -V at the top for every stage, but the shard jobs (OBS_TIER2_STAGE=test) run an unpacked tree and set up no Rust toolchain. Only the build stage needs it (stale-build detection). The local Docker check missed it because that image has rustup's rustc.

Fix: read rustc -V only when stage != test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions