-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optional retry with more memory for all standard backends.
- Loading branch information
Showing
12 changed files
with
134 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
centaur/src/main/resources/standardTestCases/do_not_retry_rc0_tes.test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: do_not_retry_rc0_tes | ||
testFormat: workflowsuccess | ||
backends: [TES] | ||
|
||
files { | ||
workflow: retry_with_more_memory/do_not_retry_rc0.wdl | ||
options: retry_with_more_memory/retry_with_more_memory.options | ||
} | ||
|
||
metadata { | ||
workflowName: do_not_retry_rc0 | ||
status: Succeeded | ||
"calls.do_not_retry_rc0.imitate_oom_error.executionStatus": "Done" | ||
"calls.do_not_retry_rc0.imitate_oom_error.runtimeAttributes.memory": "1 GB" | ||
} |
15 changes: 15 additions & 0 deletions
15
centaur/src/main/resources/standardTestCases/do_not_retry_rc1_tes.test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: do_not_retry_rc1_tes | ||
testFormat: workflowsuccess | ||
backends: [TES] | ||
|
||
files { | ||
workflow: retry_with_more_memory/do_not_retry_rc1.wdl | ||
options: retry_with_more_memory/retry_with_more_memory.options | ||
} | ||
|
||
metadata { | ||
workflowName: do_not_retry_rc1 | ||
status: Succeeded | ||
"calls.do_not_retry_rc1.imitate_oom_error.executionStatus": "Done" | ||
"calls.do_not_retry_rc1.imitate_oom_error.runtimeAttributes.memory": "1 GB" | ||
} |
21 changes: 21 additions & 0 deletions
21
centaur/src/main/resources/standardTestCases/retry_same_memory_output_failure_tes.test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: retry_same_memory_output_failure_tes | ||
testFormat: workflowfailure | ||
backends: [TES] | ||
|
||
files { | ||
workflow: retry_with_more_memory/retry_same_memory_output_failure.wdl | ||
options: retry_with_more_memory/retry_with_more_memory.options | ||
} | ||
|
||
metadata { | ||
workflowName: retry_same_memory_output_failure | ||
status: Failed | ||
"failures.0.message": "Workflow failed" | ||
"failures.0.causedBy.0.message": ~~"Task retry_same_memory_output_failure.imitate_oom_error:NA:3 failed with SYSTEM_ERROR" | ||
"retry_same_memory_output_failure.imitate_oom_error.-1.1.executionStatus": "RetryableFailure" | ||
"retry_same_memory_output_failure.imitate_oom_error.-1.1.runtimeAttributes.memory": "1 GB" | ||
"retry_same_memory_output_failure.imitate_oom_error.-1.2.executionStatus": "RetryableFailure" | ||
"retry_same_memory_output_failure.imitate_oom_error.-1.2.runtimeAttributes.memory": "1 GB" | ||
"retry_same_memory_output_failure.imitate_oom_error.-1.3.executionStatus": "Failed" | ||
"retry_same_memory_output_failure.imitate_oom_error.-1.3.runtimeAttributes.memory": "1 GB" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,6 @@ task imitate_oom_error { | |
docker: "python:latest" | ||
memory: "1 GB" | ||
maxRetries: 2 | ||
backend: "Papiv2" | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,6 @@ task imitate_oom_error { | |
docker: "python:latest" | ||
memory: "1 GB" | ||
maxRetries: 2 | ||
backend: "Papiv2" | ||
} | ||
} | ||
|
||
|
19 changes: 19 additions & 0 deletions
19
centaur/src/main/resources/standardTestCases/retry_with_more_memory_no_wf_option_tes.test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: retry_with_more_memory_no_wf_option_tes | ||
testFormat: workflowfailure | ||
backends: [TES] | ||
|
||
files { | ||
workflow: retry_with_more_memory/retry_with_more_memory.wdl | ||
} | ||
|
||
metadata { | ||
workflowName: retry_with_more_memory | ||
status: Failed | ||
"failures.0.message": "Workflow failed" | ||
"retry_with_more_memory.imitate_oom_error.-1.1.executionStatus": "RetryableFailure" | ||
"retry_with_more_memory.imitate_oom_error.-1.1.runtimeAttributes.memory": "1 GB" | ||
"retry_with_more_memory.imitate_oom_error.-1.2.executionStatus": "RetryableFailure" | ||
"retry_with_more_memory.imitate_oom_error.-1.2.runtimeAttributes.memory": "1 GB" | ||
"retry_with_more_memory.imitate_oom_error.-1.3.executionStatus": "Failed" | ||
"retry_with_more_memory.imitate_oom_error.-1.3.runtimeAttributes.memory": "1 GB" | ||
} |
21 changes: 21 additions & 0 deletions
21
centaur/src/main/resources/standardTestCases/retry_with_more_memory_tes.test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: retry_with_more_memory_tes | ||
testFormat: workflowfailure | ||
backends: [TES] | ||
|
||
files { | ||
workflow: retry_with_more_memory/retry_with_more_memory.wdl | ||
options: retry_with_more_memory/retry_with_more_memory.options | ||
} | ||
|
||
metadata { | ||
workflowName: retry_with_more_memory | ||
status: Failed | ||
"failures.0.message": "Workflow failed" | ||
"failures.0.causedBy.0.message": "stderr for job `retry_with_more_memory.imitate_oom_error:NA:3` contained one of the `memory-retry-error-keys: [OutOfMemory,Killed]` specified in the Cromwell config. Job might have run out of memory." | ||
"retry_with_more_memory.imitate_oom_error.-1.1.executionStatus": "RetryableFailure" | ||
"retry_with_more_memory.imitate_oom_error.-1.1.runtimeAttributes.memory": "1 GB" | ||
"retry_with_more_memory.imitate_oom_error.-1.2.executionStatus": "RetryableFailure" | ||
"retry_with_more_memory.imitate_oom_error.-1.2.runtimeAttributes.memory": "1.1 GB" | ||
"retry_with_more_memory.imitate_oom_error.-1.3.executionStatus": "Failed" | ||
"retry_with_more_memory.imitate_oom_error.-1.3.runtimeAttributes.memory": "1.2100000000000002 GB" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters