Skip to content

ci: Tier 2 Linux shards start from the merged test timings - #1098

Merged
zackees merged 2 commits into
masterfrom
ci/930-shards-read-costs
Oct 16, 2026
Merged

zackees merged 2 commits into
masterfrom
ci/930-shards-read-costs

Conversation

@zackees

@zackees zackees commented Oct 16, 2026

Copy link
Copy Markdown
Member

Refs #930 (fixes a gap in my #1061).

#1061 gave each shard an empty OBS_TIER2_COST_DIR, so shards wrote timings but never read them; without CTestCostData ctest doesn't start the longest tests first. Master run 38892442457: every shard had ~220–229 s of test time at -j4 (nproc=4), but ON 2/3 took 168 s and OFF 2/3 143 s vs 72–93 s for the others, because test_async_delay_audio (59 s) and test_vlc_audio_pacing (35 s) started as tests 81/86 and 86/86.

Shards now restore tier2-ctest-cost-* (what rust-linux-tier2-done merges on master) into .tier2-cost before ctest and write back there for the upload. This is also why A3 (more -j) wouldn't help: the runners have 4 cores and the slow shards are order-bound.

RED: ci/test_tier2_cost_freshness.py (1 error). GREEN: OK; ci/ suite and ./lint OK. Expected: slowest shard ~168 s → ~90 s; I'll measure on the first master run after merge.

@zackees
zackees enabled auto-merge October 16, 2026 16:23
@zackees
zackees added this pull request to the merge queue Oct 16, 2026
Merged via the queue into master with commit 4ab5ba8 Oct 16, 2026
20 checks passed
zackees added a commit that referenced this pull request Oct 17, 2026
The reactivation seek check is real-time playback; since #1098 orders the
longest tests first it started next to other real-time tests at -j4 and
flaked under CPU contention. Same treatment as test_async_delay_audio.

Fixes #1100
zackees added a commit to vpacher/obs-studio that referenced this pull request Oct 17, 2026
The reactivation seek check is real-time playback; since obs-rust#1098 orders the
longest tests first it started next to other real-time tests at -j4 and
flaked under CPU contention. Same treatment as test_async_delay_audio.

Fixes obs-rust#1100
@zackees
zackees deleted the ci/930-shards-read-costs 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

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant