Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modify report of test failures to clearly indicate when a test failed to compare because it did not run #2330

Closed
DeniseWorthen opened this issue Jun 20, 2024 · 0 comments · Fixed by #2335
Labels
enhancement New feature or request

Comments

@DeniseWorthen
Copy link
Collaborator

Description

In PR #2290, many tests were expected to fail comparison because of the code changes. Multiple tests however failed because they did not actually run. Since developers were expecting test failures, they were not alerted to the fact that the tests failed because of seg-faults. This leads to delays during the code commit process, since fixing this type of test failure requires debugging etc. This type of failure needs to be clearly differentiated from cases where the tests failed because the comparisons failed.

Secondly, looking at the failure in this PR for the cpld_control_gfsv17_intel case, the log reports

* TEST cpld_control_gfsv17_intel: FAILED: UNABLE TO COMPLETE COMPARISON
-- LOG: /scratch1/BMC/gmtb/Grant.Firl/ufs-weather-model-test/tests/logs/log_hera/run_cpld_control_gfsv17_intel.log

In fact, in this case, all the comparisons were made (and failed). The comparison was completed so the log message is misleading.

Solution

A test failure should clearly indicate why it failed.

Alternatives

Related to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant