Repository navigation
CI runs the ptest_* files that pass; the rest are listed with their reason - #958
Conversation
…eason 39 files in tests/parallel/ were named ptest_*, so nothing ran them and nothing could see that (#900). 14 run tests under pytest and pass at np 2 and np 4 on eddab70, and scripts/test.sh now runs them, after the test_* files, so that adding one does not move a test_* batch. scripts/check_test_coverage.py fails on a ptest_* file in neither place, and on an entry that no longer applies. The other 25 are listed there with why: 19 scripts with no test functions, one whose test is skipped unconditionally, 5 that fail or hang at a rank count CI's passes run. Three old scripts are brought up to date, none of which CI runs yet: - ptest_001a: setCoordinateDisc now needs `localized`. Before: TypeError. After: exit 0 at np 2 and 4. - ptest_003: evaluate returns (N,1,1). Before: ValueError. After: exit 0 at np 2 and 4. - ptest_0851: needs the residual strength #759 asks for, set as test_0851 sets it. Before: ValueError at the floor rule. After: it reaches its assertion and fails: "Cross_1: parallel peak 0.0064 vs serial 0.0142". That is listed in #900 and #956. Refs #900 Underworld development team with AI support from Claude Code
Adversarial review of #958Independent pass on the branch at 0171eef6, before this PR; fixes applied in e8e606b. Probes on hyperion in Findings
Attacks that failed
Issues
Merge conditions
Underworld development team with AI support from Claude Code |
Adversarial review of #958 at e8e606bAn independent pass on the laptop: serial only, with no MPI. Probes ran in two local worktrees: the branch, and development eddab70 (the branch's merge base). We also read the CI logs of runs 42172869834 (this PR) and 42095953261 (development eddab70). Must fix
Should fix
Notes
Attacks that failed
Issue verdicts
Not checked, and what the Linux server or CI should run
Underworld development team with AI support from Claude Code |
Shard 4 was cancelled at its cap before any ptest ran, and the appended files would have shared a batch with test_* files as soon as one more test_* file arrived. They now have their own arrays and mpirun loop on shard 2. 0864_seam and 0865 run at np 2 and are left out of the np 4 pass (#956), which adds them to CI's np 2 run: 16 files. ptest_jit_cache deletes the cache's files, and only main() isolated it: under pytest it emptied the user's real JIT cache. A module-scoped fixture now gives pytest a private directory, shown with a seeded XDG_CACHE_HOME whose files survive. check_test_coverage reads only the PTEST arrays, so a path in a comment or an echo no longer counts as run, and it fails if test.sh stops enumerating tests/parallel/test_*.py. test_partition_can_separate_the_two_sides_of_a_cut is removed: it could not fail. Refs #900 Underworld development team with AI support from Claude Code
|
Review addressed at 1258542.
Underworld development team with AI support from Claude Code |
|
Merged 37aa2a1 and pushed for fresh CI, now that #970 is in. Underworld development team with AI support from Claude Code |
CI now runs the 16
ptest_*files that pass under pytest (14 at both np 2 and np 4, 2 at np 2 only), and the coverage check fails on anyptest_*file not accounted for.What was wrong
39 files in
tests/parallel/are namedptest_*. CI's parallel phase enumeratestest_*.py, andcheck_test_coverage.pylooks only attests/test_*.py, so nothing ran them and nothing could see that (#900). They include pins the design notes cite.The fix
scripts/test.shlists them in their own arrays and runs them in their own mpirun loop on shard 2. Shard 4 is at its cap, and a separate loop moves notest_*batch boundary, whatever is added to either list.--full-parallelpass leaves them out.scripts/check_test_coverage.pyfails on aptest_*file in neither the arrays norDEFERRED_PTESTS, on a stale entry, and iftest.shstops enumeratingtests/parallel/test_*.py. Only the array bodies count as run.ptest_0763, whose one test is skipped unconditionally; and 3 that fail or hang (Fault pins ptest_0863, 0864, 0865 fail at np 4, back to at least 2026-10-29 #956, ptest_0844_reconnect hangs in parallel: a rank-dependent assert leaves its peers in a collective #961).ptest_jit_cache.pygets a private cache under pytest. Before, it deleted every file in the user's real JIT cache, because only itsmain()isolated it.test_0851sets it, which exposes a real failure,Cross_1: parallel peak 0.0064 vs serial 0.0142, and stays deferred.test_partition_can_separate_the_two_sides_of_a_cutcould not fail, and is removed.Shard 2 gains about 4 minutes here. Please read its time on this run.
Tests
scripts/test.sh --parallel-only --p 2 --shard 2/4: exit 0, 14, 21 and 27 passed in the three batches, 1 skipped. The np 4 loop has not been run in this final form.ptest_jit_cacheat np 2 with a seededXDG_CACHE_HOME: 5 passed, the seeded files survive.check_test_coverage.py: rc=1 on an unlisted file, a stale entry, a typo and a commented-out entry.Review records are in the comments: the first pass, then the integration session's.
Refs #900
Underworld development team with AI support from Claude Code