Skip to content

Commit

Permalink
Add || true to continue on error in compare_maxmem_summary.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gartung committed Sep 20, 2024
1 parent 7fa3af3 commit 1086713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pr_testing/run-pr-comparisons
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ for WF in ${WORKFLOWS_TO_COMPARE//,/ }; do
$CMS_BOT_DIR/comparisons/compare-maxmem.py $WORKSPACE/data/PR-${PR_NUM}/$WF_DIR/maxmem_profile_${WF_NUMBER}.txt $WORKSPACE/data/$COMPARISON_RELEASE/$WF_DIR/maxmem_profile_${WF_NUMBER}.txt > $OUTPUT_DIR/${WF_NUMBER}.json 2> $OUTPUT_DIR/${WF_NUMBER}.err || true
fi
done
$CMS_BOT_DIR/comparisons/compare-maxmem-summary.py -i $OUTPUT_DIR -f '*.json' -F html -o $OUTPUT_DIR/index.html -u $JENKINS_ARTIFACTS_URL/$PR_BASELINE_DIR
$CMS_BOT_DIR/comparisons/compare-maxmem-summary.py -i $OUTPUT_DIR -f '*.json' -F html -o $OUTPUT_DIR/index.html -u $JENKINS_ARTIFACTS_URL/$PR_BASELINE_DIR || true
if grep "exceeds threshold" $OUTPUT_DIR/*.err 2>/dev/null; then
echo "MAXMEM_COMPARISON${TEST_FLAVOR_STR};OK,max memory used ${UC_TEST_FLAVOR} comparison,See results,/SDT/jenkins-artifacts/$COMP_UPLOAD_DIR/maxmem-comparison" >> ${RESULTS_FILE}
else
Expand Down

0 comments on commit 1086713

Please sign in to comment.