| [ |
| { |
| "cmd": [], |
| "name": "ensure goma" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/goma/client", |
| "-ensure-file", |
| "infra_internal/goma/client/${platform} release", |
| "-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\": \"infra_internal/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": "ensure_packages" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd", |
| "-ensure-file", |
| "infra/ninja/${platform} version:1.8.2\nfuchsia/sysroot/linux-amd64 latest", |
| "-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/sysroot/linux-amd64\"@@@", |
| "@@@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": "depot_tools" |
| }, |
| { |
| "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": "depot_tools.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "depot_tools.git init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "origin", |
| "https://chromium.googlesource.com/chromium/tools/depot_tools" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "depot_tools.git remote", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "depot_tools.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" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "depot_tools.cache.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init", |
| "--bare" |
| ], |
| "cwd": "[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools", |
| "infra_step": true, |
| "name": "depot_tools.cache.git init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "remote.origin.url", |
| "https://chromium.googlesource.com/chromium/tools/depot_tools" |
| ], |
| "cwd": "[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools", |
| "infra_step": true, |
| "name": "depot_tools.cache.remote set-url", |
| "~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", |
| "infra_step": true, |
| "name": "depot_tools.cache.git config", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--prune", |
| "--tags", |
| "origin" |
| ], |
| "cwd": "[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools", |
| "infra_step": true, |
| "name": "depot_tools.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]/depot_tools/.git/objects/info" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "depot_tools.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/objects\n", |
| "[START_DIR]/depot_tools/.git/objects/info/alternates" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "depot_tools.cache.alternates", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@alternates@[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools/objects@@@", |
| "@@@STEP_LOG_END@alternates@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "origin", |
| "master" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "depot_tools.git fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "depot_tools.git checkout", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "depot_tools.git rev-parse", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "depot_tools.git clean", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "dart-sdk" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/dart/sdk" |
| ], |
| "infra_step": true, |
| "name": "dart-sdk.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[START_DIR]/dart/sdk", |
| "infra_step": true, |
| "name": "dart-sdk.git init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "origin", |
| "https://dart.googlesource.com/sdk" |
| ], |
| "cwd": "[START_DIR]/dart/sdk", |
| "infra_step": true, |
| "name": "dart-sdk.git remote", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "dart-sdk.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/dart.googlesource.com-sdk" |
| ], |
| "cwd": "[START_DIR]/dart/sdk", |
| "infra_step": true, |
| "name": "dart-sdk.cache.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init", |
| "--bare" |
| ], |
| "cwd": "[CACHE]/git/dart.googlesource.com-sdk", |
| "infra_step": true, |
| "name": "dart-sdk.cache.git init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "remote.origin.url", |
| "https://dart.googlesource.com/sdk" |
| ], |
| "cwd": "[CACHE]/git/dart.googlesource.com-sdk", |
| "infra_step": true, |
| "name": "dart-sdk.cache.remote set-url", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "--replace-all", |
| "remote.origin.fetch", |
| "+refs/heads/*:refs/heads/*", |
| "\\+refs/heads/\\*:.*" |
| ], |
| "cwd": "[CACHE]/git/dart.googlesource.com-sdk", |
| "infra_step": true, |
| "name": "dart-sdk.cache.git config", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--prune", |
| "--tags", |
| "origin" |
| ], |
| "cwd": "[CACHE]/git/dart.googlesource.com-sdk", |
| "infra_step": true, |
| "name": "dart-sdk.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]/dart/sdk/.git/objects/info" |
| ], |
| "cwd": "[START_DIR]/dart/sdk", |
| "infra_step": true, |
| "name": "dart-sdk.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/dart.googlesource.com-sdk/objects\n", |
| "[START_DIR]/dart/sdk/.git/objects/info/alternates" |
| ], |
| "cwd": "[START_DIR]/dart/sdk", |
| "infra_step": true, |
| "name": "dart-sdk.cache.alternates", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@alternates@[CACHE]/git/dart.googlesource.com-sdk/objects@@@", |
| "@@@STEP_LOG_END@alternates@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "origin" |
| ], |
| "cwd": "[START_DIR]/dart/sdk", |
| "infra_step": true, |
| "name": "dart-sdk.git fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "301b5a1f16414bc031091eb214ddd6c589e6ed9a" |
| ], |
| "cwd": "[START_DIR]/dart/sdk", |
| "infra_step": true, |
| "name": "dart-sdk.git checkout", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/dart/sdk", |
| "infra_step": true, |
| "name": "dart-sdk.git rev-parse", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[START_DIR]/dart/sdk", |
| "infra_step": true, |
| "name": "dart-sdk.git clean", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "gclient", |
| "config", |
| "--unmanaged", |
| "-v", |
| "https://dart.googlesource.com/sdk.git" |
| ], |
| "cwd": "[START_DIR]/dart", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/depot_tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "gclient config" |
| }, |
| { |
| "cmd": [ |
| "gclient", |
| "sync", |
| "--no-history", |
| "-v", |
| "--output-json", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/dart", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/depot_tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "gclient sync", |
| "~followup_annotations": [ |
| "@@@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": "pre_goma" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| "<LUCI_CONTEXT>", |
| "/path/to/tmp/json" |
| ], |
| "name": "pre_goma.read context", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "{\"local_auth\": {\"accounts\": [{\"email\": \"some@example.com\", \"id\": \"test\"}], \"default_account_id\": \"system\"}}", |
| "[CLEANUP]/luci_context._tmp_1" |
| ], |
| "infra_step": true, |
| "name": "pre_goma.write context", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@luci_context._tmp_1@{\"local_auth\": {\"accounts\": [{\"email\": \"some@example.com\", \"id\": \"test\"}], \"default_account_id\": \"system\"}}@@@", |
| "@@@STEP_LOG_END@luci_context._tmp_1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[CACHE]/goma/client/goma_ctl.py", |
| "restart" |
| ], |
| "env": { |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json", |
| "LUCI_CONTEXT": "[CLEANUP]/luci_context._tmp_1" |
| }, |
| "infra_step": true, |
| "name": "pre_goma.start_goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "tools/gn.py", |
| "-v", |
| "--mode=release", |
| "--goma", |
| "--target-sysroot=simarm64=[START_DIR]/cipd,x64=[START_DIR]/cipd", |
| "--arch=x64", |
| "--platform-sdk" |
| ], |
| "cwd": "[START_DIR]/dart/sdk", |
| "name": "gn host (x64)" |
| }, |
| { |
| "cmd": [ |
| "tools/gn.py", |
| "-v", |
| "--mode=release", |
| "--goma", |
| "--target-sysroot=simarm64=[START_DIR]/cipd,x64=[START_DIR]/cipd", |
| "--arch=simarm64" |
| ], |
| "cwd": "[START_DIR]/dart/sdk", |
| "name": "gn simarm64" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/ninja", |
| "-j80", |
| "-C", |
| "[START_DIR]/dart/sdk/out/ReleaseX64", |
| "create_sdk", |
| "gen_snapshot", |
| "gen_snapshot_product" |
| ], |
| "cwd": "[START_DIR]/dart/sdk", |
| "name": "build host (x64) SDK" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/ninja", |
| "-j80", |
| "-C", |
| "[START_DIR]/dart/sdk/out/ReleaseSIMARM64", |
| "gen_snapshot_fuchsia", |
| "gen_snapshot_product_fuchsia", |
| "runtime" |
| ], |
| "cwd": "[START_DIR]/dart/sdk", |
| "name": "build simarm64" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/ninja", |
| "-j80", |
| "-C", |
| "[START_DIR]/dart/sdk/out/ReleaseX64", |
| "gen_snapshot_fuchsia", |
| "gen_snapshot_product_fuchsia", |
| "runtime" |
| ], |
| "cwd": "[START_DIR]/dart/sdk", |
| "name": "build x64" |
| }, |
| { |
| "cmd": [ |
| "tools/sdks/dart-sdk/bin/dart", |
| "tools/test.dart", |
| "-n", |
| "dartk-linux-release-simarm64", |
| "-N", |
| "dartk-linux-release-simarm64", |
| "--", |
| "--progress=line", |
| "--report", |
| "--time", |
| "vm", |
| "language" |
| ], |
| "cwd": "[START_DIR]/dart/sdk", |
| "name": "run tests" |
| }, |
| { |
| "cmd": [ |
| "tools/sdks/dart-sdk/bin/dart", |
| "tools/test.dart", |
| "-n", |
| "dartk-linux-release-x64", |
| "-N", |
| "dartk-linux-release-x64", |
| "--", |
| "--progress=line", |
| "--report", |
| "--time", |
| "vm", |
| "language" |
| ], |
| "cwd": "[START_DIR]/dart/sdk", |
| "name": "run tests (2)" |
| }, |
| { |
| "cmd": [], |
| "name": "post_goma" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[CACHE]/goma/client/goma_ctl.py", |
| "jsonstatus", |
| "[CACHE]/goma/client/jsonstatus" |
| ], |
| "env": { |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json", |
| "LUCI_CONTEXT": "[CLEANUP]/luci_context._tmp_1" |
| }, |
| "name": "post_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": { |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json", |
| "LUCI_CONTEXT": "[CLEANUP]/luci_context._tmp_1" |
| }, |
| "name": "post_goma.goma_stats", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[CACHE]/goma/client/goma_ctl.py", |
| "stop" |
| ], |
| "env": { |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json", |
| "LUCI_CONTEXT": "[CLEANUP]/luci_context._tmp_1" |
| }, |
| "name": "post_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", |
| "[CACHE]/goma/client/goma_stats.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "post_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, \"time_stamp\": \"2012-05-14 12:53:21.500000\", \"builder\": \"builder\", \"time_stamp_int\": 1337000003000}}", |
| "[CACHE]/goma/client/goma_stats.json" |
| ], |
| "infra_step": true, |
| "name": "post_goma.write goma_stats.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@goma_stats.json@{\"build_info\": {\"build_id\": 8945511751514863184, \"time_stamp\": \"2012-05-14 12:53:21.500000\", \"builder\": \"builder\", \"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@ \"time_stamp\": \"2012-05-14 12:53:21.500000\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"builder\": \"builder\", @@@", |
| "@@@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": "post_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", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "post_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" |
| ], |
| "name": "post_goma.upload goma_stats_to BQ: fuchsia-infra/artifacts/builds_beta_goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "install" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copytree", |
| "--symlinks", |
| "[START_DIR]/dart/sdk/out/ReleaseX64/dart-sdk", |
| "[CLEANUP]/dart-sdk" |
| ], |
| "infra_step": true, |
| "name": "install.install dart-sdk", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/dart/sdk/out/ReleaseX64/exe.stripped/gen_snapshot", |
| "[CLEANUP]/dart-sdk/bin/gen_snapshot.linux-x64" |
| ], |
| "infra_step": true, |
| "name": "install.install gen_snapshot.linux-x64", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/dart/sdk/out/ReleaseX64/exe.stripped/gen_snapshot_product", |
| "[CLEANUP]/dart-sdk/bin/gen_snapshot_product.linux-x64" |
| ], |
| "infra_step": true, |
| "name": "install.install gen_snapshot_product.linux-x64", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/dart/sdk/out/ReleaseSIMARM64/exe.stripped/gen_snapshot_fuchsia", |
| "[CLEANUP]/dart-sdk/bin/gen_snapshot.fuchsia-arm64" |
| ], |
| "infra_step": true, |
| "name": "install.install gen_snapshot.fuchsia-arm64", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/dart/sdk/out/ReleaseSIMARM64/exe.stripped/gen_snapshot_product_fuchsia", |
| "[CLEANUP]/dart-sdk/bin/gen_snapshot_product.fuchsia-arm64" |
| ], |
| "infra_step": true, |
| "name": "install.install gen_snapshot_product.fuchsia-arm64", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/dart/sdk/out/ReleaseX64/exe.stripped/gen_snapshot_fuchsia", |
| "[CLEANUP]/dart-sdk/bin/gen_snapshot.fuchsia-x64" |
| ], |
| "infra_step": true, |
| "name": "install.install gen_snapshot.fuchsia-x64", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/dart/sdk/out/ReleaseX64/exe.stripped/gen_snapshot_product_fuchsia", |
| "[CLEANUP]/dart-sdk/bin/gen_snapshot_product.fuchsia-x64" |
| ], |
| "infra_step": true, |
| "name": "install.install gen_snapshot_product.fuchsia-x64", |
| "~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]/dart-sdk/version", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "read dart-sdk version", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@version@2.0.0-edge.301b5a1f16414bc031091eb214ddd6c589e6ed9a@@@", |
| "@@@STEP_LOG_END@version@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "cipd" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "pkg-build", |
| "-pkg-def", |
| "{\"data\": [{\"dir\": \".\", \"exclude\": []}, {\"version_file\": \".versions/dart-sdk.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"fuchsia/dart-sdk/linux-amd64\", \"root\": \"[CLEANUP]/dart-sdk\"}", |
| "-out", |
| "[CLEANUP]/dart-sdk.cipd", |
| "-hash-algo", |
| "sha256", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd.build fuchsia/dart-sdk/linux-amd64", |
| "~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/dart-sdk/linux-amd64\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "search", |
| "fuchsia/dart-sdk/linux-amd64", |
| "-tag", |
| "git_revision:301b5a1f16414bc031091eb214ddd6c589e6ed9a", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd.cipd search fuchsia/dart-sdk/linux-amd64 git_revision:301b5a1f16414bc031091eb214ddd6c589e6ed9a", |
| "~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/dart-sdk/linux-amd64\"@@@", |
| "@@@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" |
| } |
| ] |