Ensure tests skipped due to associated compile failure get added to test_changes.list; group rt log failure messages by failure reason - #3313
Conversation
…odel into feature/rt-sh
|
@gspetro-NOAA Maybe I'm misunderstanding, but I consider The PR with a failed compile simply needs fixing before any testing should proceed. I'd like to see the RT log certainly spell this out much more boldly; it is easy to miss. But hiding a failed compile in the |
@DeniseWorthen I agree that the committed I think things are getting confused because the -b option is somewhat misleadingly named to imply that it only applies to baseline generation. Technically, running with the |
|
The messaging is definitely big part of the challenge. We've run into the issue in other PRs, where there were a lot of expected baseline changes and one/a few other little failures snuck through. PR #3130 comes to mind. As a result, I put in some CI that parses out which tests failed for what reasons, but it's combined with the warnings/remarks check and doesn't produce an actual failure (because sometimes we expect tests to fail). It could be improved, but it would probably be more useful to have the failure messaging in the logs so no one has to go looking for it. I will see about updating the logs to print failures category by category as the AI suggested... 🤔 |
I do agree that manually editing the rt.conf for failures is not ideal, and if that is the primary purpose here, I think that is OK as far as it goes. I would love to see better log messaging though. |
…odel into feature/rt-sh
…ommunity <ecc.platform@noaa.gov>
…mmunity <ecc.platform@noaa.gov>
…-community <ecc.platform@noaa.gov>
on-behalf-of @ufs-community <ecc.platform@noaa.gov>
on-behalf-of @ufs-community <ecc.platform@noaa.gov>
…munity <ecc.platform@noaa.gov>
on-behalf-of @ufs-community <ecc.platform@noaa.gov>
gspetro-NOAA
left a comment
There was a problem hiding this comment.
All tests passed successfully. Skipping Derecho due to ongoing maintenance and Acorn due to ongoing unavailability.

Commit Queue Requirements:
test_changes.listindicates which tests, if any, are changed by this PR. Committest_changes.list, even if it is empty.Description:
When a compile fails, the tests that are skipped are not added to
test_changes.list; this PR fixes that. Additionally, this PR renames the-boption to-s(for subset) because it can be used to run any subset of RTs formatted liketest_changes.list(e.g.,"test_name compiler"). The-boption implies that it can only be used to create a new baseline for a subset of tests in combination with the-coption.In addition to running the full RT suite, I tested this PR by:
UFSATM/fv3/atmos_cubed_sphere/model/fv_dynamics.F90with a line ("THIS_IS_AN_INTENTIONAL_COMPILATION_ERROR !!!") to cause a compile fail.nohup ./rt.sh -a epic -e -s run.list &with the followingrun.listfile:Only the datm test passed, which makes sense given the lack of active atm component. All of the other tests, plus
control_p8 intel(needed forcontrol_restart_p8 intel) appear intest_changes.list.UPDATES:
This PR also reworks rt.sh to group failed/skipped tests by failure/skip reason. For example, see:
RegressionTests_ursa_3313a.log.
Commit Message:
Priority:
Git Tracking
UFSWM:
Sub component Pull Requests:
UFSWM Blocking Dependencies:
Documentation:
Changes
Regression Test Changes (Please commit test_changes.list):
Input data Changes:
Library Changes/Upgrades:
Testing Log:
Testing Remarks: