Skip to content

Commit 8076a14

Browse files
Merge branch 'develop' into fix/derecho
2 parents c1a3007 + 118cff4 commit 8076a14

File tree

84 files changed

+4376
-3320
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+4376
-3320
lines changed

.cicd/scripts/post_test_results.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,13 @@ function post_test() {
4646

4747
git add tests/logs/RegressionTests_${machine,,}.log
4848
git status
49-
git commit -m "[AutoRT] ${machine} Job Completed.\n\n\n on-behalf-of @ufs-community <ecc.platform@noaa.gov>"
49+
50+
##Check regression test logs results
51+
if grep -q "Result: SUCCESS" ${UFS_MODEL_DIR}/tests/logs/RegressionTests_${machine,,}.log && grep -q "status=0" ${UFS_MODEL_DIR}/tests/logs/${machine,,}-status; then
52+
git commit -m "[AutoRT] ${machine} Job Completed Successfully.\n\n\n on-behalf-of @ufs-community <ecc.platform@noaa.gov>"
53+
else
54+
git commit --allow-empty -m "[AutoRT] ${machine} Job Failed! \n\n\n on-behalf-of @ufs-community <ecc.platform@noaa.gov>"
55+
fi
5056

5157
SSH_ORIGIN=$(curl --silent "https://api.github.com/repos/ufs-community/ufs-weather-model/pulls/${CHANGE_ID}" | jq -r '.head.repo.ssh_url')
5258
git remote -v | grep -w sshorigin > /dev/null 2>&1 && git remote remove sshorigin > /dev/null 2>&1

.cicd/scripts/wm_test.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,12 @@ if [[ ${WM_REGRESSION_TESTS} = true ]] ; then
134134

135135
cd ${workspace}
136136
find ${workspace}/tests/logs -ls
137-
echo "Pipeline Reqression Tests on ${UFS_PLATFORM} complete. status=${status}"
137+
###Fail case check if no test logs were completed move old file back.
138+
if [[ ! -f "tests/logs/RegressionTests_${UFS_PLATFORM}.log" && -f "tests/logs/RegressionTests_${UFS_PLATFORM}.log.orig" ]];then
139+
mv tests/logs/RegressionTests_${UFS_PLATFORM}.log.orig tests/logs/RegressionTests_${UFS_PLATFORM}.log
140+
fi
141+
142+
echo "Pipeline Reqression Tests on ${UFS_PLATFORM} complete. status=${status}" | tee ${workspace}/${UFS_PLATFORM}-status
138143
else
139144
echo "Pipeline Regression Tests on ${UFS_PLATFORM} (${machine}) skipped."
140145
echo "ExperimentName: null" > ${workspace}/wm_test_results-${UFS_PLATFORM}-${UFS_COMPILER}.txt

AQM

Submodule AQM updated from 0a8a9a4 to 5d19f59

CICE-interface/CICE

Submodule CICE updated 143 files

CICE-interface/cice_files.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ list(APPEND icepack_files
6969
CICE/icepack/columnphysics/icepack_itd.F90
7070
CICE/icepack/columnphysics/icepack_kinds.F90
7171
CICE/icepack/columnphysics/icepack_mechred.F90
72+
CICE/icepack/columnphysics/icepack_meltpond_sealvl.F90
7273
CICE/icepack/columnphysics/icepack_meltpond_lvl.F90
7374
CICE/icepack/columnphysics/icepack_meltpond_topo.F90
7475
CICE/icepack/columnphysics/icepack_mushy_physics.F90

FV3

Submodule FV3 updated from e5b040c to c8bb71e

MOM6-interface/MOM6

Submodule MOM6 updated 78 files

MOM6-interface/mom6_files.cmake

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,6 @@ list(APPEND mom6_src_files
299299
MOM6/src/ocean_data_assim/MOM_oda_driver.F90
300300
MOM6/src/ocean_data_assim/MOM_oda_incupd.F90
301301

302-
MOM6/config_src/external/GFDL_ocean_BGC/FMS_coupler_util.F90
303-
MOM6/config_src/external/GFDL_ocean_BGC/generic_tracer.F90
304-
MOM6/config_src/external/GFDL_ocean_BGC/generic_tracer_utils.F90
305302
MOM6/config_src/external/GFDL_ocean_BGC/MOM_generic_tracer.F90
306303
MOM6/config_src/external/ODA_hooks/kdtree.f90
307304
MOM6/config_src/external/ODA_hooks/ocean_da_core.F90
@@ -343,9 +340,11 @@ list(APPEND mom6_nuopc_src_files
343340
MOM6/config_src/drivers/unit_tests/test_MOM_string_functions.F90
344341
MOM6/config_src/drivers/unit_tests/test_MOM_EOS.F90
345342
MOM6/config_src/drivers/unit_tests/test_MOM_remapping.F90
343+
MOM6/config_src/drivers/unit_tests/test_numerical_testing_type.F90
344+
MOM6/config_src/drivers/unit_tests/test_reproducing_sum.F90
346345
MOM6/config_src/drivers/timing_tests/time_MOM_EOS.F90
347346
MOM6/config_src/drivers/timing_tests/time_MOM_remapping.F90
348-
MOM6/config_src/drivers/unit_tests/test_numerical_testing_type.F90
347+
MOM6/config_src/drivers/timing_tests/time_reproducing_sum.F90
349348
)
350349

351350
list(APPEND mom6_nuopc_src_files

0 commit comments

Comments
 (0)