Skip to content

Commit 522fcc3

Browse files
committed
Added exit code 140
1 parent 0a732cf commit 522fcc3

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1818
- [#673](https://github.com/nf-core/eager/pull/673) Fix Kraken database loading when loading from directory instead of compressed file.
1919
- [#688](https://github.com/nf-core/eager/issues/668) - Allow pipeline to complete, even if Qualimap crashes due to an empty or corrupt BAM file for one sample/library
2020
- [#683](https://github.com/nf-core/eager/pull/683) - Sets `--igenomes_ignore` to true by default, as rarely used by users currently and makes resolving configs less complex.
21+
- Added exit code `140` to re-tryable exit code list to account for certain scheduler wall-time limit fails.
2122

2223
### `Dependencies`
2324

conf/base.config

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ process {
1414
memory = { check_max( 7.GB * task.attempt, 'memory' ) }
1515
time = { check_max( 24.h * task.attempt, 'time' ) }
1616

17-
errorStrategy = { task.exitStatus in [143,137,104,134,139] ? 'retry' : 'finish' }
17+
errorStrategy = { task.exitStatus in [143,137,104,134,139, 140] ? 'retry' : 'finish' }
1818
maxRetries = 3
1919
maxErrors = '-1'
2020

@@ -74,34 +74,34 @@ process {
7474
}
7575

7676
withName:qualimap{
77-
errorStrategy = { task.exitStatus in [1,143,137,104,134,139] ? 'retry' : task.exitStatus in [255] ? 'ignore' : 'finish' }
77+
errorStrategy = { task.exitStatus in [1,143,137,104,134,139, 140] ? 'retry' : task.exitStatus in [255] ? 'ignore' : 'finish' }
7878
}
7979

8080
withName:preseq {
8181
errorStrategy = 'ignore'
8282
}
8383

8484
withName:damageprofiler {
85-
errorStrategy = { task.exitStatus in [1,143,137,104,134,139] ? 'retry' : 'finish' }
85+
errorStrategy = { task.exitStatus in [1,143,137,104,134,139, 140] ? 'retry' : 'finish' }
8686
}
8787

8888
// Add 1 retry for certain java tools as not enough heap space java errors gives exit code 1
8989
withName: dedup {
90-
errorStrategy = { task.exitStatus in [1,143,137,104,134,139] ? 'retry' : 'finish' }
90+
errorStrategy = { task.exitStatus in [1,143,137,104,134,139, 140] ? 'retry' : 'finish' }
9191
}
9292

9393
withName: markduplicates {
94-
errorStrategy = { task.exitStatus in [143,137] ? 'retry' : 'finish' }
94+
errorStrategy = { task.exitStatus in [143,137, 140] ? 'retry' : 'finish' }
9595
}
9696

9797
// Add 1 retry as not enough heapspace java error gives exit code 1
9898
withName: malt {
99-
errorStrategy = { task.exitStatus in [1,143,137,104,134,139] ? 'retry' : 'finish' }
99+
errorStrategy = { task.exitStatus in [1,143,137,104,134,139, 140] ? 'retry' : 'finish' }
100100
}
101101

102102
// other process specific exit statuses
103103
withName: nuclear_contamination {
104-
errorStrategy = { task.exitStatus in [143,137,104,134,139] ? 'ignore' : 'retry' }
104+
errorStrategy = { task.exitStatus in [143,137,104,134,139, 140] ? 'ignore' : 'retry' }
105105
}
106106

107107
}

0 commit comments

Comments
 (0)