Skip to content

TrigValSteering: Skip CountRefComp and MessageCount if athena crashes

Rafal Bielski requested to merge rbielski/athena:tvs-skip-checks-on-crash into master

Resolving a long-standing annoyance particularly affecting failing CI jobs. When athena step fails in tests enforcing the CountRefComp and MessageCount checks, their printout may get very long, which makes the actual athena errors difficult to find or even impossible in case of log truncation like in the CI log viewer. Add an option to skip certain CheckSteps (post-exec checks) if the ExecSteps (athena) fail, in order to avoid the long and irrelevant printouts. Apply this new option to CountRefComp and MessageCount.

A little bonus fix #1: Make MessageCount failure when no logs are found more informative.
A little bonus fix #2: Correct the log name setting for MessageCount in test_trig_data_newJO_build.py

Edited by Rafal Bielski

Merge request reports