Commit f422971
committed
Bypass locks for release packages builders on bb-* branches
TLDR;
Autobake builds on release branches can ignore Locks.
This patch is an experiment for the next release (March-April). DO NOT MERGE BEFORE JANUARY RELEASE IS DONE.
Long-Story:
Although the bb-*-release release branches have priority when being selected
from the queue, they are often blocked in the acquiring locks status,
a mechanism meant to prevent overloading a host.
As a result, in most cases we need to manually stop other builds,
thus freeing the hosts and allowing a release build to start.
This is not guaranteed, however, because Buildbot may select a completely
different builder to start on that host, often a non-release build,
which causes the release build of interest to remain stuck in the same status.
This patch aims to remove this limitation by allowing builds
that produce packages (autobake) to start on configured hosts
regardless of the Locks value.
The risk of this patch is obvious: there is a possibility of overloading the
host and causing the build to fail.
We can, however, try this approach and rollback during the
next release if we discover that the failure rate caused by overloading the host
exceeds the benefifs.
I am also relying on the fact that autobake builders are not memory-intensive
but mostly CPU-bound, with parallel execution occurring only
during the build phase, not when the packages are created.
I am also relying on the fact that autobake builders are not memory-intensive but mostly CPU-bound, with parallel execution occurring only during the build phase, not when the packages are created.1 parent d98e784 commit f422971
1 file changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
9 | 15 | | |
10 | 16 | | |
11 | 17 | | |
| |||
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
| 35 | + | |
29 | 36 | | |
30 | 37 | | |
31 | 38 | | |
| |||
36 | 43 | | |
37 | 44 | | |
38 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
39 | 54 | | |
40 | 55 | | |
41 | 56 | | |
| |||
0 commit comments