Skip to content

Make check_logParser fail if logParser run fails in any way (e.g. exception thrown)

Spyros Argyropoulos requested to merge fixParser into master

Description of bug

Currently if the logParser fails the check_logParser CI job doesn't fail. This is because python scripts/logParser.py ... | tee ... always returns 0 because of the tee.

Changes introduced

Use correct variable to check return status of logParser.py

Tests

Before fix

Screenshot_2022-04-20_at_21.08.27

After fix

Screenshot_2022-04-21_at_13.22.39

See pipelines in this MR: https://gitlab.cern.ch/atlas-physics/pmg/mcjoboptions/-/jobs/21240292

Issues resolved

Closes #

Edited by Spyros Argyropoulos

Merge request reports