Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Jobs now die with EXIT instead of ERR.
  • Loading branch information
matthewrmshin committed Mar 30, 2017
1 parent dd5d2c3 commit 72ba260
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/html/template/rose-bush/job-entry.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<a href="{{taskjobs_link}}&amp;job_status=failed"
class="label label-danger">
<i class="glyphicon glyphicon-remove-circle" title="failed"></i>
{% if entry.run_signal and entry.run_signal != "ERR" -%}
{% if entry.run_signal and entry.run_signal not in ["ERR", "EXIT"] -%}
{{entry.run_signal}}
{% endif -%}
</a>
Expand Down
10 changes: 5 additions & 5 deletions t/rose-bush/10-jobs-task-status.t
Original file line number Diff line number Diff line change
Expand Up @@ -91,21 +91,21 @@ rose_ws_json_greps "${TEST_KEY}.out" "${TEST_KEY}.out" \
"[('job_status',), None]" \
"[('entries', ${FOO1}, 'task_status',), 'succeeded']" \
"[('entries', ${FOO1}, 'run_status',), 1]" \
"[('entries', ${FOO1}, 'run_signal',), 'ERR']" \
"[('entries', ${FOO1}, 'run_signal',), 'EXIT']" \
"[('entries', ${FOO2}, 'task_status',), 'succeeded']" \
"[('entries', ${FOO2}, 'run_status',), 1]" \
"[('entries', ${FOO2}, 'run_signal',), 'ERR']" \
"[('entries', ${FOO2}, 'run_signal',), 'EXIT']" \
"[('entries', ${FOO3}, 'task_status',), 'succeeded']" \
"[('entries', ${FOO3}, 'run_status',), 0]" \
"[('entries', ${BAR1}, 'task_status',), 'failed']" \
"[('entries', ${BAR1}, 'run_status',), 1]" \
"[('entries', ${BAR1}, 'run_signal',), 'ERR']" \
"[('entries', ${BAR1}, 'run_signal',), 'EXIT']" \
"[('entries', ${BAR2}, 'task_status',), 'failed']" \
"[('entries', ${BAR2}, 'run_status',), 1]" \
"[('entries', ${BAR2}, 'run_signal',), 'ERR']" \
"[('entries', ${BAR2}, 'run_signal',), 'EXIT']" \
"[('entries', ${BAR3}, 'task_status',), 'failed']" \
"[('entries', ${BAR3}, 'run_status',), 1]" \
"[('entries', ${BAR3}, 'run_signal',), 'ERR']" \
"[('entries', ${BAR3}, 'run_signal',), 'EXIT']" \
"[('entries', ${BAZ1}, 'task_status',), 'succeeded']" \
"[('entries', ${BAZ1}, 'submit_status',), 1]" \
"[('entries', ${BAZ1}, 'run_status',), None]" \
Expand Down
2 changes: 1 addition & 1 deletion t/rose-task-run/30-app-arch-opt-source.t
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ file_grep "${TEST_KEY}-archive1-01" \
'CYLC_JOB_EXIT=SUCCEEDED' \
"${SUITE_RUN_DIR}/log/job/1/archive1/01/job.status"
file_grep "${TEST_KEY}-archive2-01" \
'CYLC_JOB_EXIT=ERR' \
'CYLC_JOB_EXIT=EXIT' \
"${SUITE_RUN_DIR}/log/job/1/archive2/01/job.status"
file_grep "${TEST_KEY}-archive2-02" \
'CYLC_JOB_EXIT=SUCCEEDED' \
Expand Down

0 comments on commit 72ba260

Please sign in to comment.