| [ |
| { |
| "cmd": [], |
| "name": "resolve base commit" |
| }, |
| { |
| "cmd": [], |
| "name": "resolve base commit.install infra/tools/luci/gerrit", |
| "~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]/cipd/infra/tools/luci/gerrit/pinned-gerrit-version" |
| ], |
| "infra_step": true, |
| "name": "resolve base commit.install infra/tools/luci/gerrit.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/infra/tools/luci/gerrit/pinned-gerrit-version", |
| "-ensure-file", |
| "infra/tools/luci/gerrit/${platform} pinned-gerrit-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "resolve base commit.install infra/tools/luci/gerrit.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@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-pinned-gerrit-ve\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/gerrit/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": [ |
| "[CACHE]/cipd/infra/tools/luci/gerrit/pinned-gerrit-version/gerrit", |
| "change-detail", |
| "-host", |
| "https://fuchsia-review.googlesource.com", |
| "-input", |
| "{\"change_id\": \"123456\"}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "resolve base commit.get gerrit details", |
| "timeout": 600, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"branch\": \"master\"@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LOG_LINE@json.input@{@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"change_id\": \"123456\"@@@", |
| "@@@STEP_LOG_LINE@json.input@}@@@", |
| "@@@STEP_LOG_END@json.input@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-remote", |
| "--heads", |
| "https://fuchsia.googlesource.com/third_party/bloaty", |
| "refs/heads/master" |
| ], |
| "infra_step": true, |
| "name": "resolve base commit.git ls-remote", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ensure goma" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/goma/client", |
| "-ensure-file", |
| "fuchsia/third_party/goma/client/${platform} release", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure goma.ensure_installed", |
| "~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@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-release---------\", @@@", |
| "@@@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_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout" |
| }, |
| { |
| "cmd": [], |
| "name": "checkout.fetch refs/heads/master", |
| "~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", |
| "[START_DIR]/bloaty_src" |
| ], |
| "infra_step": true, |
| "name": "checkout.fetch refs/heads/master.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.fetch refs/heads/master.git init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "origin", |
| "https://fuchsia.googlesource.com/third_party/bloaty" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.fetch refs/heads/master.git remote", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.fetch refs/heads/master.set fetch.uriprotocols", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout.fetch refs/heads/master.cache", |
| "~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": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.fetch refs/heads/master.cache.write guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@.GUARD_FILE@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/git/fuchsia.googlesource.com-third_party-bloaty" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.fetch refs/heads/master.cache.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init", |
| "--bare" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-bloaty", |
| "infra_step": true, |
| "name": "checkout.fetch refs/heads/master.cache.git init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "remote.origin.url", |
| "https://fuchsia.googlesource.com/third_party/bloaty" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-bloaty", |
| "infra_step": true, |
| "name": "checkout.fetch refs/heads/master.cache.remote set-url", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-bloaty", |
| "infra_step": true, |
| "name": "checkout.fetch refs/heads/master.cache.set fetch.uriprotocols", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "--replace-all", |
| "remote.origin.fetch", |
| "+refs/heads/*:refs/heads/*", |
| "\\+refs/heads/\\*:.*" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-bloaty", |
| "infra_step": true, |
| "name": "checkout.fetch refs/heads/master.cache.replace fetch configs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--prune", |
| "--tags", |
| "origin" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-bloaty", |
| "infra_step": true, |
| "name": "checkout.fetch refs/heads/master.cache.git fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/bloaty_src/.git/objects/info" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.fetch refs/heads/master.cache.makedirs object/info", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CACHE]/git/fuchsia.googlesource.com-third_party-bloaty/objects\n", |
| "[START_DIR]/bloaty_src/.git/objects/info/alternates" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.fetch refs/heads/master.cache.alternates", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@alternates@[CACHE]/git/fuchsia.googlesource.com-third_party-bloaty/objects@@@", |
| "@@@STEP_LOG_END@alternates@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.fetch refs/heads/master.cache.remove guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "origin", |
| "master" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.fetch refs/heads/master.git fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.fetch refs/heads/master.git checkout", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.fetch refs/heads/master.git rev-parse", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.fetch refs/heads/master.git clean", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout.fetch refs/heads/master.submodule", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.fetch refs/heads/master.submodule.git submodule sync", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.fetch refs/heads/master.submodule.git submodule update", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/bloaty_src" |
| ], |
| "infra_step": true, |
| "name": "checkout.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "--remove-section", |
| "remote.origin" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.remove section", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "origin", |
| "https://fuchsia.googlesource.com/third_party/bloaty" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.git remote", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.set fetch.uriprotocols", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout.cache", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.cache.write guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_END@.GUARD_FILE@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/git/fuchsia.googlesource.com-third_party-bloaty" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.cache.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init", |
| "--bare" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-bloaty", |
| "infra_step": true, |
| "name": "checkout.cache.git init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "remote.origin.url", |
| "https://fuchsia.googlesource.com/third_party/bloaty" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-bloaty", |
| "infra_step": true, |
| "name": "checkout.cache.remote set-url", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-bloaty", |
| "infra_step": true, |
| "name": "checkout.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/fuchsia.googlesource.com-third_party-bloaty", |
| "infra_step": true, |
| "name": "checkout.cache.replace fetch configs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--prune", |
| "--tags", |
| "origin" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-bloaty", |
| "infra_step": true, |
| "name": "checkout.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", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/bloaty_src/.git/objects/info" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.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/fuchsia.googlesource.com-third_party-bloaty/objects\n", |
| "[START_DIR]/bloaty_src/.git/objects/info/alternates" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.cache.alternates", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@alternates@[CACHE]/git/fuchsia.googlesource.com-third_party-bloaty/objects@@@", |
| "@@@STEP_LOG_END@alternates@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.cache.remove guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "origin", |
| "refs/changes/56/123456/7" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.git fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.git checkout", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.git rev-parse", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.git clean", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout.submodule", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.submodule.git submodule sync", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.submodule.git submodule update", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rebase", |
| "--rebase-merges", |
| "deadbeef" |
| ], |
| "cwd": "[START_DIR]/bloaty_src", |
| "infra_step": true, |
| "name": "checkout.git rebase", |
| "~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", |
| "[START_DIR]/bloaty_build" |
| ], |
| "infra_step": true, |
| "name": "ensure build dir" |
| }, |
| { |
| "cmd": [], |
| "name": "ensure_packages" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd", |
| "-ensure-file", |
| "infra/cmake/${platform} version:3.9.2\ninfra/ninja/${platform} version:1.8.2\nfuchsia/third_party/clang/${platform} integration\nfuchsia/rust/${platform} latest", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure_packages.ensure_installed", |
| "~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@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/rust/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-integration-----\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/clang/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:3.9.2---\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/cmake/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.8.2---\", @@@", |
| "@@@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": "setup goma" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[CACHE]/goma/client/goma_ctl.py", |
| "restart" |
| ], |
| "env": { |
| "GLOG_log_dir": "[CLEANUP]", |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json", |
| "GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache", |
| "GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog", |
| "GOMA_STORE_LOCAL_RUN_OUTPUT": "True", |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False" |
| }, |
| "infra_step": true, |
| "name": "setup goma.start goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ensure XCode 12b5025f" |
| }, |
| { |
| "cmd": [], |
| "name": "ensure XCode 12b5025f.install infra/tools/mac_toolchain", |
| "~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]/cipd/infra/tools/mac_toolchain/git_revision%3Ae9b1fe29fe21a1cd36428c43ea2aba244bd31280" |
| ], |
| "env": { |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False" |
| }, |
| "infra_step": true, |
| "name": "ensure XCode 12b5025f.install infra/tools/mac_toolchain.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/infra/tools/mac_toolchain/git_revision%3Ae9b1fe29fe21a1cd36428c43ea2aba244bd31280", |
| "-ensure-file", |
| "infra/tools/mac_toolchain/${platform} git_revision:e9b1fe29fe21a1cd36428c43ea2aba244bd31280", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "env": { |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False" |
| }, |
| "infra_step": true, |
| "name": "ensure XCode 12b5025f.install infra/tools/mac_toolchain.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@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:e9b\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/mac_toolchain/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": [ |
| "[CACHE]/cipd/infra/tools/mac_toolchain/git_revision%3Ae9b1fe29fe21a1cd36428c43ea2aba244bd31280/mac_toolchain", |
| "install", |
| "-kind", |
| "mac", |
| "-xcode-version", |
| "12b5025f", |
| "-output-dir", |
| "[CACHE]/macos_sdk/XCode.app" |
| ], |
| "env": { |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False" |
| }, |
| "infra_step": true, |
| "name": "ensure XCode 12b5025f.install XCode 12b5025f", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "sudo", |
| "xcode-select", |
| "--switch", |
| "[CACHE]/macos_sdk/XCode.app" |
| ], |
| "env": { |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False" |
| }, |
| "infra_step": true, |
| "name": "ensure XCode 12b5025f.select XCode 12b5025f", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "xcrun", |
| "--sdk", |
| "macosx", |
| "--show-sdk-path" |
| ], |
| "cwd": "[START_DIR]/bloaty_build", |
| "env": { |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False", |
| "RUSTC": "[START_DIR]/cipd/bin/rustc" |
| }, |
| "name": "xcrun", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@raw_io.output[sdk-path]@/some/xcode/path@@@", |
| "@@@STEP_LOG_END@raw_io.output[sdk-path]@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/bin/cmake", |
| "-GNinja", |
| "-DCMAKE_BUILD_TYPE=Release", |
| "-DCMAKE_MAKE_PROGRAM=[START_DIR]/cipd/ninja", |
| "-DCMAKE_C_COMPILER_LAUNCHER=[CACHE]/goma/client/gomacc", |
| "-DCMAKE_C_COMPILER=[START_DIR]/cipd/bin/clang", |
| "-DCMAKE_C_COMPILER_TARGET=x86_64-apple-darwin", |
| "-DCMAKE_CXX_COMPILER_LAUNCHER=[CACHE]/goma/client/gomacc", |
| "-DCMAKE_CXX_COMPILER=[START_DIR]/cipd/bin/clang++", |
| "-DCMAKE_CXX_COMPILER_TARGET=x86_64-apple-darwin", |
| "-DRUST_TOOLCHAIN_PREFIX=[START_DIR]/cipd/bin", |
| "[START_DIR]/bloaty_src" |
| ], |
| "cwd": "[START_DIR]/bloaty_build", |
| "env": { |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False", |
| "RUSTC": "[START_DIR]/cipd/bin/rustc" |
| }, |
| "name": "cmake" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/ninja", |
| "-j80" |
| ], |
| "cwd": "[START_DIR]/bloaty_build", |
| "env": { |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False", |
| "RUSTC": "[START_DIR]/cipd/bin/rustc" |
| }, |
| "name": "build" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/ninja", |
| "test" |
| ], |
| "cwd": "[START_DIR]/bloaty_build", |
| "env": { |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False", |
| "RUSTC": "[START_DIR]/cipd/bin/rustc" |
| }, |
| "name": "test" |
| }, |
| { |
| "cmd": [ |
| "sudo", |
| "xcode-select", |
| "--reset" |
| ], |
| "env": { |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False" |
| }, |
| "infra_step": true, |
| "name": "reset XCode" |
| }, |
| { |
| "cmd": [], |
| "name": "teardown goma" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[CACHE]/goma/client/goma_ctl.py", |
| "jsonstatus", |
| "[CACHE]/goma/client/jsonstatus" |
| ], |
| "env": { |
| "GLOG_log_dir": "[CLEANUP]", |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json", |
| "GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache", |
| "GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog", |
| "GOMA_STORE_LOCAL_RUN_OUTPUT": "True", |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False" |
| }, |
| "name": "teardown goma.goma jsonstatus", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"notice\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"infra_status\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"num_user_error\": 0, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"ping_status_code\": 200@@@", |
| "@@@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": [ |
| "python", |
| "-u", |
| "[CACHE]/goma/client/goma_ctl.py", |
| "stat" |
| ], |
| "env": { |
| "GLOG_log_dir": "[CLEANUP]", |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json", |
| "GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache", |
| "GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog", |
| "GOMA_STORE_LOCAL_RUN_OUTPUT": "True", |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False" |
| }, |
| "name": "teardown goma.goma stats", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[CACHE]/goma/client/goma_ctl.py", |
| "stop" |
| ], |
| "env": { |
| "GLOG_log_dir": "[CLEANUP]", |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json", |
| "GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache", |
| "GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog", |
| "GOMA_STORE_LOCAL_RUN_OUTPUT": "True", |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False" |
| }, |
| "name": "teardown goma.stop goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/compiler_proxy.WARNING", |
| "/path/to/tmp/" |
| ], |
| "env": { |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False" |
| }, |
| "infra_step": true, |
| "name": "teardown goma.read goma_client warning log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@compiler_proxy.WARNING@test log@@@", |
| "@@@STEP_LOG_END@compiler_proxy.WARNING@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CACHE]/goma/client/goma_stats.json", |
| "/path/to/tmp/" |
| ], |
| "env": { |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False" |
| }, |
| "infra_step": true, |
| "name": "teardown goma.read goma_stats.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@goma_stats.json@{}@@@", |
| "@@@STEP_LOG_END@goma_stats.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "{\"build_info\": {\"build_id\": 8945511751514863184, \"builder\": \"builder\", \"time_stamp\": \"2012-05-14 12:53:21.500000\", \"time_stamp_int\": 1337000003000}}", |
| "[CACHE]/goma/client/goma_stats.json" |
| ], |
| "env": { |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False" |
| }, |
| "infra_step": true, |
| "name": "teardown goma.write goma_stats.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@goma_stats.json@{\"build_info\": {\"build_id\": 8945511751514863184, \"builder\": \"builder\", \"time_stamp\": \"2012-05-14 12:53:21.500000\", \"time_stamp_int\": 1337000003000}}@@@", |
| "@@@STEP_LOG_END@goma_stats.json@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"build_info\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"build_id\": 8945511751514863184, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"builder\": \"builder\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"time_stamp\": \"2012-05-14 12:53:21.500000\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"time_stamp_int\": 1337000003000@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "teardown goma.ensure bqupload", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd/bqupload", |
| "-ensure-file", |
| "infra/tools/bqupload/${platform} git_revision:d85fe78f303c3e969f815121e17c8b08868039ef", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "env": { |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False" |
| }, |
| "infra_step": true, |
| "name": "teardown goma.ensure bqupload.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@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:d85\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/bqupload/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": [ |
| "[START_DIR]/cipd/bqupload/bqupload", |
| "fuchsia-infra.artifacts.builds_beta_goma", |
| "[CACHE]/goma/client/goma_stats.json" |
| ], |
| "env": { |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False" |
| }, |
| "name": "teardown goma.upload goma_stats_to BQ: fuchsia-infra/artifacts/builds_beta_goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |