Skip to content

Phoenix CI: shard the test lanes in two and build the variants side by side - #2365

Merged
sbryngelson merged 1 commit into
MFlowCode:masterfrom
sbryngelson:ci-phoenix-shard
Nov 21, 2026
Merged

sbryngelson merged 1 commit into
MFlowCode:masterfrom
sbryngelson:ci-phoenix-shard

Conversation

@sbryngelson

@sbryngelson sbryngelson commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

Summary

With the compiler-version cache from #2357 alone, the Phoenix gpu-omp lane needed 3 h 18 min for the whole suite and gpu-acc reached test 905 of 958 before the SLURM limit (measurements on #2181). This PR keeps only what #2357 does not do: it shards the Phoenix test lanes and builds the variants side by side. No test is dropped, no tolerance changes, nothing is continue-on-error.

  1. .github/workflows/test.yml: Phoenix test lanes run as [1/2] and [2/2] (--shard, as on Frontier). Each shard builds its own binaries. One shared build is not possible: the compiler version string includes the host target (-tp skylake vs -tp sapphirerapids), so build slugs differ between nodes, and the Phoenix build starts clean to avoid SIGILL from binaries built on another CPU.
  2. .github/workflows/common/build.sh: on Phoenix, build the dependencies first, then the base, Chemistry and eos variants concurrently (as Frontier already does); the final full build sweeps whatever is left.

Measurements

Cache-only baseline (#2357, #2181 comment): gpu-omp 3 h 18 min whole suite; gpu-acc cut off at 905/958. Before the cache, no lane finished in 14 of 14 jobs: about 112 min of build (76 min compile, 36 min enumeration) and 23 min of enumeration before the first test.

This PR with the cache, measured on the earlier revision of this branch (run 44881849458, which carried the same cache):

Lane Node SLURM wall Test phase Result
gpu-acc [1/2] gpu-h200 2 h 23 min 92 min 478 pass, 1 fail
gpu-acc [2/2] gpu-h100 2 h 22 min 82 min 476 pass, 3 fail
gpu-omp [1/2] gpu-v100 1 h 58 min 63 min 478 pass, 1 fail
gpu-omp [2/2] gpu-v100 2 h 01 min 69 min 479 pass

Build phase about 50 min (dependencies 7 min; base 12, eos 18, Chemistry 36-39 min concurrently).

Failures seen there: 124D7972 (chemistry, tracked on #2181); and on H100 (acc) 301B9153, 07C33719, 09623DE3 (3D Cylindrical) exit with "ICFL is greater than 1.0" on three attempts, which passed on V100 (omp). The 13 moving-body IBM tests passed in all lanes.

Not changed: the two Case Opt Phoenix lanes fail with SIGILL in syscheck (built on a cpu-small node, run on a GPU node).

This PR was made with Claude Code (AI).

@sbryngelson sbryngelson added the ci:phoenix Run the Phoenix (NVHPC GPU) jobs on this PR; push after adding label Nov 21, 2026
@sbryngelson
sbryngelson marked this pull request as ready for review November 21, 2026 07:47
@sbryngelson
sbryngelson requested a review from a team as a code owner November 21, 2026 07:47
@sbryngelson
sbryngelson requested review from danieljvickers and removed request for a team November 21, 2026 07:47
@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Claude Code Review

Head SHA: bb4a9c8

Files changed:

  • 4
  • .github/workflows/common/build.sh
  • .github/workflows/test.yml
  • toolchain/mfc/build.py
  • toolchain/mfc/test_dependency_toolchain.py

Findings:
No issues found. Checked in step 4: toolchain/mfc/build.py and toolchain/mfc/test_dependency_toolchain.py. The .github/workflows/common/build.sh and .github/workflows/test.yml changes have no context files, so I reviewed only their diff hunks.

@codecov

codecov Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.77%. Comparing base (4264341) to head (9cabe59).
⚠️ Report is 14 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2365      +/-   ##
==========================================
+ Coverage   65.72%   65.77%   +0.04%     
==========================================
  Files         111      111              
  Lines       30549    30566      +17     
  Branches     4673     4677       +4     
==========================================
+ Hits        20079    20104      +25     
+ Misses       6699     6678      -21     
- Partials     3771     3784      +13     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sbryngelson sbryngelson changed the title CI: make the Phoenix test lanes finish within their time limit Phoenix CI: shard the test lanes in two and build the variants side by side Nov 21, 2026
@sbryngelson
sbryngelson merged commit e2f1642 into MFlowCode:master Nov 21, 2026
58 of 61 checks passed
@sbryngelson

Copy link
Copy Markdown
Member Author

Measured result of this change, from the Phoenix lanes of run 44917769724 on this PR's head (9cabe59d7, before #2380 was on master), GitHub Actions job start to completion (this includes any Slurm queue wait inside the job):

Lane Result Wall time
gpu-acc [1/2] 481 passed, 1 failed (124D7972, the known NVHPC 25.5 GPU difference, #2181) about 2 h 38 min
gpu-acc [2/2] success about 2 h 06 min
gpu-omp [1/2] 481 passed, 1 failed (124D7972) about 1 h 57 min
gpu-omp [2/2] success about 2 h 40 min
Case Opt gpu-acc success about 1 h 35 min
Case Opt gpu-omp success about 1 h 17 min

For comparison, across the 150 most recent Test Suite runs before the change (Nov 18 to 20) no Phoenix main test lane completed: 14 of 14 failed jobs hit the Slurm time limit (3.5 to 4.4 h) at about test 281 of 958 in the one log I read in detail (about 1 h 50 min of build, then about 58 s per test).

The Phoenix lanes can land on any of gpu-h200,gpu-h100,gpu-a100,gpu-v100 (the submit script uses the partition list), so the wall times above mix GPU generations. With #2380 merged, 124D7972 is skipped on NVHPC < 25.11 GPU builds, so these lanes should now be fully green.

AI-assisted (Claude Code).

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

Labels

ci:phoenix Run the Phoenix (NVHPC GPU) jobs on this PR; push after adding

Development

Successfully merging this pull request may close these issues.

1 participant