Repository navigation
perf(ci): run the deinterlace test's five rates on two serial runners (#2072) - #2091
Merged
Merged
Conversation
…#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.
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. |
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Oct 24, 2026
3 of 4 tasks
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.
Part of #2072 / #930. Follows #2077.
Why
After #2077 the serial job (
test_deinterlace_2x_field_orderalone, 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.cmakeregisters 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 withCMOCKA_TEST_FILTER=*_<rate>(cmocka 2.0.2, the CI version, reads it). Each staysRUN_SERIAL; the timeout goes from 300 s for all to 120 s each. Every case name ends in its rate (#rate_name), andci/test_deinterlace_schedule.pynow checks that the rates used inmain()are exactly the registered ones, so no case can silently drop out. The C test is unchanged.serial-tests.py REGISTRY I/Ntakes every Nth serial test;validate.shpassesOBS_CTEST_SERIAL_SHARD;ci-runtime.py --part serial-<i>-of-<n>sets it.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
test_deinterlace_schedule.py,test_tier2_concurrency.py,test_tier2_serial_part.pyexpect the five entries and the shards; 7 failures../lintpasses.CI Gate ✅and check the six jobs' timings and test counts before queueing.