| [ |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd", |
| "-ensure-file", |
| "gn/gn/${platform} git_revision:222ae505623476f08fd5db3544d7a9e6a0b50472\ninfra/ninja/${platform} version:1.9.0", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "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-git_revision:222\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"gn/gn/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:1.9.0---\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/ninja/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": [], |
| "name": "fetch gclient" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/depot_tools" |
| ], |
| "infra_step": true, |
| "name": "fetch gclient.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "fetch gclient.git init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "origin", |
| "https://chromium.googlesource.com/chromium/tools/depot_tools.git" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "fetch gclient.git remote", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "fetch gclient.set fetch.uriprotocols", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "fetch gclient.cache", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools.git" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "fetch gclient.cache.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "cwd": "[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools.git", |
| "infra_step": true, |
| "name": "fetch gclient.cache.write guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_END@.GUARD_FILE@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init", |
| "--bare" |
| ], |
| "cwd": "[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools.git", |
| "infra_step": true, |
| "name": "fetch gclient.cache.git init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "remote.origin.url", |
| "https://chromium.googlesource.com/chromium/tools/depot_tools.git" |
| ], |
| "cwd": "[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools.git", |
| "infra_step": true, |
| "name": "fetch gclient.cache.remote set-url", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools.git", |
| "infra_step": true, |
| "name": "fetch gclient.cache.set fetch.uriprotocols", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "--replace-all", |
| "remote.origin.fetch", |
| "+refs/heads/*:refs/heads/*", |
| "\\+refs/heads/\\*:.*" |
| ], |
| "cwd": "[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools.git", |
| "infra_step": true, |
| "name": "fetch gclient.cache.replace fetch configs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--prune", |
| "--tags", |
| "origin" |
| ], |
| "cwd": "[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools.git", |
| "infra_step": true, |
| "name": "fetch gclient.cache.git fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "cwd": "[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools.git", |
| "infra_step": true, |
| "name": "fetch gclient.cache.remove guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/depot_tools/.git/objects/info" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "fetch gclient.cache.makedirs object/info", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools.git/objects\n", |
| "[START_DIR]/depot_tools/.git/objects/info/alternates" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "fetch gclient.cache.alternates", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@alternates@[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools.git/objects@@@", |
| "@@@STEP_LOG_END@alternates@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "origin", |
| "master" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "fetch gclient.git fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "fetch gclient.git checkout", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "fetch gclient.git rev-parse", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "fetch gclient.git clean", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "fetch gclient.submodule", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "fetch gclient.submodule.git submodule sync", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "fetch gclient.submodule.git submodule update", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "fetch goma-client" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/goma" |
| ], |
| "infra_step": true, |
| "name": "fetch goma-client.makedirs goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "gclient", |
| "config", |
| "--name=client", |
| "--unmanaged", |
| "-v", |
| "https://chromium.googlesource.com/infra/goma/client" |
| ], |
| "cwd": "[START_DIR]/goma", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/depot_tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "fetch goma-client.gclient config", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "gclient", |
| "sync" |
| ], |
| "cwd": "[START_DIR]/goma", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/depot_tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "fetch goma-client.gclient sync", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" |
| ], |
| "cwd": "[START_DIR]/goma/client", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/depot_tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "fetch goma-client.pin revision", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/goma/client", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/depot_tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "fetch goma-client.git rev-parse", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "gclient", |
| "sync", |
| "-v", |
| "--output-json", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/goma/client", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/depot_tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "fetch goma-client.gclient sync (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@json.output (invalid)@@@", |
| "@@@STEP_LOG_LINE@json.output (exception)@No JSON object could be decoded@@@", |
| "@@@STEP_LOG_END@json.output (exception)@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build goma-client" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE[fuchsia::goma_client].resources/patch_script.py", |
| "--file", |
| "[START_DIR]/goma/client/client/goma_ctl.py", |
| "--backend", |
| "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog", |
| "--ipc_socket", |
| "goma_fuchsia.ipc", |
| "--port", |
| "8089" |
| ], |
| "name": "build goma-client.rewrite goma_ctl.py ", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE[fuchsia::goma_client].resources/patch_script.py", |
| "--file", |
| "[START_DIR]/goma/client/client/goma_auth.py", |
| "--backend", |
| "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog", |
| "--ipc_socket", |
| "goma_fuchsia.ipc", |
| "--port", |
| "8089" |
| ], |
| "name": "build goma-client.rewrite goma_auth.py ", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/gn", |
| "--root=[START_DIR]/goma/client", |
| "gen", |
| "[START_DIR]/goma/client/out/Release", |
| "--args=is_debug=false cpu_arch=\"x64\" enable_revision_check=true use_link_time_optimization=true default_server_host=\"rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog\" default_compiler_proxy_port=8089 default_compiler_proxy_socket_name=\"goma_fuchsia.ipc\" default_project_suffix=\"fuchsia\"" |
| ], |
| "cwd": "[START_DIR]/goma/client", |
| "name": "build goma-client.gn gen", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[fuchsia::ninja]/resources/ninja_wrapper.py", |
| "--ninja_info_output", |
| "/path/to/tmp/json", |
| "--failure_output", |
| "/path/to/tmp/", |
| "--", |
| "[START_DIR]/cipd/ninja", |
| "-C", |
| "[START_DIR]/goma/client/out/Release" |
| ], |
| "cwd": "[START_DIR]/goma/client", |
| "name": "build goma-client.ninja", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[fuchsia::ninja]/resources/ninja_wrapper.py", |
| "--ninja_info_output", |
| "/path/to/tmp/json", |
| "--failure_output", |
| "/path/to/tmp/", |
| "--", |
| "[START_DIR]/cipd/ninja", |
| "-C", |
| "[START_DIR]/goma/client/out/Release", |
| "-d", |
| "explain", |
| "-n", |
| "-v" |
| ], |
| "cwd": "[START_DIR]/goma/client", |
| "name": "build goma-client.ninja confirm no-op", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[START_DIR]/goma/client/build/run_unittest.py", |
| "--build-dir", |
| "[START_DIR]/goma/client/out", |
| "--target", |
| "Release", |
| "--non-stop" |
| ], |
| "name": "tests" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[START_DIR]/goma/client/build/archive.py", |
| "--platform", |
| "linux", |
| "--build_dir", |
| "[START_DIR]/goma/client/out", |
| "--target_dir", |
| "Release", |
| "--dist_dir", |
| "[TMP_BASE]" |
| ], |
| "name": "archive" |
| }, |
| { |
| "cmd": [], |
| "name": "cipd" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "pkg-build", |
| "-pkg-def", |
| "{\"data\": [{\"dir\": \".\", \"exclude\": []}, {\"version_file\": \".versions/client.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"fuchsia/third_party/goma/client/${platform}\", \"root\": \"[START_DIR]/goma/client/out/Release/goma-linux\"}", |
| "-out", |
| "[CLEANUP]/client.cipd", |
| "-hash-algo", |
| "sha256", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd.build fuchsia/third_party/goma/client/${platform}", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/goma/client/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "search", |
| "fuchsia/third_party/goma/client/${platform}", |
| "-tag", |
| "git_revision:deadbeef", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd.cipd search fuchsia/third_party/goma/client/${platform} git_revision:deadbeef", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/goma/client/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "cipd.Package is up-to-date", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |