Repository navigation
ci: Tier 2 Linux shards start from the merged test timings - #1098
Merged
Merged
Conversation
zackees
enabled auto-merge
October 16, 2026 16:23
This was referenced Oct 16, 2026
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
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.
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, becausetest_async_delay_audio(59 s) andtest_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-costbefore 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./lintOK. Expected: slowest shard ~168 s → ~90 s; I'll measure on the first master run after merge.