File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,9 @@ test_single_wf()
5252 local memlimit=${O2DPG_TEST_WORKFLOW_MEMLIMIT: +--mem-limit ${O2DPG_TEST_WORKFLOW_MEMLIMIT} }
5353 ${O2DPG_ROOT} /MC/bin/o2_dpg_workflow_runner.py -f workflow.json --cpu-limit 8 -tt aod ${memlimit} >> ${LOG_FILE_WF} 2>&1
5454 ret_this=${?}
55- [[ " ${ret_this} " == " 0" ]] && { ${O2DPG_ROOT} /MC/bin/o2_dpg_workflow_runner.py -f workflow.json --cpu-limit 8 --target-labels QC ${memlimit} >> ${LOG_FILE_WF} 2>&1 ; ret_this_qc=${?} ; }
56- [[ " ${ret_this} " == " 0" ]] && { ${O2DPG_ROOT} /MC/bin/o2_dpg_workflow_runner.py -f workflow.json --cpu-limit 8 --target-labels Analysis ${memlimit} >> ${LOG_FILE_WF} 2>&1 ; ret_this_analysis=${?} ; }
55+ # use -k|--keep-going feature to not stop after the first failure but see, if there are more
56+ [[ " ${ret_this} " == " 0" ]] && { ${O2DPG_ROOT} /MC/bin/o2_dpg_workflow_runner.py -f workflow.json --cpu-limit 8 --target-labels QC ${memlimit} -k >> ${LOG_FILE_WF} 2>&1 ; ret_this_qc=${?} ; }
57+ [[ " ${ret_this} " == " 0" ]] && { ${O2DPG_ROOT} /MC/bin/o2_dpg_workflow_runner.py -f workflow.json --cpu-limit 8 --target-labels Analysis ${memlimit} -k >> ${LOG_FILE_WF} 2>&1 ; ret_this_analysis=${?} ; }
5758 ret_this=$(( ret_this + ret_this_qc + ret_this_analysis))
5859 [[ " ${ret_this} " != " 0" ]] && echo " [FATAL]: O2DPG_TEST Workflow execution failed" >> ${LOG_FILE_WF} || echo_green " -> PASSED"
5960 else
You can’t perform that action at this time.
0 commit comments