From 4e218f224f228c21b7763a56f9c41fa89c2e276a Mon Sep 17 00:00:00 2001 From: Paolo Di Tommaso Date: Sat, 13 Jul 2024 16:14:48 +0200 Subject: [PATCH] Fix Prevent AwS Batch retry the job execution when the container does not exist Signed-off-by: Paolo Di Tommaso --- .../nextflow/cloud/aws/batch/AwsBatchTaskHandler.groovy | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/nf-amazon/src/main/nextflow/cloud/aws/batch/AwsBatchTaskHandler.groovy b/plugins/nf-amazon/src/main/nextflow/cloud/aws/batch/AwsBatchTaskHandler.groovy index 15c356cb69..87787caf6e 100644 --- a/plugins/nf-amazon/src/main/nextflow/cloud/aws/batch/AwsBatchTaskHandler.groovy +++ b/plugins/nf-amazon/src/main/nextflow/cloud/aws/batch/AwsBatchTaskHandler.groovy @@ -62,6 +62,7 @@ import groovy.util.logging.Slf4j import nextflow.BuildInfo import nextflow.cloud.types.CloudMachineInfo import nextflow.container.ContainerNameValidator +import nextflow.exception.ProcessException import nextflow.exception.ProcessSubmitException import nextflow.exception.ProcessUnrecoverableException import nextflow.executor.BashWrapperBuilder @@ -267,7 +268,10 @@ class AwsBatchTaskHandler extends TaskHandler implements BatchHandler