| [ |
| { |
| "cmd": [], |
| "name": "checkout" |
| }, |
| { |
| "cmd": [], |
| "name": "checkout.ensure jiri", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd/jiri", |
| "-ensure-file", |
| "fuchsia/tools/jiri/${platform} git_revision:f8eeec817df858e148165f92648acaa1da29a052", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "checkout.ensure jiri.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:f8e\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/tools/jiri/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/jiri/jiri", |
| "init", |
| "-vv", |
| "-time", |
| "-j=50", |
| "-analytics-opt=false", |
| "-rewrite-sso-to-https=true", |
| "-cache", |
| "[CACHE]/git", |
| "-partial" |
| ], |
| "infra_step": true, |
| "name": "checkout.jiri init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/jiri/jiri", |
| "import", |
| "-vv", |
| "-time", |
| "-j=50", |
| "-name", |
| "zircon", |
| "-revision", |
| "HEAD", |
| "manifest", |
| "https://fuchsia.googlesource.com/fuchsia" |
| ], |
| "infra_step": true, |
| "name": "checkout.jiri import", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/jiri/jiri", |
| "override", |
| "-vv", |
| "-time", |
| "-j=50", |
| "-revision", |
| "2d72510e447ab60a9728aeea2362d8be2cbd7789", |
| "fuchsia", |
| "https://fuchsia.googlesource.com/fuchsia" |
| ], |
| "infra_step": true, |
| "name": "checkout.jiri override", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/jiri/jiri", |
| "update", |
| "-vv", |
| "-time", |
| "-j=50", |
| "-autoupdate=false", |
| "-attempts=3", |
| "-run-hooks=false" |
| ], |
| "infra_step": true, |
| "name": "checkout.jiri update", |
| "timeout": 2400, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/jiri/jiri", |
| "run-hooks", |
| "-vv", |
| "-time", |
| "-j=50", |
| "-attempts=3" |
| ], |
| "infra_step": true, |
| "name": "checkout.jiri run-hooks", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/jiri/jiri", |
| "source-manifest", |
| "-vv", |
| "-time", |
| "-j=50", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "checkout.jiri source-manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output[source manifest]@{@@@", |
| "@@@STEP_LOG_LINE@json.output[source manifest]@ \"directories\": {@@@", |
| "@@@STEP_LOG_LINE@json.output[source manifest]@ \"manifest\": {@@@", |
| "@@@STEP_LOG_LINE@json.output[source manifest]@ \"git_checkout\": {@@@", |
| "@@@STEP_LOG_LINE@json.output[source manifest]@ \"repo_url\": \"https://fuchsia.googlesource.com/manifest\", @@@", |
| "@@@STEP_LOG_LINE@json.output[source manifest]@ \"revision\": \"4c2b0da3c06341db5cebe4d02c78c93c3b2bd78b\"@@@", |
| "@@@STEP_LOG_LINE@json.output[source manifest]@ }@@@", |
| "@@@STEP_LOG_LINE@json.output[source manifest]@ }@@@", |
| "@@@STEP_LOG_LINE@json.output[source manifest]@ }@@@", |
| "@@@STEP_LOG_LINE@json.output[source manifest]@}@@@", |
| "@@@STEP_LOG_END@json.output[source manifest]@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/jiri/jiri", |
| "snapshot", |
| "-vv", |
| "-time", |
| "-j=50", |
| "[CLEANUP]/jiri.snapshot" |
| ], |
| "infra_step": true, |
| "name": "checkout.jiri snapshot", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/jiri.snapshot", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "checkout.read snapshot", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@snapshot_contents@@@@", |
| "@@@STEP_LOG_END@snapshot_contents@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build" |
| }, |
| { |
| "cmd": [], |
| "name": "build.ensure_goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "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": "build.ensure_goma.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-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": [ |
| "[START_DIR]/prebuilt/third_party/gn/linux-x64/gn", |
| "gen", |
| "[START_DIR]/out/default", |
| "--check", |
| "--args=import(\"//products/bringup.gni\") goma_dir=\"[CACHE]/goma/client\" is_debug=true select_variant=[\"clang\"] target_cpu=\"x64\" use_goma=true" |
| ], |
| "name": "build.gn gen", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| "[START_DIR]/out/default/zircon.json", |
| "/path/to/tmp/json" |
| ], |
| "name": "build.read zircon ninja instructions", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"dir\": \"../default.zircon\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"targets\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"legacy-host_tests\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"manifest-$cpu\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build.ninja", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build.ninja.pre_goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| "<LUCI_CONTEXT>", |
| "/path/to/tmp/json" |
| ], |
| "name": "build.ninja.pre_goma.read context", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-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": "build.ninja.pre_goma.write context", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@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", |
| "LUCI_CONTEXT": "[CLEANUP]/luci_context._tmp_1" |
| }, |
| "infra_step": true, |
| "name": "build.ninja.pre_goma.start_goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[infra::ninja]/resources/ninja_wrapper.py", |
| "--ninja_info_output", |
| "/path/to/tmp/json", |
| "--failure_output", |
| "/path/to/tmp/", |
| "--", |
| "[START_DIR]/prebuilt/third_party/ninja/linux-x64/ninja", |
| "-C", |
| "[START_DIR]/out/default.zircon", |
| "-j", |
| "20", |
| "legacy-host_tests", |
| "legacy-host_tests", |
| "manifest-$cpu", |
| "tools" |
| ], |
| "name": "build.ninja.zircon", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[infra::ninja]/resources/ninja_wrapper.py", |
| "--ninja_info_output", |
| "/path/to/tmp/json", |
| "--failure_output", |
| "/path/to/tmp/", |
| "--", |
| "[START_DIR]/prebuilt/third_party/ninja/linux-x64/ninja", |
| "-C", |
| "[START_DIR]/out/default", |
| "-j", |
| "20" |
| ], |
| "name": "build.ninja.fuchsia", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build.ninja.post_goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "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", |
| "LUCI_CONTEXT": "[CLEANUP]/luci_context._tmp_1" |
| }, |
| "name": "build.ninja.post_goma.goma_jsonstatus", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@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", |
| "LUCI_CONTEXT": "[CLEANUP]/luci_context._tmp_1" |
| }, |
| "name": "build.ninja.post_goma.goma_stat", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[CACHE]/goma/client/goma_ctl.py", |
| "stop" |
| ], |
| "env": { |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "LUCI_CONTEXT": "[CLEANUP]/luci_context._tmp_1" |
| }, |
| "name": "build.ninja.post_goma.stop_goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/out/default.zircon/tools/runtests", |
| "-o", |
| "[CLEANUP]/test_results/host", |
| "[START_DIR]/out/default.zircon/host_tests" |
| ], |
| "env": { |
| "ASAN_SYMBOLIZER_PATH": "[START_DIR]/prebuilt/third_party/clang/linux-x64/bin/llvm-symbolizer" |
| }, |
| "name": "run host tests" |
| }, |
| { |
| "cmd": [], |
| "name": "host test results" |
| }, |
| { |
| "failure": { |
| "failure": {}, |
| "humanReason": "Test summary JSON not found, see kernel log for details" |
| }, |
| "name": "$result" |
| } |
| ] |