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

Issue 803652 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

cros/swarming recipe incorrectly inserts --buildbot on many builds.

Project Member Reported by dgarr...@chromium.org, Jan 18 2018

Issue description

https://ci.chromium.org/p/chromeos/builds/b8957125038381727760

/b/swarming/w/ir/kitchen-workdir/chromite/scripts/cbuildbot_launch --buildroot /b/swarming/w/ir/cache/cbuild --buildbot --branch master --buildbucket-id 8957125038381727760 --git-cache-dir /b/swarming/w/ir/cache/git --goma_dir /b/swarming/w/ir/cache/goma_client --goma_client_json /creds/service_accounts/service-account-goma-client.json kevin-paladin-tryjob


Notice that "--buildbot" was passed in for a general tryjob. That is dangerous, and should not be.
 
Project Member

Comment 2 by bugdroid1@chromium.org, Jan 19 2018

Status: Fixed (was: Started)
Just launched a new tryjob, and it did NOT include --buildbot.

So.. fixed, even though there is one more small cleanup CL incoming.
Project Member

Comment 4 by bugdroid1@chromium.org, Jan 19 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/tools/build/+/bc47afefdf50afcdd9abde3d8ff1204340e25acd

commit bc47afefdf50afcdd9abde3d8ff1204340e25acd
Author: Don Garrett <dgarrett@google.com>
Date: Fri Jan 19 23:14:58 2018

cros/swarming: Remove unnecessary default arg.

Now that the internal recipes have been updated, there is no need for
this default.

BUG= chromium:803652 

Change-Id: I36e76987fc68a2747c408614be9a7d70142502c9
Reviewed-on: https://chromium-review.googlesource.com/875410
Reviewed-by: Nodir Turakulov <nodir@chromium.org>
Commit-Queue: Don Garrett <dgarrett@chromium.org>

[modify] https://crrev.com/bc47afefdf50afcdd9abde3d8ff1204340e25acd/scripts/slave/README.recipes.md
[modify] https://crrev.com/bc47afefdf50afcdd9abde3d8ff1204340e25acd/scripts/slave/recipe_modules/chromite/api.py

Sign in to add a comment