ESMCI / ESMCI/cime

Error message could be in simpler English for incorrect syntax in test names

Open
#4,449 2 comments 0 reactions 0 assignees View on GitHub
Low Priority
Dominant language
Python
Stars
174
Forks
225
Avg merge
1d 16h
Merged PRs (30d)
14

Description

`./create_test SMS_L10d_D_Mmpi-serial.CLM_USRDAT.I1PtClm51Bgc.izumi_nag.clm-default--clm-NEON-NIWO`
gave me this error:
```
Finished XML for test SMS_L10d_D_Mmpi-serial.CLM_USRDAT.I1PtClm51Bgc.izumi_nag.clm-default--clm-NEON-NIWO in 0.232909 seconds (FAIL). [COMPLETED 1 of 1]
Case dir: /scratch/cluster/slevis/SMS_L10d_D_Mmpi-serial.CLM_USRDAT.I1PtClm51Bgc.izumi_nag.clm-default--clm-NEON-NIWO.20230627_133512_wvaqn7
Errors were:
Test 'SMS_L10d_D_Mmpi-serial.CLM_USRDAT.I1PtClm51Bgc.izumi_nag.clm-default--clm-NEON-NIWO' failed in phase 'XML' with exception ''NoneType' object has no attribute 'group''
File "/fs/cgd/data0/slevis/git/add_xs_ground_ice_pr1787/cime/CIME/test_scheduler.py", line 1093, in _run_catch_exceptions
return run(test)
File "/fs/cgd/data0/slevis/git/add_xs_ground_ice_pr1787/cime/CIME/test_scheduler.py", line 885, in _xml_phase
opt = match.group(1)
```

For the test to work, @ekluzek and I discovered that we needed to replace L10d with Ld10 in the test name.

Relates to https://github.com/ESCOMP/CTSM/issues/2043

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.