Skip to content

perf(ci): run Tier 2's RUN_SERIAL tests on their own runner (#2071) - #2077

Merged
zackees merged 2 commits into
masterfrom
infra/2071-deinterlace-runner
Oct 24, 2026
Merged

zackees merged 2 commits into
masterfrom
infra/2071-deinterlace-runner

Conversation

@zackees

@zackees zackees commented Oct 24, 2026

Copy link
Copy Markdown
Member

Fixes #2071. Part of #2072 / #930.

What

test_deinterlace_2x_field_order is RUN_SERIAL (#1343, #1643). In merge-queue run 06:13 UTC 2026-10-24 it held the Tier 2 tests ON runner alone for 146 of the 238 s of ctest; the other 422 tests then took about 92 s.

Each Tier 2 Linux mode (OFF, ON) now runs as two jobs:

  • suite: every test except the RUN_SERIAL ones (ctest -E), -j8 as before;
  • serial: only the RUN_SERIAL tests (ctest -R), on a runner of their own, so they keep their isolation.

The serial set is read from the ctest registry (rust/tools/linux-validate/serial-tests.py), not hard-coded, and an empty set fails instead of passing with no tests. No C test, assertion or test property changes; local validate.sh runs without OBS_CTEST_PART still run everything.

Timing artifacts are now named per mode and part; rust-linux-tier2-done already merges several per mode (merge-costs.sh).

Expected

Tests jobs: about 75 s setup + 92 s ctest (suite) and 75 s + ~150 s (serial), in parallel, instead of 75 s + 238 s. About -1.5 min on the queue critical path, for two more runners per Tier 2 run. To be confirmed from this PR's run.

Tests

  • RED b5787ff: ci/test_tier2_serial_part.py, 4 of 5 fail (no serial-tests.py, no OBS_CTEST_PART, no --part, matrix has no part).
  • GREEN: the new test passes; ./lint passes (includes the updated test_tier2_ci_runtime.py, test_tier2_cost_freshness.py, test_tier2_fanout.py).
  • Workflow-graph change: wait for PR CI Gate ✅ and check the four Tier 2 test jobs' timings before queueing.

Each mode now runs two parts: the suite without the RUN_SERIAL tests, in
parallel, and those tests alone on a second runner. The deinterlace test
kept its isolation but held the runner alone for 146 of 238 s.
@zackees

zackees commented Oct 24, 2026

Copy link
Copy Markdown
Member Author

PR run 40073566086, ON: suite 424 tests in 91.4 s ctest (job 2m43s), serial 1 test (test_deinterlace_2x_field_order) 146.6 s (job 4m03s). OFF: 3m04s / 3m42s. Before: one job per mode of about 5.5 min (238 s ctest). Tier 2 test stage on the critical path: about 5.5 -> 4.1 min. (test_xshm_resolution_change is not registered in this tree, so the serial part is the deinterlace test alone.)

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.

perf(ci): run the serial deinterlace test on its own runner (146 of 238 s of Tier 2 ctest)

1 participant