-
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.
PAPI better error message when localization/delocalization fails (#4718)
- Loading branch information
1 parent
73ad264
commit d16138a
Showing
4 changed files
with
63 additions
and
6 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
...n/resources/standardTestCases/input_localization/localize_file_larger_than_disk_space.wdl
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,27 @@ | ||
version 1.0 | ||
|
||
task localize_file { | ||
input { | ||
File input_file | ||
} | ||
command { | ||
cat "localizing file over 1 GB" | ||
} | ||
runtime { | ||
docker: "ubuntu:latest" | ||
disks: "local-disk 1 HDD" | ||
} | ||
output { | ||
String out = read_string(stdout()) | ||
} | ||
} | ||
|
||
workflow localize_file_larger_than_disk_space { | ||
File wf_input = "gs://cromwell_test_bucket/file_over_1_gb.txt" | ||
|
||
call localize_file { input: input_file = wf_input } | ||
|
||
output { | ||
String content = localize_file.out | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
centaur/src/main/resources/standardTestCases/localize_file_larger_than_disk_space.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,17 @@ | ||
name: localize_file_larger_than_disk_space | ||
testFormat: workflowfailure | ||
backends: [Papiv2] | ||
workflowType: WDL | ||
workflowTypeVersion: 1.0 | ||
tags: ["wdl_1.0"] | ||
|
||
files { | ||
workflow: input_localization/localize_file_larger_than_disk_space.wdl | ||
} | ||
|
||
metadata { | ||
workflowName: localize_file_larger_than_disk_space | ||
status: Failed | ||
"failures.0.message": "Workflow failed" | ||
"failures.0.causedBy.0.message": "Task localize_file_larger_than_disk_space.localize_file:NA:1 failed. The job was stopped before the command finished. PAPI error code 9. Please check the log file for more details: gs://cloud-cromwell-dev-self-cleaning/cromwell_execution/travis/localize_file_larger_than_disk_space/<<UUID>>/call-localize_file/localize_file.log." | ||
} |
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