Skip to content

Google Batch: Preemption errors not ignored #6690

@VasLem

Description

@VasLem

Bug report

Tasks that terminate with preemption error erroneously trigger the errorStrategy directive callback. I just received the following log message:
task X terminated with an error exit status (50001) -- Error is ignored
from a process with errorStrategy directive set to "ignore"
I understand that this probably goes against the logic of the Nextflow backbone, and is not dependent on the Google Batch plugin. A direct (but not very desired) way to resolve this is to override the errorStrategy across all process to ignore those types of errors, however the counter of the task.attempt still sets a limit of preemptions. The best and minimally invasive solution IMO would be to hold a list of errors dependent on the executor (or the plugin) that should be completely ignored by Nextflow, could this be done without messing up the rest?

Environment

  • Nextflow version: 25.11.0-edge

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions