Skip to content

Make the Python unit-test job fail when a test fails - #4236

Merged
ekluzek merged 2 commits into
ESCOMP:b4b-devfrom
Santoshkumarpuppala:python-tests-fail-on-failure
Sep 30, 2026
Merged

ekluzek merged 2 commits into
ESCOMP:b4b-devfrom
Santoshkumarpuppala:python-tests-fail-on-failure

Merge branch 'b4b-dev' into python-tests-fail-on-failure

667acf3
Select commit
Loading
Failed to load commit list.
Task list completed / task-list-completed Started 2026-10-01 17:04:13 ago

9 / 12 tasks completed

3 tasks still to be completed

Details

Required Tasks

Task Status
Stub test: failing exits 0 before this change and 1 after; passing exits 0. make utest with the failing stub: 0 before, 2 after. Completed
The CI command with today's checkout: collected 558 items / 8 errors, exit 0 before, 2 after. Completed
bin/git-fleximod update cime as written: cime at 92ae0fd (cime6.5.5), no other submodule checked out. Completed
cime plus the LFS .nc inputs (sha256-checked against the pointers): 602 collected, 5 deselected (below), 596 passed, 1 failed, the gswp3 test. With #4231's line applied, 597 passed, exit 0. Without the LFS inputs, 35 tests fail on pointer files. Completed
pylint 3.3.4 (10.00/10) and black 25.1.0 --check on run_ctsm_py_tests.py. Completed
Not run: the 5 tests that download from NEON (test_check_neon_time, test_get_neon, test_get_neon_false_site, test_check_neon_listing, test_check_neon_listing_misspelled). Incomplete
I have followed the CTSM contribution guidelines. Completed
The code in this PR branch builds with no errors. Not applicable: Python test runner and CI only; CTSM itself was not built. Incomplete
The code in this PR branch runs with no errors. Not ticked: one test fails until #4231 is merged (noted above). Briefly describe tested configuration(s): macOS arm64, pip venv as above. Incomplete
This either (a) does not change answers, (b) it only changes answers at roundoff level, or (c) I have performed a scientific evaluation of the answer changes. Which?: (a) Completed
I have reviewed relevant parts of the CLM documentation Tech Note or User's Guide to determine if anything needs to be changed or added. If it does, describe: Nothing under doc/ covers the Python test runner or this job. Completed
This PR either (a) does not create a need to update the documentation or (b) includes required documentation updates (see guidelines for contributing documentation). Which?: (a) Completed