Skip to content

ci: run the macOS and Windows Tier 2 ctest suites in parallel (#2138) - #2145

Merged
zackees merged 2 commits into
masterfrom
perf/2138-parallel-tier2-suites
Oct 24, 2026
Merged

zackees merged 2 commits into
masterfrom
perf/2138-parallel-tier2-suites

Conversation

@zackees

@zackees zackees commented Oct 24, 2026

Copy link
Copy Markdown
Member

Refs #2138

Each of the four unchanged ctest suites on macOS and Windows Tier 2 ran serially: about 8 min of macOS's 13 min job and 5.7 of Windows's 12.5, the critical path of the merge queue. The suites now run with ctest -j $OBS_CTEST_JOBS, as Linux already does: 3 on macOS, 4 on Windows. Tests that must not overlap already carry RUN_SERIAL or RESOURCE_LOCK, and ctest honors those on every platform. The --repeat flake-hunting runs stay serial. Running locally without the variable defaults to 1, so local behavior is unchanged.

  • RED: ci/test_tier2_native_parallel.py (first commit) fails 3 assertions: neither step sets OBS_CTEST_JOBS, and the suite runs in validate.sh and validate.ps1 don't pass -j.
  • GREEN: the test passes; ./lint is ok.

This PR's own CI exercises it: the change touches the workflow, so the macOS and Windows Tier 2 lanes run here. I'll compare their suite times with the 10:50 UTC queue run. If a test turns out to be timing-sensitive on these runners, it gets RUN_SERIAL rather than serializing the whole suite.

Fixes only option 2. Options 1 and 3 stay on #2138.

@zackees

zackees commented Oct 24, 2026

Copy link
Copy Markdown
Member Author

Windows Tier 2 on this PR, -j 4: OFF 24.9 s, ON 20.3 s, Cargo reference 20.5 s, Cargo core 20.2 s; all 226 tests pass in each suite. The 10:50 UTC queue run took 88 + 85 + 86 + 84 s, so the suites drop from about 5.7 min to about 1.4 min. This PR's paths don't select the macOS lane; it runs on the master push after merge, and I'll check its times there.

@zackees
zackees added this pull request to the merge queue Oct 24, 2026
Merged via the queue into master with commit 4248404 Oct 24, 2026
30 checks passed
@zackees
zackees deleted the perf/2138-parallel-tier2-suites 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