Skip to content

Commit

Permalink
Update failure messages with actual failure messages. Create new requ…
Browse files Browse the repository at this point in the history
…est pays test as the error message is different between GCPBatch and PAPI.
  • Loading branch information
dspeck1 committed Dec 20, 2024
1 parent 295dfd5 commit c317b28
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ metadata {
"calls.required_files.check_it.executionStatus": "Done"
"calls.required_files.do_it.executionStatus": "Failed"
"calls.required_files.do_it.retryableFailure": "false"
"calls.required_files.do_it.failures.0.message": ~~"Job failed due to task failure. Specifically, task with index 0 failed due to the following task event: \"Task state is updated from RUNNING to FAILED"
"calls.required_files.do_it.failures.0.message": ~~"failed"
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata {
workflowName: retry_same_memory_output_failure
status: Failed
"failures.0.message": "Workflow failed"
"failures.0.causedBy.0.message": ~~"exit code 1."
"failures.0.causedBy.0.message": ~~"failed"
"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"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: requester_pays_localization_negative
testFormat: workflowfailure
# Papiv2 backend configured SA does not have permission to bill the project, so this workflow should fail
backends: [Papiv2, GCPBATCH_ALT]
backends: [Papiv2]
workflowType: WDL
workflowTypeVersion: 1.0
tags: ["wdl_1.0"]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: requester_pays_localization_negative_gcpbatch
testFormat: workflowfailure
# GCP Batch backend configured SA does not have permission to bill the project, so this workflow should fail. Duplicate of PAPI test since different error message.
backends: [GCPBATCH_ALT]
workflowType: WDL
workflowTypeVersion: 1.0
tags: ["wdl_1.0"]

files {
workflow: requester_pays_gcs/localization.wdl
}

metadata {
workflowName: requester_pays_localization
status: Failed
"failures.0.message": "Workflow failed"
"failures.0.causedBy.0.message": "Actual value "Task requester_pays_localization.localize:NA:1 failed: vmEndTime" does not contain Job failed due to task failure. Specifically, task with index 0 failed due to the following task event: \"Task state is updated from RUNNING to FAILED"
}

0 comments on commit c317b28

Please sign in to comment.