-
Notifications
You must be signed in to change notification settings - Fork 759
Description
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