You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
depot_tools/recipes/recipe_modules
Ben Pastene 97dadd025f Apply the gerrit REST timeout to only 'GetChanges' calls
https://crrev.com/c/4420526 put a 10s timeout on all calls made via
this script.

But it appears there are a variety of endpoints that take more than
10s, the latest being "SubmitChange", eg:
https://ci.chromium.org/ui/p/chromeos/builders/release/release-R113-15393.B-orchestrator/25/overview

So instead of applying the timeout to everything, and then opting
certain long-running calls out of it, this just opts-in the
"GetChanges" call to the timeout. This should cover the failure mode
that was originally solved for chrome's bots. And also bump the
timeout to 30s since we don't trust all get-changes queries to
reliably finish in under 10s.

This also bumps the step level timeout for the query in tryserver
recipe_mod to 8 min since there could be ~5min worth of sleeping +
150s worth of waiting+timing-out. So worst case the step will now
take 8min to fully exhaust all timeouts/sleeps.

Recipe-Nontrivial-Roll: build
Recipe-Nontrivial-Roll: build_limited
Recipe-Nontrivial-Roll: chromiumos
Recipe-Nontrivial-Roll: infra
Bug: b/278083716
Change-Id: Ib366e004e0bb07297ba732590d488cae779e38ba
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4426524
Reviewed-by: Joanna Wang <jojwang@chromium.org>
Commit-Queue: Ben Pastene <bpastene@chromium.org>
2 years ago
..
bot_update Apply the gerrit REST timeout to only 'GetChanges' calls 2 years ago
depot_tools [recipe] Remove depot_tools.{ninja_path, autoninja_path} recipe APIs 2 years ago
gclient Update infra contexts to use infra_superproject. 2 years ago
gerrit Add timeouts to the actual http calls in gerrit_util.py 2 years ago
git Update recipes python tests. 2 years ago
git_cl Run recipe git_cl under Python 3 3 years ago
gitiles Convert recipe_modules expectation tests 2 years ago
gsutil recipe_modules/gsutil: Add `dry_run` kwarg 2 years ago
osx_sdk Remove martiniss from OWNERS 2 years ago
presubmit Update recipes python tests. 2 years ago
tryserver Apply the gerrit REST timeout to only 'GetChanges' calls 2 years ago
windows_sdk [windows_sdk] allow env json to not be relative 4 years ago
OWNERS Fix recipe autoroller account. 5 years ago