New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 714227 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: May 2017
Cc:
Components:
EstimatedDays: 1
NextAction: ----
OS: ----
Pri: 1
Type: Bug

Blocking:
issue 703328
issue 714267



Sign in to add a comment

Override swarming properties when triggering tryjobs on swarmbucket.

Project Member Reported by robert...@chromium.org, Apr 21 2017

Issue description

In order to simplify management of trybots, we can reuse a single findit-specific builder under the bucket luci.chromium.try. For this, we need to override the following properties upon requesting a new tryjob:

 * builder_name: Use the generic findit builder
 * swarming/override_builder_cfg/caches(name and path): This should be set to a hash of the parent_buildername/parent_mastername for test/flake, and to a hash of target_buildername/target_mastername for compile
 * swarming/override_builder_cfg/dimensions(list of 'key:value' strings): To match the configuration of the bot where the failure happened.
 * swarming/override_builder_cfg/recipe/name: To match properties/recipe.
 *

 
Status: Started (was: Assigned)
Cc: robert...@chromium.org
 Issue 712322  has been merged into this issue.
Blocking: 714267
Description: Show this description
Project Member

Comment 5 by bugdroid1@chromium.org, Apr 28 2017

Project Member

Comment 6 by bugdroid1@chromium.org, Apr 28 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/infra/infra/+/dfb625ce7f7445f5754026f1168ac696c85457fc

commit dfb625ce7f7445f5754026f1168ac696c85457fc
Author: Roberto Carrillo <robertocn@google.com>
Date: Fri Apr 28 21:51:41 2017

[Findit] Compute cache name for swarming tryjobs.

The purpose of this patch is to provide a function that can compute a
unique name based on the master and builder that the tryjob will try to
replicate so that repeated jobs on a host shared by multiple builders
can get the same directory each time. (So as to reuse the checkout and
build output directories between runs)

This is a breakout from a larger patch:
https://chromium-review.googlesource.com/c/477672/

R=chanli,lijeffrey,stgao
BUG= 714227 

Change-Id: Iec4e0465baaba0d1ffad9678690b7238540e693e
Reviewed-on: https://chromium-review.googlesource.com/490611
Reviewed-by: Chan Li <chanli@chromium.org>
Commit-Queue: Roberto Carrillo <robertocn@chromium.org>

[modify] https://crrev.com/dfb625ce7f7445f5754026f1168ac696c85457fc/appengine/findit/waterfall/swarming_util.py
[modify] https://crrev.com/dfb625ce7f7445f5754026f1168ac696c85457fc/appengine/findit/waterfall/test/swarming_util_test.py

Status: Fixed (was: Started)

Sign in to add a comment