Skip to content

Tasks waiting to run are silently aborted if a later task fails compile stage, with async policy #1330

@sleak-lbl

Description

@sleak-lbl

This might be related to #1121 and/or #507

When using the AsynchronousExecutionPolicy, a task failure at the compile if a tasks fails at the compile_wait step can lead to reframe exiting while earlier queued jobs are still waiting to run.

I think the root cause is in reframe/frontend/executors/policies.py -> class AsynchronousExecutionPolicy(ExecutionPolicy, TaskEventListener) -> def _reschedule(self, task):, compile_wait can throw a variety of compile-time errors that should fail the task, but not abort the reframe run.

I have a patch that I think fixes this, will post an PR shortly

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions