You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected Behavior
On step failure, job is retried up to {option.retry} times
Actual Behavior
On step failure, job hangs in running status and never retried. Log files show something like: 2017-04-18 15:36:08,890 [quartzScheduler_Worker-7] ERROR grails.app.services.rundeck.services.ExecutionUtilService - Execution failed: 176985 in project Test_project: [Workflow result: , step failures: {1=Dispatch failed on 1 nodes: [failnode: NonZeroResultCode: Remote command failed with exit status 1]}, Node failures: {failnode=[NonZeroResultCode: Remote command failed with exit status 1]}, status: failed] 2017-04-18 15:36:08,923 [quartzScheduler_Worker-7] INFO grails.app.services.rundeck.services.ScheduledExecutionService - scheduling immediate job run: 42:test_hang_job 2017-04-18 15:36:08,927 [quartzScheduler_Worker-7] ERROR grails.app.jobs.rundeck.quartzjobs.ExecutionJob - Execution 176985 save result status: caught exception: caught exception while adding job: Unable to store Job : 'Test_project:test_hang_job:scheduled/test.42:test_hang_job', because one already exists with this identification.
How to reproduce Behavior
set up a job with:
Workflow: if a step fails - 'stop at failed step'
Strategy: Node First
Workflow step: Execute inline script
inline script is intended to fail on one of the nodes, ex.
if [ "$(uname -n)" == "failnode" ]; then exit 1; fi.
Nodes: Dispatch to nodes
Node filter is set to the one that will fail plus some that won't
Thread count: 1
If a node fails: Continue running on any remaining nodes before failing the step.
Schedule to run repeatedly: Yes, crontab, every minute
Enable Scheduling: yes
Enable Execution: yes
Multiple Executions: no
Retry: 2
When the job fails, it attempts to schedule immediate (the retry?) and then fails to save result status, thus leaving the job unfinished state in DB.
The text was updated successfully, but these errors were encountered:
Issue type: Bug report
Expected Behavior
On step failure, job is retried up to {option.retry} times
Actual Behavior
On step failure, job hangs in running status and never retried. Log files show something like:
2017-04-18 15:36:08,890 [quartzScheduler_Worker-7] ERROR grails.app.services.rundeck.services.ExecutionUtilService - Execution failed: 176985 in project Test_project: [Workflow result: , step failures: {1=Dispatch failed on 1 nodes: [failnode: NonZeroResultCode: Remote command failed with exit status 1]}, Node failures: {failnode=[NonZeroResultCode: Remote command failed with exit status 1]}, status: failed] 2017-04-18 15:36:08,923 [quartzScheduler_Worker-7] INFO grails.app.services.rundeck.services.ScheduledExecutionService - scheduling immediate job run: 42:test_hang_job 2017-04-18 15:36:08,927 [quartzScheduler_Worker-7] ERROR grails.app.jobs.rundeck.quartzjobs.ExecutionJob - Execution 176985 save result status: caught exception: caught exception while adding job: Unable to store Job : 'Test_project:test_hang_job:scheduled/test.42:test_hang_job', because one already exists with this identification.
How to reproduce Behavior
set up a job with:
Workflow: if a step fails - 'stop at failed step'
Strategy: Node First
Workflow step: Execute inline script
inline script is intended to fail on one of the nodes, ex.
if [ "$(uname -n)" == "failnode" ]; then exit 1; fi.
Nodes: Dispatch to nodes
Node filter is set to the one that will fail plus some that won't
Thread count: 1
If a node fails: Continue running on any remaining nodes before failing the step.
Schedule to run repeatedly: Yes, crontab, every minute
Enable Scheduling: yes
Enable Execution: yes
Multiple Executions: no
Retry: 2
When the job fails, it attempts to schedule immediate (the retry?) and then fails to save result status, thus leaving the job unfinished state in DB.
The text was updated successfully, but these errors were encountered: