Project

General

Profile

Actions

action #25892

closed

Scheduling parallel jobs

Added by nadvornik over 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2017-10-10
Due date:
% Done:

0%

Estimated time:

Description

After upgrade to the new scheduler I have this problem:
I have this group of parallel jobs:
A
B PARALLEL_WITH A
C PARALLEL_WITH A,B
D PARALLEL_WITH A,B

The jobs use barriers to synchronize so they finish approximately at the same
time.

On an openQA server with 4 workers I have this group scheduled multiple times:
A1, B1, C1, D1, A2, B2, C2, D2, A3, B3, C3, D3, ...

First group of jobs A1, B1, C1, D1 finishes normally but then it sometimes
ends up with workers doing jobs A2, A3, A4, A5 in parallel and waiting
forever for the rest of group.

It looks like some race condition in use of _prefer_parallel() function.


Files

slenkins_jobs_deadlock.png (73.3 KB) slenkins_jobs_deadlock.png thehejik, 2018-02-13 14:57

Related issues 1 (0 open1 closed)

Related to openQA Project - action #40415: Concurrent jobs with dependencies don't work if they are on different machines.Resolvedmitiao2018-08-29

Actions
Actions

Also available in: Atom PDF