-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #746 from lanl/proc_leak_fix
Fix issues with leaking gdb processes and add to unit test
- Loading branch information
Showing
11 changed files
with
199 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This workflow is designed to fail on purpose, so that we can test that case |
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 @@ | ||
#!/usr/bin/env cwl-runner | ||
|
||
cwlVersion: v1.0 | ||
class: CommandLineTool | ||
baseCommand: cat | ||
stdout: cat.txt | ||
stderr: cat.err | ||
inputs: | ||
input_file: | ||
type: File | ||
inputBinding: | ||
position: 1 | ||
outputs: | ||
contents: | ||
type: stdout | ||
cat_stderr: | ||
type: stderr |
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,18 @@ | ||
#!/usr/bin/env cwl-runner | ||
|
||
cwlVersion: v1.0 | ||
class: CommandLineTool | ||
baseCommand: grep | ||
stdout: occur0.txt | ||
inputs: | ||
word: | ||
type: string | ||
inputBinding: | ||
position: 1 | ||
text_file: | ||
type: File | ||
inputBinding: | ||
position: 2 | ||
outputs: | ||
occur: | ||
type: stdout |
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,18 @@ | ||
#!/usr/bin/env cwl-runner | ||
|
||
cwlVersion: v1.0 | ||
class: CommandLineTool | ||
baseCommand: grep | ||
stdout: occur1.txt | ||
inputs: | ||
word: | ||
type: string | ||
inputBinding: | ||
position: 1 | ||
text_file: | ||
type: File | ||
inputBinding: | ||
position: 2 | ||
outputs: | ||
occur: | ||
type: stdout |
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,4 @@ | ||
input_file: lorem.txt | ||
word0: Vivamus | ||
word1: pulvinar | ||
tarball_fname: out.tgz |
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,49 @@ | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut ut metus urna. | ||
Morbi tortor libero, suscipit hendrerit lacus et, condimentum porta orci. | ||
Maecenas vulputate lectus lorem, ac eleifend massa consectetur finibus. Integer | ||
vitae sem sit amet quam pharetra consectetur vel vel augue. Vivamus finibus | ||
metus mauris, sed ultricies purus placerat id. Vivamus eget auctor dui. Cras | ||
viverra rutrum neque, eu imperdiet ante sagittis ac. Donec iaculis, lacus sit | ||
amet mollis viverra, ipsum tortor luctus metus, sit amet dignissim orci massa | ||
non lectus. Nullam vitae dui placerat, condimentum nibh eget, dignissim erat. | ||
Phasellus gravida pretium facilisis. Phasellus pharetra mattis risus nec | ||
imperdiet. | ||
|
||
Fusce facilisis finibus dolor. Nunc et posuere ante. Praesent blandit | ||
vestibulum egestas. Maecenas auctor nulla maximus tortor condimentum luctus. | ||
Orci varius natoque penatibus et magnis dis parturient montes, nascetur | ||
ridiculus mus. Quisque scelerisque turpis sed aliquet blandit. Praesent eget | ||
lobortis urna. Ut aliquam enim sit amet est ornare, sit amet viverra est | ||
tempus. Nunc blandit sollicitudin enim vel cursus. Fusce sit amet tincidunt | ||
eros. Nulla iaculis, est vitae consectetur imperdiet, ante urna aliquam libero, | ||
id vehicula tortor justo a dolor. Vestibulum id faucibus nisi, nec vehicula | ||
lacus. | ||
|
||
Duis feugiat consequat quam eu lobortis. Aliquam erat volutpat. Integer egestas | ||
justo sit amet dui malesuada ullamcorper. Quisque tincidunt lacinia purus, id | ||
facilisis risus convallis id. Fusce ex ligula, consectetur ac dui sed, blandit | ||
suscipit diam. Vivamus sit amet porta dui, nec faucibus arcu. Phasellus et | ||
mauris eu elit molestie pulvinar eget ut orci. Quisque quam est, varius vitae | ||
tristique luctus, tincidunt non lectus. Donec luctus molestie ex. Morbi dui | ||
arcu, rhoncus volutpat felis ut, ultricies vestibulum ligula. Ut metus ex, | ||
mollis eget lacus sed, venenatis aliquam purus. Aenean id imperdiet tortor. | ||
|
||
Phasellus mollis vulputate libero. In erat sapien, tempor nec libero ac, tempor | ||
lacinia velit. Curabitur vehicula, arcu eu mollis ultricies, ex ex rutrum | ||
risus, id accumsan eros lectus at velit. In sem erat, sagittis pulvinar porta | ||
et, pulvinar nec ligula. Ut rhoncus lorem vulputate aliquet cursus. Cras | ||
efficitur erat posuere, faucibus mi et, tincidunt quam. Suspendisse eleifend ac | ||
justo ac fermentum. Nulla in lorem nec neque lacinia pharetra. Donec eget elit | ||
id magna mollis interdum. Vivamus pellentesque diam volutpat sollicitudin | ||
mattis. Interdum et malesuada fames ac ante ipsum primis in faucibus. Nulla | ||
aliquam tellus porta sem venenatis imperdiet. Nunc pretium lorem sit amet ipsum | ||
aliquam, sed dapibus turpis consequat. | ||
|
||
Aliquam elementum rhoncus placerat. Praesent augue urna, euismod sit amet | ||
dignissim nec, ultricies nec dui. Vestibulum ante ipsum primis in faucibus orci | ||
luctus et ultrices posuere cubilia curae; Nulla lobortis tincidunt leo. | ||
Maecenas finibus quam mauris, a molestie nisi sodales id. Morbi mollis, libero | ||
id tristique ultrices, purus leo faucibus lectus, in consectetur justo eros ut | ||
risus. Integer aliquam fermentum elit, id lacinia turpis tempus et. Donec vitae | ||
sem lobortis eros vulputate blandit nec vel leo. Nullam posuere aliquet dui non | ||
mattis. |
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,24 @@ | ||
#!/usr/bin/env cwl-runner | ||
|
||
cwlVersion: v1.0 | ||
class: CommandLineTool | ||
baseCommand: tar-not-a-real-command-for-failure | ||
inputs: | ||
tarball_fname: | ||
type: string | ||
inputBinding: | ||
position: 1 | ||
prefix: -cf | ||
file0: | ||
type: File | ||
inputBinding: | ||
position: 2 | ||
file1: | ||
type: File | ||
inputBinding: | ||
position: 3 | ||
outputs: | ||
tarball: | ||
type: File | ||
outputBinding: | ||
glob: $(inputs.tarball_fname) |
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,43 @@ | ||
#!/usr/bin/env cwl-runner | ||
|
||
cwlVersion: v1.0 | ||
class: Workflow | ||
inputs: | ||
input_file: File | ||
word0: string | ||
word1: string | ||
tarball_fname: string | ||
|
||
outputs: | ||
tarball: | ||
type: File | ||
outputSource: tar/tarball | ||
cat_stderr: | ||
type: File | ||
outputSource: cat/cat_stderr | ||
|
||
steps: | ||
cat: | ||
run: cat.cwl | ||
in: | ||
input_file: input_file | ||
out: [contents, cat_stderr] | ||
grep0: | ||
run: grep0.cwl | ||
in: | ||
word: word0 | ||
text_file: cat/contents | ||
out: [occur] | ||
grep1: | ||
run: grep1.cwl | ||
in: | ||
word: word1 | ||
text_file: cat/contents | ||
out: [occur] | ||
tar: | ||
run: tar.cwl | ||
in: | ||
file0: grep0/occur | ||
file1: grep1/occur | ||
tarball_fname: tarball_fname | ||
out: [tarball] |
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