Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
respdiff
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
18
Issues
18
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Knot projects
respdiff
Commits
4c2f6a9c
Commit
4c2f6a9c
authored
Jul 26, 2018
by
Tomas Krizek
Committed by
Petr Špaček
Jul 31, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
job_manager: generate reports both with and without diffepro
parent
9c43f50c
Pipeline
#38270
passed with stage
in 1 minute and 8 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
contrib/job_manager/files/run_respdiff.sh.j2
contrib/job_manager/files/run_respdiff.sh.j2
+5
-3
contrib/job_manager/submit.py
contrib/job_manager/submit.py
+2
-0
No files found.
contrib/job_manager/files/run_respdiff.sh.j2
View file @
4c2f6a9c
...
...
@@ -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
.
contrib/job_manager/submit.py
View file @
4c2f6a9c
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment