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