Switch to a fixed chrome version temporarily
Change-Id: Iabecc205447b3da6fdaad11a61c819a6eaa3e0ea
diff --git a/recipes/recipes/gerrit.expected/polygerrit-ui_changes with failed step.json b/recipes/recipes/gerrit.expected/polygerrit-ui_changes with failed step.json
index 17eb299..1aac188 100644
--- a/recipes/recipes/gerrit.expected/polygerrit-ui_changes with failed step.json
+++ b/recipes/recipes/gerrit.expected/polygerrit-ui_changes with failed step.json
@@ -62,36 +62,6 @@
},
{
"cmd": [
- "vpython3",
- "-u",
- "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
- "--json-output",
- "/path/to/tmp/json",
- "copy",
- "[CLEANUP]/chrome_tmp_1/LAST_CHANGE",
- "/path/to/tmp/"
- ],
- "infra_step": true,
- "luci_context": {
- "realm": {
- "name": "gerrit:try"
- },
- "resultdb": {
- "current_invocation": {
- "name": "invocations/build:8945511751514863184",
- "update_token": "token"
- },
- "hostname": "rdbhost"
- }
- },
- "name": "get chrome.read latest chrome version",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_END@LAST_CHANGE@@@"
- ]
- },
- {
- "cmd": [
"python3",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
@@ -99,7 +69,7 @@
"RECIPE_REPO[depot_tools]/gsutil.py",
"----",
"cp",
- "gs://chromium-browser-snapshots/Linux_x64//chrome-linux.zip",
+ "gs://chromium-browser-snapshots/Linux_x64/1283771/chrome-linux.zip",
"[CLEANUP]/chrome_tmp_1"
],
"infra_step": true,
diff --git a/recipes/recipes/gerrit.expected/polygerrit-ui_changes.json b/recipes/recipes/gerrit.expected/polygerrit-ui_changes.json
index b29d21f..e92b77b 100644
--- a/recipes/recipes/gerrit.expected/polygerrit-ui_changes.json
+++ b/recipes/recipes/gerrit.expected/polygerrit-ui_changes.json
@@ -62,36 +62,6 @@
},
{
"cmd": [
- "vpython3",
- "-u",
- "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
- "--json-output",
- "/path/to/tmp/json",
- "copy",
- "[CLEANUP]/chrome_tmp_1/LAST_CHANGE",
- "/path/to/tmp/"
- ],
- "infra_step": true,
- "luci_context": {
- "realm": {
- "name": "gerrit:try"
- },
- "resultdb": {
- "current_invocation": {
- "name": "invocations/build:8945511751514863184",
- "update_token": "token"
- },
- "hostname": "rdbhost"
- }
- },
- "name": "get chrome.read latest chrome version",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_END@LAST_CHANGE@@@"
- ]
- },
- {
- "cmd": [
"python3",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
@@ -99,7 +69,7 @@
"RECIPE_REPO[depot_tools]/gsutil.py",
"----",
"cp",
- "gs://chromium-browser-snapshots/Linux_x64//chrome-linux.zip",
+ "gs://chromium-browser-snapshots/Linux_x64/1283771/chrome-linux.zip",
"[CLEANUP]/chrome_tmp_1"
],
"infra_step": true,
diff --git a/recipes/recipes/gerrit.py b/recipes/recipes/gerrit.py
index f845b05..98f6c7c 100644
--- a/recipes/recipes/gerrit.py
+++ b/recipes/recipes/gerrit.py
@@ -88,8 +88,8 @@
chrome_zip = 'chrome-linux.zip'
api.gsutil.download(gs_bucket, '%s/%s' %
(gs_path, version_file), chrome)
- version = api.file.read_text('read latest chrome version',
- chrome.join(version_file))
+ # Using a fixed version to debug an issue.
+ version = "1283771"
api.gsutil.download(gs_bucket, '%s/%s/%s' %
(gs_path, version, chrome_zip), chrome)
api.zip.unzip('unzip chrome', chrome.join(