Commit Graph

8618 Commits (22bf605bb63f8ff01aa7c1a2841718e3489b43d6)
 

Author SHA1 Message Date
Gavin Mak fa319612f1 Remove fetch_end_to_end_test recipe
This recipe is not used anymore.

Bug: 1256330
Change-Id: If62153733836bdde27709b0c1cda9bca261c1252
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3258100
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Commit-Queue: Gavin Mak <gavinmak@google.com>
4 years ago
recipe-roller aebf6247c9 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (recipe_engine) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8831759660712484257

recipe_engine:
7a5dc1943b
  7a5dc19 (chromium-autoroll@skia-public.iam.gserviceaccount.com)
      Roll CAS Client from 172cfa9219b8 to 68355732afb0

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

R=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I8641966c88feb8e81d3ea9966839c2e813eda64d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3255601
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
4 years ago
recipe-roller 0f5bd4fd47 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (recipe_engine) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8831994962392645041

recipe_engine:
00da2ad41e
  00da2ad (bpastene@chromium.org)
      buildbucket: Allow generic test builds to specify experiments.

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

R=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I4bdee77819304a94406ebb991d58416b3292ebbf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3253543
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
4 years ago
Scott Lee 376ce660a5 Remove tandrii@ from OWNERS under depot_tools
Missing changes from https://chromium-review.googlesource.com/q/owner:tandrii%2540google.com+%2522remove+tandrii%2540%2522
(and nodir@)

Change-Id: I9ae573f2b01bcc5e65e17202b90bc724210cd971
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3252670
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
Commit-Queue: Scott Lee <ddoman@chromium.org>
4 years ago
recipe-roller b3a1a797ba Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (recipe_engine) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8832094992240957585

recipe_engine:
b0df83aaca
  b0df83a (bpastene@chromium.org)
      Add a current_server helper method to swarming recipe module.

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

R=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I20c3045d93da31a47fb834a7d10885941c0034d5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3251778
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
4 years ago
Ryan Heise c54d00e9f5 Update Pinpoint CLI to add job prioritization
Bug:1241906
Change-Id: I8698621b1c80247a5387f0914683b90c75ce4c30
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3251540
Commit-Queue: Ryan Heise <heiserya@google.com>
Commit-Queue: Dirk Pranke <dpranke@google.com>
Auto-Submit: Ryan Heise <heiserya@google.com>
Reviewed-by: John Chen <johnchen@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@google.com>
4 years ago
Takuto Ikuta 8daf2442e2 gsutil: use shorter path for temp dir
Temp dir used to download gsutil seems somehow hit max path length limit
on Windows builders.

Bug: 1264242
Change-Id: Ib924932542dbbe68f4ef58ca604724dcb645330f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3247566
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Commit-Queue: Junji Watanabe <jwata@google.com>
Auto-Submit: Takuto Ikuta <tikuta@chromium.org>
Owners-Override: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: Junji Watanabe <jwata@google.com>
Reviewed-by: Fumitoshi Ukai <ukai@google.com>
4 years ago
Josip Sokcevic 673e8ede07 Surface yapf format errors when written to stderr
When CheckPatchFormatted presubmited canned check is executed, it runs
git cl format with --dry-run. When dry-run is used, exit codes are
ignored and we rely on only on stdout message to detect if formatting is
needed or not. This itself is wrong, but changing this will likely
require significant redesign.

This patch appends stderr output to stdout message on non-zero exit code
and therefore allowing git cl format to actually exit with code 2.

R=gavinmak@google.com

Fixed: 1264111
Change-Id: I5eccf34f533640fd93209c97d1c8d9c85bb94d83
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3249191
Auto-Submit: Josip Sokcevic <sokcevic@google.com>
Reviewed-by: Gavin Mak <gavinmak@google.com>
Commit-Queue: Gavin Mak <gavinmak@google.com>
4 years ago
recipe-roller 869118a12b Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (recipe_engine) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8832178673550054289

recipe_engine:
844ee34e4b
  844ee34 (chromium-autoroll@skia-public.iam.gserviceaccount.com)
      Roll CAS Client from git_revision:0eb2fd45d86505c722d941aa732bb...

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

R=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Ibfa549de3f86c30cea244b47cff1d2f029e54752
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3249193
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
4 years ago
recipe-roller 0be6156347 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (recipe_engine) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8832184963754011409

recipe_engine:
bdb4ece9b8
  bdb4ece (gbeaty@chromium.org)
      Remove assertItemsEqual.

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

R=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Idbf4a85d6059b60b6aeb8fef5031fe6d252569dc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3249190
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
4 years ago
recipe-roller 557588737a Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (recipe_engine) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8832192703429331473

recipe_engine:
57e9d76d75
  57e9d76 (chromium-autoroll@skia-public.iam.gserviceaccount.com)
      Roll CAS Client from d7b6e9517dcc to 0eb2fd45d865

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

R=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I0b0b751d855044b9428e2cfba4cf4ac20b7bd1e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3248431
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
4 years ago
Ben Pastene f0cbaf04cc Revert "Update vpython spec for yapf"
This reverts commit 2b8a99b183.

Reason for revert: `git cl format` returning KeyError: 'chromium' in some chromium py repos

See https://crbug.com/1264076

Original change's description:
> Update vpython spec for yapf
>
> Update yapf to latest version.
>
> Bug: None
> Change-Id: I77a994105e8ef16dcaf61402523d4cf9a1e39722
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3237590
> Commit-Queue: Chris McDonald <cjmcdonald@chromium.org>
> Auto-Submit: Chris McDonald <cjmcdonald@chromium.org>
> Reviewed-by: Josip Sokcevic <sokcevic@google.com>

Bug: 1264076
Change-Id: Ic94b6314f2c5183353d38f62d379304d7a830969
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3248264
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Reviewed-by: Stephanie Kim <kimstephanie@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Reviewed-by: Chris McDonald <cjmcdonald@chromium.org>
Commit-Queue: Ben Pastene <bpastene@chromium.org>
4 years ago
recipe-roller e16fa48345 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (recipe_engine) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8832198805541577473

recipe_engine:
19cb4b7fc2
  19cb4b7 (tandrii@google.com)
      Remove tandrii@ from OWNERS of recipe modules.

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

R=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I3af039e8f102b315f44f1262802b44d036ba358a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3248263
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
4 years ago
Mike Frysinger a5eadaa8a0 pylint-1.9: drop unused version
I can't see any users of this version via cs/, so drop it to speed up
the ensure_bootstrap phase.

Change-Id: Ib6e26490c9194959d55ed9199aade7b72ff3ebd7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3246423
Auto-Submit: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
4 years ago
Mike Frysinger 349d282d77 pylint-1.8: drop unused version
I can't see any users of this version via cs/, so drop it to speed up
the ensure_bootstrap phase.

Change-Id: I6598dacbde336ae555bdc101d4044c078907570d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3246422
Auto-Submit: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
4 years ago
Mike Frysinger fc3e6e5bee pylint-1.7: drop unused version
I can't see any users of this version via cs/, so drop it to speed up
the ensure_bootstrap phase.

Change-Id: Ib1e3ca75f1d091161c57a33f238c64973949a584
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3246413
Auto-Submit: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
4 years ago
Mike Frysinger 45a7f406ab ensure_bootstrap: bootstrap tools in parallel
Running each bootstrap in serial seriously slows things down, and it
gets worse as we add more.  On my very expensive desktop, the no-op
case takes 5 seconds.  When running in parallel, it's now ~1.5 sec.

Change-Id: I4304fddf22ef5a718218a807aeb05e08e5418bb8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3245746
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
4 years ago
Mike Frysinger 300d9bed41 pylint-1.6: drop unused version
I can't see any users of this version via cs/, so drop it to speed up
the ensure_bootstrap phase.

Change-Id: I3779228daec2858d48c288023ffdb924b5038297
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3245745
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
4 years ago
Fumitoshi Ukai 480c91d40b Roll out new goma client binary VERSION=235
Bug: b/202799348
Change-Id: I978838331be99d4f5bdab91c0cf44c48cc791410
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3246414
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: Junji Watanabe <jwata@google.com>
Commit-Queue: Fumitoshi Ukai <ukai@google.com>
4 years ago
recipe-roller b26c016ab4 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (recipe_engine) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8832269207220375777

recipe_engine:
47c87e9968
  47c87e9 (gbeaty@chromium.org)
      Address behavioral differences of random between python versions.

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

R=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I1144775d5121064b609f4dc0ec80a1e463356cd5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3246263
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
4 years ago
Josip Sokcevic f8600e7806 [docs] Fix alias settings
When using alias, we no longer can't nor need to prefix command with
git. This change updates all [alias] blocks and removes git from it.

Change-Id: Id89142ef86935e04e21872ce61fb63a511ed40a7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3244473
Reviewed-by: Gavin Mak <gavinmak@google.com>
Commit-Queue: Gavin Mak <gavinmak@google.com>
Auto-Submit: Josip Sokcevic <sokcevic@google.com>
4 years ago
recipe-roller f9f7b0ec89 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (recipe_engine) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8832284200708902689

recipe_engine:
25819f3448
  25819f3 (olivernewman@google.com)
      [cipd] Relax list type check

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

R=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: If990e0194241cd2e79c48f070265187334a217ca
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3244472
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
4 years ago
Michael Moss 5c9e8b474f Don't escape "commit" value for Gerrit branch/tag creation.
This value is passed in the JSON body, not in the URL, so does not need
to be escaped, otherwise trying to make a branch/tag from another
branch/tag leads to errors like:

  gerrit_util.GerritError: (400) Bad Request: invalid revision "refs%2Fheads%2Fchromium%2F4665"

BUG=1052179
R=linxinan@chromium.org, sokcevic@google.com

Change-Id: I80d709370165fcb84a3375e18b67d4a921be9a8d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3243724
Auto-Submit: Michael Moss <mmoss@chromium.org>
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
Commit-Queue: Dirk Pranke <dpranke@google.com>
Reviewed-by: Xinan Lin <linxinan@chromium.org>
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
4 years ago
recipe-roller 563138265a Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (recipe_engine) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8832293806170208977

recipe_engine:
0145b3950d
  0145b39 (xinyuoffline@google.com)
      [swarming] Deprecate old containment fields.

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

R=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I8f56269f9bb658e015e0af638d5f87068a410d5d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3244273
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
4 years ago
Collin Baker dfff8abbdf Disable whitespace lints handled by clang-format
These lints are redundant and in rare cases may conflict with
clang-format output. We treat clang-format's output as the correct
formatting, so disable the lints.

The following whitespace lints are retained, all others are disabled:
whitespace/blank_line
whitespace/comments
whitespace/empty_conditional_body
whitespace/empty_if_body
whitespace/empty_loop_body
whitespace/ending_newline
whitespace/todo

Bug: chromium:1240500
Change-Id: I22e2d8ea4de021ea389e155d8c9e096c3ae6f8b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3231485
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Collin Baker <collinbaker@chromium.org>
4 years ago
recipe-roller 378395bfb5 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (recipe_engine) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8832347904217217633

recipe_engine:
151ff69edf~..9041c56a7c586eefee7cccb761fe305ed1681d87
  151ff69 (jwata@google.com)
      [swarming] update luci-go swarming version
  9041c56 (mohrr@google.com)
      Handle string exit_code in swarming task result

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

R=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Iaeafd072892426abcd44b77e7e7c4667a6d6b72f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3244108
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
4 years ago
Vadim Shtayura 7bd4c88188 [lucicfg] Update to 1.29.1.
This version will start generating `lucicfg {...}` section in
project.cfg, but only when some other config file changes (so
that lucicfg version change itself doesn't require all configs
to be regenerated).

This information will be used by LUCI tooling to figure out how
to regenerate LUCI project configs en masse.

Use `lucicfg generate -force main.star` to forcefully generate
`lucicfg {...}` section in the existing configs.

R=iannucci@chromium.org

Change-Id: I001ceb0dae1df797c2f76c3f6a28b8420d18f4d7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3232093
Commit-Queue: Vadim Shtayura <vadimsh@chromium.org>
Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
4 years ago
recipe-roller 2db5da23f6 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (recipe_engine) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8832361754753135697

recipe_engine:
3cfb91b76d
  3cfb91b (gbeaty@chromium.org)
      Provide a consistent assertions interface.

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

R=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I4d835a52b9202e89ddb4ee13bbdae89eb63583fb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3243723
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
4 years ago
Sean McAllister 1e509c548e presubmits: Modify bug parsing to support FIX.* fields from gitwatch
Gitwatch supports closing bugs with a FIX(ES|ED|ING)? tag in the
commit message, but we only check BUG to ensure a bug is
specified, add the fix fields to BugsFromDescription so that presubmits
will still pass if only eg: FIXES=b:1234 is given.

Gitwatch reference:
  http://shortn/_LGPgBjgi3A

FIXED=b:203812728
TEST=presubmit_unittest.py doesn't fail more than it already does

Change-Id: I6afc38c786e281dcefb4d359bb9212ebe5980ed6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3237598
Auto-Submit: Sean McAllister <smcallis@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
4 years ago
Chris McDonald 2b8a99b183 Update vpython spec for yapf
Update yapf to latest version.

Bug: None
Change-Id: I77a994105e8ef16dcaf61402523d4cf9a1e39722
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3237590
Commit-Queue: Chris McDonald <cjmcdonald@chromium.org>
Auto-Submit: Chris McDonald <cjmcdonald@chromium.org>
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
4 years ago
Michael Moss 9c28af45e6 Add ability to generically call most Gerrit APIs.
This will make it easier to call new or uncommon Gerrit APIs, without
needing to add dedicated methods for each one. This also makes it easier
to debug API calls by exposing the raw response data, which is often
processed or filtered in the existing wrapper methods.

BUG=1052179
R=linxinan@chromium.org

Change-Id: I0b594a9fdaabae4b0ebb379dc5473f4d6de67a13
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3235714
Auto-Submit: Michael Moss <mmoss@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Reviewed-by: Xinan Lin <linxinan@chromium.org>
Commit-Queue: Dirk Pranke <dpranke@google.com>
4 years ago
recipe-roller 8093a3e1d1 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (recipe_engine) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8832411456557294769

recipe_engine:
8daad38938
  8daad38 (jwata@google.com)
      Revert "Handle string exit_code in swarming task result"

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

R=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Ieac8ce9d58df34cc94635f22abbf4dbbf042480f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3240685
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
4 years ago
recipe-roller 372190eb3d Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (recipe_engine) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8832437251560564241

recipe_engine:
da91611b65
  da91611 (jwata@google.com)
      Handle string exit_code in swarming task result

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

R=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Idd56f71ac733739305a5fc311be75f2beedd3e14
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3239888
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
4 years ago
recipe-roller 7a6ff9824d Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (recipe_engine) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8832726658328645537

recipe_engine:
9d468ffabc
  9d468ff (mohrr@google.com)
      [swarming] Accept str exit_code values

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

R=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I6de99b93dc5054cf61c5cb21976294cccece7385
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3237599
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
4 years ago
recipe-roller e023d44820 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (recipe_engine) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8832776990556875249

recipe_engine:
76f0ade387
  76f0ade (vadimsh@chromium.org)
      [cipd] Remove set_service_account.

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

R=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I38be3a92853359a0653db2327e0344228f65bf5a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3235942
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
4 years ago
recipe-roller a64ac73077 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (recipe_engine) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8832780135860801809

recipe_engine:
f63c949dff
  f63c949 (vadimsh@chromium.org)
      [cipd] Pass -verification-timeout to pkg-register.

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

R=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I52f25fd412d8ea86417f929b10a282e27011dfc7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3235941
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
4 years ago
recipe-roller ed33756c68 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (recipe_engine) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8832798381948059697

recipe_engine:
50d670cae7
  50d670c (jwata@google.com)
      Update gevent to version:1.4.0.chromium.1

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

R=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Ife879e9fbd182c374353d36669a052ef799af2c1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3235810
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
4 years ago
Gavin Mak 5cffc195c9 Don't check refspecs when running git cat-file
bot_update fetches +refs/branch-heads/* but also checks git cat-file -e
+refs/branch-heads/* which fails.

Bug: 1261879
Change-Id: Ic902eebcb7301aeae32e1a8775e3babf9fdedea9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3234885
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Commit-Queue: Gavin Mak <gavinmak@google.com>
4 years ago
Xinan Lin 57f8581806 Add option to always "set bot-commit+1" in update_files() method
If one uses update_files() method to file a chain of CLs and wants
to submit them together, they have to set submit=False to wait for the
last CL. As a result, users have to run `set Bot-Commit+1` for each CL
at their side, which is annoying.

This change makes the gerrit module to handle that, and callers only
need to submit the chain.

BUG=1261724
TEST=train

Change-Id: If7d420d8d3c40b1d462284395cdc87ac680d0918
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3235388
Commit-Queue: Xinan Lin <linxinan@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Reviewed-by: Michael Moss <mmoss@chromium.org>
4 years ago
Michael Moss b6ce244503 Add 'create tag' support to gerrit_client and gerrit recipe_module.
BUG=1052179
R=dpranke@google.com, linxinan@chromium.org

Change-Id: I6e220b70e63d990e9257d9fe4d107de7dbd2eb81
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3232849
Auto-Submit: Michael Moss <mmoss@chromium.org>
Commit-Queue: Michael Moss <mmoss@chromium.org>
Reviewed-by: Xinan Lin <linxinan@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@google.com>
4 years ago
Brian Ryner bec0d0fdd0 New vpython to depot_tools.
Notable changes:
- Fix for missing runtime DLLs on Windows
- Enables native Mac ARM64 wheel support
- Startup performance improvements
- Fixes to spec validation for python 3

Bug: 1237202, 1103275, 1219868
Change-Id: I9beeb9dc5e82630d3cc6369a501fa63b11d1321d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3158553
Commit-Queue: Brian Ryner <bryner@google.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
4 years ago
Josip Sokcevic 1efe7c7e7b Use sigkill instead of sigterm on a stale process
Only hanging process recorded so far is gsutil. Sending sigterm doesn't
result in successfully terminating the process. Instead, use sigkill.

R=gavinmak@google.com

Bug: 1255228
Change-Id: Iad354284422676df804c68cb6f18c7db723bf862
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3232250
Auto-Submit: Josip Sokcevic <sokcevic@google.com>
Reviewed-by: Gavin Mak <gavinmak@google.com>
Commit-Queue: Gavin Mak <gavinmak@google.com>
4 years ago
recipe-roller f153151a0b Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (recipe_engine) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8832922323383333569

recipe_engine:
9789009ad0
  9789009 (olivernewman@google.com)
      [step] Accept timedelta objects for timeout arg

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

R=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I0a8c47b8f3f7be362a1ab1a4b3eea6d5914493da
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3232088
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
4 years ago
Andrew Grieve eee67fe5a5 Fix git-crrev-parse to work with both master & main branches
Was finding only "master" commits.

Change-Id: I434a0cb8d2112d6173e638814ad10f401c2fb9b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3226313
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
Auto-Submit: Andrew Grieve <agrieve@chromium.org>
4 years ago
Josip Sokcevic 650f853ced Disable print for git for-each-ref in git_cache
The command is used for verification purposes when git index is fetched
from GS. The output is verbose for chromium/src and not useful at all.

R=gavinmak@google.com

Bug: 1255228
Change-Id: Ie95963a23ef397e9fd6ce7bcf959ec9964d21ba7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3227145
Auto-Submit: Josip Sokcevic <sokcevic@google.com>
Reviewed-by: Gavin Mak <gavinmak@google.com>
Commit-Queue: Gavin Mak <gavinmak@google.com>
4 years ago
Weiwei Lin 3e50cf453e [lucicfg] Update v1.28.1 -> v1.28.4
Notable changes:
1. Do not produce semantically unimportant diffs by default.
2. Support configuring bug_url_template in milo.cfg

R=iannucci, vadimsh

Change-Id: I2c7df4d16129dc55148e6c4ccfbf73aa50242be7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3224847
Auto-Submit: Weiwei Lin <weiweilin@google.com>
Reviewed-by: Vadim Shtayura <vadimsh@chromium.org>
Commit-Queue: Vadim Shtayura <vadimsh@chromium.org>
4 years ago
Josip Sokcevic 604f160239 Reland "Limit number of concurrent gsutil cp calls"
This is a reland of d3cfea0c78

Original change's description:
> Limit number of concurrent gsutil cp calls
>
> gsutil utilizes as many cores as possible, and will create many threads
> too. In combination with gclient doing the same thing (utilize as many
> cores as possible), this results in creating way too many processes and
> some builders are running out of resources (e.g. can't create threads).
>
> This limits number of gsutil cp commands in git_cache to two.
>
> R=apolito@google.com, dpranke@google.com
>
> Bug: 1255228, 1249003
> Change-Id: Ifcccaacde6c9e1c60c1da0a0bc5a3e512e158dcc
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3219900
> Reviewed-by: Dirk Pranke <dpranke@google.com>
> Commit-Queue: Josip Sokcevic <sokcevic@google.com>

Bug: 1255228, 1249003
Change-Id: I712bf5f625fd42992e7b5310ae005fad2633e1a4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3223155
Reviewed-by: Anthony Polito <apolito@google.com>
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
4 years ago
Chenlin Fan 9a36d697d8 Update astroid to 2.5.3 in pylint-2.7 spec
These package versions have conflicting dependencies.
 The conflict is caused by:
     The user requested astroid==2.4.2
     pylint 2.7.4 depends on astroid<2.7 and >=2.5.2

Change-Id: Id2724413f18d1cb62a6cc9cb936edf26f245f621
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3224599
Auto-Submit: Chenlin Fan <fancl@chromium.org>
Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Commit-Queue: Dirk Pranke <dpranke@google.com>
4 years ago
Gavin Mak 80fc559f70 Add gerrit repo to gclient config
This change removes the need for the Gerrit plugin recipe to clone the
Gerrit repo itself.

Recipe-Nontrivial-Roll: infra
Bug: 1196790
Change-Id: I3d6bb71a2e95c50c4dc29345ad24e482177233d5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3224087
Commit-Queue: Gavin Mak <gavinmak@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
4 years ago
recipe-roller b859a0c0cb Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (recipe_engine) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8833357062525804017

recipe_engine:
022d75261f
  022d752 (mohrr@google.com)
      [path] Don't require dirname arg be a Path

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

R=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Iaf405049330c20d7473f3434a661c9d016765a0e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3224090
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
4 years ago