From 6a33f2528314b17e7f7643e6fe6401ddd29de205 Mon Sep 17 00:00:00 2001 From: "phajdan.jr" Date: Wed, 20 Jul 2016 01:43:20 -0700 Subject: [PATCH] git: apply a 5 minutes timeout to "ensure git tooling on windows" step This covers 99% of successful runs on all builders based on event_mon data. BUG=629025 Review-Url: https://codereview.chromium.org/2162143004 --- recipe_modules/git/api.py | 3 ++- recipe_modules/git/example.expected/platform_win.json | 3 ++- .../tryserver/example.expected/with_wrong_patch.json | 3 ++- .../tryserver/example.expected/with_wrong_patch_new.json | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/recipe_modules/git/api.py b/recipe_modules/git/api.py index 1751c9622d..2983a19091 100644 --- a/recipe_modules/git/api.py +++ b/recipe_modules/git/api.py @@ -45,7 +45,8 @@ class GitApi(recipe_api.RecipeApi): 'ensure git tooling on windows', [self.package_repo_resource('bootstrap', 'win', 'win_tools.bat')], infra_step=True, - cwd=self.package_repo_resource()) + cwd=self.package_repo_resource(), + timeout=300) self.initialized_win_git = True def fetch_tags(self, remote_name=None, **kwargs): diff --git a/recipe_modules/git/example.expected/platform_win.json b/recipe_modules/git/example.expected/platform_win.json index e114deaed8..94ff2dee21 100644 --- a/recipe_modules/git/example.expected/platform_win.json +++ b/recipe_modules/git/example.expected/platform_win.json @@ -4,7 +4,8 @@ "RECIPE_PACKAGE_REPO[depot_tools]\\bootstrap\\win\\win_tools.bat" ], "cwd": "RECIPE_PACKAGE_REPO[depot_tools]", - "name": "ensure git tooling on windows" + "name": "ensure git tooling on windows", + "timeout": 300 }, { "cmd": [ diff --git a/recipe_modules/tryserver/example.expected/with_wrong_patch.json b/recipe_modules/tryserver/example.expected/with_wrong_patch.json index 1d965b224d..2479712e63 100644 --- a/recipe_modules/tryserver/example.expected/with_wrong_patch.json +++ b/recipe_modules/tryserver/example.expected/with_wrong_patch.json @@ -4,7 +4,8 @@ "RECIPE_PACKAGE_REPO[depot_tools]\\bootstrap\\win\\win_tools.bat" ], "cwd": "RECIPE_PACKAGE_REPO[depot_tools]", - "name": "ensure git tooling on windows" + "name": "ensure git tooling on windows", + "timeout": 300 }, { "cmd": [ diff --git a/recipe_modules/tryserver/example.expected/with_wrong_patch_new.json b/recipe_modules/tryserver/example.expected/with_wrong_patch_new.json index 4ed279bfdb..ac0bf7974a 100644 --- a/recipe_modules/tryserver/example.expected/with_wrong_patch_new.json +++ b/recipe_modules/tryserver/example.expected/with_wrong_patch_new.json @@ -4,7 +4,8 @@ "RECIPE_PACKAGE_REPO[depot_tools]\\bootstrap\\win\\win_tools.bat" ], "cwd": "RECIPE_PACKAGE_REPO[depot_tools]", - "name": "ensure git tooling on windows" + "name": "ensure git tooling on windows", + "timeout": 300 }, { "cmd": [