nextflow-io / nextflow

A DSL for data-driven computational pipelines
http://nextflow.io
Apache License 2.0
2.61k stars 605 forks source link

Surface AWS Batch time errors #5054

Open ewels opened 2 weeks ago

ewels commented 2 weeks ago

When AWS Batch tasks time out, the error from AWS should be floated up to the Nextflow error log.

Currently it just says "Killed by external process" or similar.

'cc @robsyme @gwright99

pditommaso commented 2 weeks ago

Think it's already doing everything possible to identify the source of the error

https://github.com/nextflow-io/nextflow/blob/88b8ab0cdb32c640606d9611495b88f4cc3fbb33/plugins/nf-amazon/src/main/nextflow/cloud/aws/batch/AwsBatchTaskHandler.groovy#L270-L271

Check the function errReason . Please provide a replicable test case.