Skip to content

ci: Tier 2 Linux schedules slow tests first and runs 8 at a time (A3 of #930) #931

Closed

Description

@zackees

Part of #930.

Each Tier 2 ctest run (OFF and ON) takes about 285 s at -j4, but the tests add up to 660 s of work, so the ideal is about 165 s. The gap is scheduling: every CI container starts without CTestCostData.txt, so ctest doesn't know the slowest tests (test_deinterlace_2x_field_order 83 s, test_async_delay_audio 59 s RUN_SERIAL, test_startup_cycle_stress 48 s, …) and can start them last. Most of the slow tests are real-time media tests that wait rather than use CPU.

Plan:

  • validate.sh restores CTestCostData.txt per mode from the ccache directory (which CI already restores, and saves on master pushes) before ctest, and writes it back afterwards, so ctest starts the longest tests first. This maintains itself: no hand-kept list of slow tests.
  • Raise OBS_CTEST_JOBS in CI from 4 to 8. RUN_SERIAL tests stay serial.
  • A test in ci/ pins both.

Measure: the OFF and ON ctest times in the Tier 2 log, before and after.

Activity

  1. added
    infra
    on Oct 16, 2026
  2. zackees commented on Oct 16, 2026

    @zackees
    MemberAuthor

    Claiming: #931

    1. One PR: RED test in ci/, then the cost-data handoff in validate.sh and OBS_CTEST_JOBS: 8, measured locally with the tier2-linux lane first.
  3. self-assigned this
    on Oct 16, 2026
  4. added
    claimed
    on Oct 16, 2026
  5. github-actions commented on Oct 16, 2026

    @github-actions

    Claim bot: claimed by @zackees. It expires after 48 h (8 h on critical issues) without a progress comment here or a push, comment or review on a linked PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

claimedinfra

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions