Skip to content

perf(ci): run the deinterlace test's five rates on two serial runners (#2072) - #2091

Merged
zackees merged 2 commits into
masterfrom
infra/2072-deinterlace-split
Oct 24, 2026
Merged

zackees merged 2 commits into
masterfrom
infra/2072-deinterlace-split

Conversation

@zackees

@zackees zackees commented Oct 24, 2026

Copy link
Copy Markdown
Member

Part of #2072 / #930. Follows #2077.

Why

After #2077 the serial job (test_deinterlace_2x_field_order alone, 146.6 s of ctest, job 4m03s) is the slowest Tier 2 test job; the suite job takes 2m43s.

What

  • test/cmocka/tests.d/test_deinterlace_2x_field_order.cmake registers the one executable as five ctest entries, test_deinterlace_2x_field_order_<rate> for 60i_into_60, 50i_into_50, 50i_into_60, 50i_into_30, 60i_into_50, each with CMOCKA_TEST_FILTER=*_<rate> (cmocka 2.0.2, the CI version, reads it). Each stays RUN_SERIAL; the timeout goes from 300 s for all to 120 s each. Every case name ends in its rate (#rate_name), and ci/test_deinterlace_schedule.py now checks that the rates used in main() are exactly the registered ones, so no case can silently drop out. The C test is unchanged.
  • serial-tests.py REGISTRY I/N takes every Nth serial test; validate.sh passes OBS_CTEST_SERIAL_SHARD; ci-runtime.py --part serial-<i>-of-<n> sets it.
  • Workflow: part: ["suite", "serial-1-of-2", "serial-2-of-2"] per mode (six test jobs instead of four).

Expected

Each serial runner runs 2-3 rates (about 30 s each plus one obs_startup per entry): about 60-90 s of ctest instead of 147 s, so the serial jobs finish with the suite job (about 2m45s) and the Tier 2 test stage drops by about 1.2 min. Two more runners per Tier 2 run. To be confirmed from this PR's run.

Tests

  • RED ee69425: test_deinterlace_schedule.py, test_tier2_concurrency.py, test_tier2_serial_part.py expect the five entries and the shards; 7 failures.
  • GREEN: all pass; ./lint passes.
  • Workflow-graph change: wait for PR CI Gate ✅ and check the six jobs' timings and test counts before queueing.

…#2072)

Each rate is its own RUN_SERIAL ctest entry (CMOCKA_TEST_FILTER), and the
serial part runs on two runners per mode. The C test is unchanged.
@zackees

zackees commented Oct 24, 2026

Copy link
Copy Markdown
Member Author

PR run: serial-1-of-2 ran 3 rates in 88.3 s, serial-2-of-2 2 rates in 59.0 s (before: one job, 146.6 s); suite 428 tests in 88-96 s. 3 + 2 = the 5 rate entries in both modes, all passed. Serial jobs now finish with the suite jobs.

@zackees
zackees added this pull request to the merge queue Oct 24, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 24, 2026
@zackees
zackees added this pull request to the merge queue Oct 24, 2026
Merged via the queue into master with commit bef88ca Oct 24, 2026
35 checks passed
@zackees
zackees deleted the infra/2072-deinterlace-split branch October 26, 2026 15:45
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