| [ |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0o777", |
| "[CLEANUP]/checkout" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "gerrit:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "makedirs" |
| }, |
| { |
| "cmd": [], |
| "name": "get chrome" |
| }, |
| { |
| "cmd": [ |
| "python3", |
| "-u", |
| "RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py", |
| "--", |
| "RECIPE_REPO[depot_tools]/gsutil.py", |
| "----", |
| "cp", |
| "gs://chromium-browser-snapshots/Linux_x64/LAST_CHANGE", |
| "[CLEANUP]/chrome_tmp_1" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "gerrit:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "get chrome.gsutil download", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "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", |
| "--", |
| "RECIPE_REPO[depot_tools]/gsutil.py", |
| "----", |
| "cp", |
| "gs://chromium-browser-snapshots/Linux_x64//chrome-linux.zip", |
| "[CLEANUP]/chrome_tmp_1" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "gerrit:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "get chrome.gsutil download (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python3", |
| "RECIPE_MODULE[infra::zip]/resources/unzip.py" |
| ], |
| "luci_context": { |
| "realm": { |
| "name": "gerrit:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "get chrome.unzip chrome", |
| "stdin": "{\"output\": \"[CLEANUP]/chrome_tmp_1/zip\", \"quiet\": false, \"zip_file\": \"[CLEANUP]/chrome_tmp_1/chrome-linux.zip\"}", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "mv", |
| "[CLEANUP]/chrome_tmp_1/zip/chrome-linux/chrome", |
| "[CLEANUP]/chrome_tmp_1/zip/chrome-linux/google-chrome" |
| ], |
| "luci_context": { |
| "realm": { |
| "name": "gerrit:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "get chrome.rename to google-chrome", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[CLEANUP]/checkout", |
| "env": { |
| "PATH": "[CLEANUP]/chrome_tmp_1/zip/chrome-linux:<PATH>" |
| }, |
| "luci_context": { |
| "realm": { |
| "name": "gerrit:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "git init", |
| "timeout": 300.0 |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "origin", |
| "https://gerrit.googlesource.com/gerrit" |
| ], |
| "cwd": "[CLEANUP]/checkout", |
| "env": { |
| "PATH": "[CLEANUP]/chrome_tmp_1/zip/chrome-linux:<PATH>" |
| }, |
| "luci_context": { |
| "realm": { |
| "name": "gerrit:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "git remote", |
| "timeout": 600.0 |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "--jobs", |
| "4", |
| "origin", |
| "refs/changes/23/123/4", |
| "--recurse-submodules" |
| ], |
| "cwd": "[CLEANUP]/checkout", |
| "env": { |
| "PATH": "[CLEANUP]/chrome_tmp_1/zip/chrome-linux:<PATH>" |
| }, |
| "luci_context": { |
| "realm": { |
| "name": "gerrit:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "git fetch", |
| "timeout": 1200.0 |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[CLEANUP]/checkout", |
| "env": { |
| "PATH": "[CLEANUP]/chrome_tmp_1/zip/chrome-linux:<PATH>" |
| }, |
| "luci_context": { |
| "realm": { |
| "name": "gerrit:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "git checkout", |
| "timeout": 600.0 |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync", |
| "--recursive" |
| ], |
| "cwd": "[CLEANUP]/checkout", |
| "env": { |
| "PATH": "[CLEANUP]/chrome_tmp_1/zip/chrome-linux:<PATH>" |
| }, |
| "luci_context": { |
| "realm": { |
| "name": "gerrit:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "git submodule sync", |
| "timeout": 600.0 |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init", |
| "--recursive", |
| "--jobs", |
| "4" |
| ], |
| "cwd": "[CLEANUP]/checkout", |
| "env": { |
| "PATH": "[CLEANUP]/chrome_tmp_1/zip/chrome-linux:<PATH>" |
| }, |
| "luci_context": { |
| "realm": { |
| "name": "gerrit:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "git submodule update", |
| "timeout": 600.0 |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/nodejs", |
| "-ensure-file", |
| "infra/3pp/tools/nodejs/${platform} version:2@20.8.1", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[CLEANUP]/checkout", |
| "env": { |
| "PATH": "[CLEANUP]/chrome_tmp_1/zip/chrome-linux:<PATH>" |
| }, |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "gerrit:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:2@20.8.1\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/3pp/tools/nodejs/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "npm", |
| "install", |
| "-g", |
| "yarn" |
| ], |
| "cwd": "[CLEANUP]/checkout", |
| "env": { |
| "PATH": "[CLEANUP]/chrome_tmp_1/zip/chrome-linux:<PATH>", |
| "npm_config_cache": "[CACHE]/npmcache/npm", |
| "npm_config_prefix": "[CACHE]/npmcache/pfx" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/npmcache/pfx/bin", |
| "[CACHE]/nodejs/bin" |
| ] |
| }, |
| "luci_context": { |
| "realm": { |
| "name": "gerrit:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "install yarn" |
| }, |
| { |
| "cmd": [ |
| "yarn", |
| "setup" |
| ], |
| "cwd": "[CLEANUP]/checkout", |
| "env": { |
| "PATH": "[CLEANUP]/chrome_tmp_1/zip/chrome-linux:<PATH>", |
| "npm_config_cache": "[CACHE]/npmcache/npm", |
| "npm_config_prefix": "[CACHE]/npmcache/pfx" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/npmcache/pfx/bin", |
| "[CACHE]/nodejs/bin" |
| ] |
| }, |
| "luci_context": { |
| "realm": { |
| "name": "gerrit:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "install deps" |
| }, |
| { |
| "cmd": [ |
| "yarn", |
| "compile" |
| ], |
| "cwd": "[CLEANUP]/checkout", |
| "env": { |
| "PATH": "[CLEANUP]/chrome_tmp_1/zip/chrome-linux:<PATH>", |
| "npm_config_cache": "[CACHE]/npmcache/npm", |
| "npm_config_prefix": "[CACHE]/npmcache/pfx" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/npmcache/pfx/bin", |
| "[CACHE]/nodejs/bin" |
| ] |
| }, |
| "luci_context": { |
| "realm": { |
| "name": "gerrit:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "run type checker" |
| }, |
| { |
| "cmd": [ |
| "yarn", |
| "lint" |
| ], |
| "cwd": "[CLEANUP]/checkout", |
| "env": { |
| "PATH": "[CLEANUP]/chrome_tmp_1/zip/chrome-linux:<PATH>", |
| "npm_config_cache": "[CACHE]/npmcache/npm", |
| "npm_config_prefix": "[CACHE]/npmcache/pfx" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/npmcache/pfx/bin", |
| "[CACHE]/nodejs/bin" |
| ] |
| }, |
| "luci_context": { |
| "realm": { |
| "name": "gerrit:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "run linter", |
| "~followup_annotations": [ |
| "@@@STEP_FAILURE@@@" |
| ] |
| }, |
| { |
| "failure": { |
| "failure": {}, |
| "humanReason": "Step('run linter') (retcode: 1)" |
| }, |
| "name": "$result" |
| } |
| ] |