Skip to content
Snippets Groups Projects
Commit dae0c666 authored by Andrea Coccaro's avatar Andrea Coccaro
Browse files

Merge branch 'check_ART-ref' into '21.1'

Add art-result code when references are missing

See merge request atlas/athena!16122

Former-commit-id: 6b715a6c9242ad95d616b20c678d2910e60a3e26
parents fdeb5d0f 44bb82cb
No related branches found
No related tags found
No related merge requests found
...@@ -37,11 +37,11 @@ grep REGTEST athena.log > athena.regtest ...@@ -37,11 +37,11 @@ grep REGTEST athena.log > athena.regtest
if [ -f ${REF_FOLDER}/athena.regtest ]; then if [ -f ${REF_FOLDER}/athena.regtest ]; then
echo $(date "+%FT%H:%M %Z")" Running regtest" echo $(date "+%FT%H:%M %Z")" Running regtest"
grep REGTEST athena.log > athena.regtest
timeout 1m regtest.pl --inputfile athena.regtest --reffile ${REF_FOLDER}/athena.regtest | tee regtest.log timeout 1m regtest.pl --inputfile athena.regtest --reffile ${REF_FOLDER}/athena.regtest | tee regtest.log
echo "art-result: ${PIPESTATUS[0]} RegTest" echo "art-result: ${PIPESTATUS[0]} RegTest"
else else
echo $(date "+%FT%H:%M %Z")" No reference athena.regtest found in ${REF_FOLDER}" echo $(date "+%FT%H:%M %Z")" No reference athena.regtest found in ${REF_FOLDER}"
echo "art-result: 5 RegTest"
fi fi
if [ -f ${REF_FOLDER}/expert-monitoring.root ]; then if [ -f ${REF_FOLDER}/expert-monitoring.root ]; then
...@@ -53,6 +53,8 @@ if [ -f ${REF_FOLDER}/expert-monitoring.root ]; then ...@@ -53,6 +53,8 @@ if [ -f ${REF_FOLDER}/expert-monitoring.root ]; then
echo "art-result: ${PIPESTATUS[0]} CheckCounts" echo "art-result: ${PIPESTATUS[0]} CheckCounts"
else else
echo $(date "+%FT%H:%M %Z")" No reference expert-monitoring.root found in ${REF_FOLDER}" echo $(date "+%FT%H:%M %Z")" No reference expert-monitoring.root found in ${REF_FOLDER}"
echo "art-result: 5 RootComp"
echo "art-result: 5 CheckCounts"
fi fi
if [ -f trig_cost.root ]; then if [ -f trig_cost.root ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment