Bug #597

Orchestration fails if single build job cancelled

Added by Robert Haschke almost 5 years ago.

Status:NewStart date:2020-01-25
Priority:NormalDue date:
Assignee:Jan Moringen% Done:

0%

Category:-Spent time:-
Target version:-

Description

Cancelling a single job stops the whole orchestration because the CancellationException that is thrown when done.get() is called, is not caught.

The attached patch provides a dirty workaround, ignoring cancelled jobs completely. However this way:
- other potential exceptions thrown by done.get() are not caught yet
- the failure is not reported back to the main spinning loop

Probably, Jan, you have a better idea how to fix the problem.

0001-fix-orchestration.patch Magnifier (2.378 KB) Robert Haschke, 2020-01-25 04:31

Also available in: Atom PDF