New issue
Advanced search Search tips

Issue 856875 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Jan 10
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Feature



Sign in to add a comment

Enforce single build instance.

Project Member Reported by dgarr...@chromium.org, Jun 27 2018

Issue description

Some ChromeOS builders are unsafe to run multiple times in parallel, any build that commits uprevs or uploads prebuilts in particular.

buildbot was configured to enforce single build at a time for these configs, but swarming isn't capable of doing that. The LUCI scheduler will only schedule a single build at a time, but they can also be scheduled through alternative means.

One way to enforce single build at a time is to have adjust CancelObsoleteSlaveBuilds (which already cancels old build slaves) to also cancel previous builds which are still in progress. We would, of course, need a new build config value to turn this behavior on or off.
 
Labels: Swarming
Labels: -Pri-2 Pri-1
This is becoming an issue for forced branched release builds which are also scheduled on a schedule.

This isn't a problem of correctness, but of builder and lab resources to run the builds.
Owner: dgarr...@chromium.org
An alternative solution is to have the second build exit early if it sees that it's own config is already running.
Labels: -Type-Bug Type-Feature
Status: WontFix (was: Untriaged)

Sign in to add a comment