Repository navigation
ci: run the macOS and Windows Tier 2 ctest suites in parallel (#2138) - #2145
Merged
Merged
Conversation
Member
Author
|
Windows Tier 2 on this PR, |
6 of 7 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.
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--repeatflake-hunting runs stay serial. Running locally without the variable defaults to 1, so local behavior is unchanged.ci/test_tier2_native_parallel.py(first commit) fails 3 assertions: neither step setsOBS_CTEST_JOBS, and the suite runs in validate.sh and validate.ps1 don't pass-j../lintis 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.