Commit 4c2f6a9c authored by Tomas Krizek's avatar Tomas Krizek Committed by Petr Špaček

job_manager: generate reports both with and without diffepro

parent 9c43f50c
Pipeline #38270 passed with stage
in 1 minute and 8 seconds
......@@ -4,8 +4,8 @@ set -o xtrace
JOBNAME=j$1.$2
# HACK (condor): ensure files for transfer exist to avoid held jobs
touch ${JOBNAME}_report.json
touch ${JOBNAME}_report.txt
touch ${JOBNAME}_report{,.diffrepro}.json
touch ${JOBNAME}_report{,.diffrepro}.txt
touch ${JOBNAME}_histogram.svg
# HACK (condor): Create proper dir structure
......@@ -76,5 +76,7 @@ time "{{ respdiff['srcdir'] }}/orchestrator.py" .
docker-compose stop # give lingering connections time to close
time "{{ respdiff['srcdir'] }}/msgdiff.py" -d ${JOBNAME}_report.json .
time "{{ respdiff['srcdir'] }}/diffrepro.py" -d ${JOBNAME}_report.json .
time "{{ respdiff['srcdir'] }}/diffsum.py" -d ${JOBNAME}_report.json . > ${JOBNAME}_report.txt
time "{{ respdiff['srcdir'] }}/diffsum.py" --without-diffrepro -d ${JOBNAME}_report.json . > ${JOBNAME}_report.txt
cp ${JOBNAME}_report{,.diffrepro}.json
time "{{ respdiff['srcdir'] }}/diffsum.py" -d ${JOBNAME}_report.diffrepro.json . > ${JOBNAME}_report.diffrepro.txt
time "{{ respdiff['srcdir'] }}/histogram.py" -o ${JOBNAME}_histogram.svg .
......@@ -52,7 +52,9 @@ def condor_submit(txn, priority: int) -> int:
'transfer_input_files': ', '.join(input_files),
'transfer_output_files': ', '.join([
'j$(Cluster).$(Process)_report.json',
'j$(Cluster).$(Process)_report.diffrepro.json',
'j$(Cluster).$(Process)_report.txt',
'j$(Cluster).$(Process)_report.diffrepro.txt',
'j$(Cluster).$(Process)_histogram.svg']),
})
return submit.queue(txn)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment