| [ |
| { |
| "cmd": [], |
| "name": "ensure_catapult" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd/catapult", |
| "-ensure-file", |
| "fuchsia/infra/catapult/${platform} latest", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure_catapult.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/infra/catapult/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.ensure jiri", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd/jiri", |
| "-ensure-file", |
| "fuchsia/tools/jiri/${platform} git_revision:229410ba898debd47b796135c1d1d198bd957bbf", |
| "-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:229\", @@@", |
| "@@@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", |
| "-shared" |
| ], |
| "name": "checkout.jiri init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/jiri/jiri", |
| "import", |
| "-vv", |
| "-time", |
| "-j=50", |
| "-name", |
| "integration", |
| "-revision", |
| "HEAD", |
| "manifest/minimal", |
| "https://fuchsia.googlesource.com/integration" |
| ], |
| "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" |
| ], |
| "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" |
| ], |
| "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" |
| ], |
| "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" |
| ], |
| "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": [ |
| "buildbucket", |
| "get", |
| "-host", |
| "cr-buildbucket.appspot.com", |
| "8945511751514863184" |
| ], |
| "infra_step": true, |
| "name": "buildbucket.get", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"build\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bucket\": \"luci.fuchsia.ci\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"id\": \"123\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"status\": \"SCHEDULED\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"url\": \"https://ci.chromium.org/p/fuchsia/builds/b123\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build" |
| }, |
| { |
| "cmd": [], |
| "name": "build.build fuchsia", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build.build fuchsia.ensure_goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "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.build fuchsia.ensure_goma.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@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=base_package_labels=[\"//bundles/buildbot:core\"] goma_dir=\"[CACHE]/goma/client\" is_debug=true target_cpu=\"x64\" use_goma=true" |
| ], |
| "name": "build.build fuchsia.gn gen", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "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.build fuchsia.read zircon ninja instructions", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@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": [ |
| "python", |
| "-u", |
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| "[START_DIR]/out/default/images.json", |
| "/path/to/tmp/json" |
| ], |
| "name": "build.build fuchsia.read image manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@[@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bootserver_pave\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"--boot\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"--zircona\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"zircon-a\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path\": \"fuchsia.zbi\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"type\": \"zbi\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"storage-full\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path\": \"fvm.blk\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"type\": \"blk\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bootserver_pave\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"--fvm\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"storage-sparse\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path\": \"fvm.sparse.blk\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"type\": \"blk\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"qemu-kernel\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path\": \"../default.zircon/boot.bin\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"type\": \"bin\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bootserver_pave\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"--efi\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"efi\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path\": \"fuchsia.esp.blk\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"type\": \"blk\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bootserver_netboot\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"--boot\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"netboot\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path\": \"netboot.zbi\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"type\": \"zbi\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"archive\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path\": \"build-archive.tgz\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"type\": \"tgz\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"archive\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path\": \"build-archive.zip\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"type\": \"zip\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"qemu-kernel\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path\": \"../default.zircon/multiboot.bin\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"type\": \"kernel\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"symbol-archive\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path\": \"symbol-archive.tgz\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"type\": \"tgz\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@]@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| "[START_DIR]/out/default/zedboot_images.json", |
| "/path/to/tmp/json" |
| ], |
| "name": "build.build fuchsia.read zedboot image manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@[@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bootserver_pave\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"--zircon-r\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"zircon-r\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path\": \"zircon-r.zbi\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"type\": \"zbi\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@]@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| "[START_DIR]/out/default/tests.json", |
| "/path/to/tmp/json" |
| ], |
| "name": "build.build fuchsia.read test spec manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@[@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"test\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"//public/lib/foo:foo_tests\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"os\": \"linux\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path\": \"path/on/disk/to/test\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"test\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"//lib/bar:bar_unittests\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"os\": \"fuchsia\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path\": \"path/on/fuchsia/to/test\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@]@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build.build fuchsia.ninja", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build.build fuchsia.ninja.pre_goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| "<LUCI_CONTEXT>", |
| "/path/to/tmp/json" |
| ], |
| "name": "build.build fuchsia.ninja.pre_goma.read context", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@" |
| ] |
| }, |
| { |
| "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.build fuchsia.ninja.pre_goma.write context", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@", |
| "@@@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.build fuchsia.ninja.pre_goma.start_goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@" |
| ] |
| }, |
| { |
| "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", |
| "boot.bin", |
| "legacy-host_tests", |
| "manifest-$cpu", |
| "multiboot.bin" |
| ], |
| "name": "build.build fuchsia.ninja.zircon", |
| "~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", |
| "-j", |
| "20", |
| "build/images:record_filesystem_sizes", |
| "build/images:system_snapshot", |
| "fuchsia.esp.blk", |
| "fuchsia.zbi", |
| "fvm.blk", |
| "fvm.sparse.blk", |
| "ids.txt", |
| "netboot.zbi", |
| "path/on/disk/to/test", |
| "zircon-r.zbi" |
| ], |
| "name": "build.build fuchsia.ninja.fuchsia", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build.build fuchsia.ninja.post_goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "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.build fuchsia.ninja.post_goma.goma_jsonstatus", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@", |
| "@@@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.build fuchsia.ninja.post_goma.goma_stat", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@" |
| ] |
| }, |
| { |
| "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.build fuchsia.ninja.post_goma.stop_goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/out/default.zircon/multiboot.bin", |
| "[START_DIR]/out/default/multiboot-created_by_recipe.bin" |
| ], |
| "infra_step": true, |
| "name": "build.build fuchsia.copy qemu-kernel to fuchsia build dir", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "filesizes", |
| "[START_DIR]/out/default/fvm.blk" |
| ], |
| "infra_step": true, |
| "name": "build.build fuchsia.fvm.blk size", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@filesizes@[START_DIR]/out/default/fvm.blk: \t111@@@", |
| "@@@STEP_LOG_END@filesizes@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/out/default.zircon/tools/fvm", |
| "[START_DIR]/out/default/fvm.blk", |
| "extend", |
| "--length", |
| "222" |
| ], |
| "name": "build.build fuchsia.fvm.blk extend", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "mkdir /tmp/infra-test-output\nwaitfor class=block topo=/dev/sys/pci/00:06.0/virtio-block/block timeout=60000\nmount /dev/sys/pci/00:06.0/virtio-block/block /tmp/infra-test-output\n/pkgfs/packages/topaz_benchmarks/0/bin/benchmarks.sh /tmp/infra-test-output --catapult-converter-args --bots topaz-builder --masters fuchsia.ci --execution-timestamp-ms 1337000001500 --log-url https://ci.chromium.org/p/fuchsia/builds/b123\numount /tmp/infra-test-output\ndm poweroff", |
| "[CLEANUP]/runcmds" |
| ], |
| "infra_step": true, |
| "name": "write runcmds", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@runcmds@mkdir /tmp/infra-test-output@@@", |
| "@@@STEP_LOG_LINE@runcmds@waitfor class=block topo=/dev/sys/pci/00:06.0/virtio-block/block timeout=60000@@@", |
| "@@@STEP_LOG_LINE@runcmds@mount /dev/sys/pci/00:06.0/virtio-block/block /tmp/infra-test-output@@@", |
| "@@@STEP_LOG_LINE@runcmds@/pkgfs/packages/topaz_benchmarks/0/bin/benchmarks.sh /tmp/infra-test-output --catapult-converter-args --bots topaz-builder --masters fuchsia.ci --execution-timestamp-ms 1337000001500 --log-url https://ci.chromium.org/p/fuchsia/builds/b123@@@", |
| "@@@STEP_LOG_LINE@runcmds@umount /tmp/infra-test-output@@@", |
| "@@@STEP_LOG_LINE@runcmds@dm poweroff@@@", |
| "@@@STEP_LOG_END@runcmds@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/out/default.zircon/tools/zbi", |
| "-o", |
| "[START_DIR]/out/default/test-infra.zbi", |
| "[START_DIR]/out/default/fuchsia.zbi", |
| "-e", |
| "infra/runcmds=[CLEANUP]/runcmds" |
| ], |
| "name": "create test zbi" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/out/default.zircon/tools/minfs", |
| "[CLEANUP]/isolate_tmp_2/output.fs@2G", |
| "create" |
| ], |
| "name": "create test image" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[\n {\n \"path\": \"multiboot-created_by_recipe.bin\", \n \"type\": \"kernel\", \n \"name\": \"qemu-kernel\"\n }, \n {\n \"path\": \"fvm.sparse.blk\", \n \"type\": \"blk\", \n \"name\": \"storage-sparse\", \n \"bootserver_pave\": [\n \"--fvm\"\n ]\n }, \n {\n \"path\": \"test-infra.zbi\", \n \"type\": \"zbi\", \n \"name\": \"zircon-a\", \n \"bootserver_pave\": [\n \"--boot\", \n \"--zircona\"\n ]\n }, \n {\n \"path\": \"fuchsia.esp.blk\", \n \"type\": \"blk\", \n \"name\": \"efi\", \n \"bootserver_pave\": [\n \"--efi\"\n ]\n }, \n {\n \"path\": \"zircon-r.zbi\", \n \"type\": \"zbi\", \n \"name\": \"zircon-r\", \n \"bootserver_pave\": [\n \"--zircon-r\"\n ]\n }, \n {\n \"path\": \"netboot.zbi\", \n \"bootserver_netboot\": [\n \"--boot\"\n ], \n \"type\": \"zbi\", \n \"name\": \"netboot\"\n }, \n {\n \"path\": \"fvm.blk\", \n \"type\": \"blk\", \n \"name\": \"storage-full\"\n }\n]", |
| "[CLEANUP]/isolate_tmp_2/images.json" |
| ], |
| "infra_step": true, |
| "name": "write image manifest", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@images.json@[@@@", |
| "@@@STEP_LOG_LINE@images.json@ {@@@", |
| "@@@STEP_LOG_LINE@images.json@ \"path\": \"multiboot-created_by_recipe.bin\", @@@", |
| "@@@STEP_LOG_LINE@images.json@ \"type\": \"kernel\", @@@", |
| "@@@STEP_LOG_LINE@images.json@ \"name\": \"qemu-kernel\"@@@", |
| "@@@STEP_LOG_LINE@images.json@ }, @@@", |
| "@@@STEP_LOG_LINE@images.json@ {@@@", |
| "@@@STEP_LOG_LINE@images.json@ \"path\": \"fvm.sparse.blk\", @@@", |
| "@@@STEP_LOG_LINE@images.json@ \"type\": \"blk\", @@@", |
| "@@@STEP_LOG_LINE@images.json@ \"name\": \"storage-sparse\", @@@", |
| "@@@STEP_LOG_LINE@images.json@ \"bootserver_pave\": [@@@", |
| "@@@STEP_LOG_LINE@images.json@ \"--fvm\"@@@", |
| "@@@STEP_LOG_LINE@images.json@ ]@@@", |
| "@@@STEP_LOG_LINE@images.json@ }, @@@", |
| "@@@STEP_LOG_LINE@images.json@ {@@@", |
| "@@@STEP_LOG_LINE@images.json@ \"path\": \"test-infra.zbi\", @@@", |
| "@@@STEP_LOG_LINE@images.json@ \"type\": \"zbi\", @@@", |
| "@@@STEP_LOG_LINE@images.json@ \"name\": \"zircon-a\", @@@", |
| "@@@STEP_LOG_LINE@images.json@ \"bootserver_pave\": [@@@", |
| "@@@STEP_LOG_LINE@images.json@ \"--boot\", @@@", |
| "@@@STEP_LOG_LINE@images.json@ \"--zircona\"@@@", |
| "@@@STEP_LOG_LINE@images.json@ ]@@@", |
| "@@@STEP_LOG_LINE@images.json@ }, @@@", |
| "@@@STEP_LOG_LINE@images.json@ {@@@", |
| "@@@STEP_LOG_LINE@images.json@ \"path\": \"fuchsia.esp.blk\", @@@", |
| "@@@STEP_LOG_LINE@images.json@ \"type\": \"blk\", @@@", |
| "@@@STEP_LOG_LINE@images.json@ \"name\": \"efi\", @@@", |
| "@@@STEP_LOG_LINE@images.json@ \"bootserver_pave\": [@@@", |
| "@@@STEP_LOG_LINE@images.json@ \"--efi\"@@@", |
| "@@@STEP_LOG_LINE@images.json@ ]@@@", |
| "@@@STEP_LOG_LINE@images.json@ }, @@@", |
| "@@@STEP_LOG_LINE@images.json@ {@@@", |
| "@@@STEP_LOG_LINE@images.json@ \"path\": \"zircon-r.zbi\", @@@", |
| "@@@STEP_LOG_LINE@images.json@ \"type\": \"zbi\", @@@", |
| "@@@STEP_LOG_LINE@images.json@ \"name\": \"zircon-r\", @@@", |
| "@@@STEP_LOG_LINE@images.json@ \"bootserver_pave\": [@@@", |
| "@@@STEP_LOG_LINE@images.json@ \"--zircon-r\"@@@", |
| "@@@STEP_LOG_LINE@images.json@ ]@@@", |
| "@@@STEP_LOG_LINE@images.json@ }, @@@", |
| "@@@STEP_LOG_LINE@images.json@ {@@@", |
| "@@@STEP_LOG_LINE@images.json@ \"path\": \"netboot.zbi\", @@@", |
| "@@@STEP_LOG_LINE@images.json@ \"bootserver_netboot\": [@@@", |
| "@@@STEP_LOG_LINE@images.json@ \"--boot\"@@@", |
| "@@@STEP_LOG_LINE@images.json@ ], @@@", |
| "@@@STEP_LOG_LINE@images.json@ \"type\": \"zbi\", @@@", |
| "@@@STEP_LOG_LINE@images.json@ \"name\": \"netboot\"@@@", |
| "@@@STEP_LOG_LINE@images.json@ }, @@@", |
| "@@@STEP_LOG_LINE@images.json@ {@@@", |
| "@@@STEP_LOG_LINE@images.json@ \"path\": \"fvm.blk\", @@@", |
| "@@@STEP_LOG_LINE@images.json@ \"type\": \"blk\", @@@", |
| "@@@STEP_LOG_LINE@images.json@ \"name\": \"storage-full\"@@@", |
| "@@@STEP_LOG_LINE@images.json@ }@@@", |
| "@@@STEP_LOG_LINE@images.json@]@@@", |
| "@@@STEP_LOG_END@images.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/symlink.py", |
| "--link-json", |
| "{\"[START_DIR]/out/default/fuchsia.esp.blk\": [\"[CLEANUP]/isolate_tmp_2/fuchsia.esp.blk\"], \"[START_DIR]/out/default/fvm.blk\": [\"[CLEANUP]/isolate_tmp_2/fvm.blk\"], \"[START_DIR]/out/default/fvm.sparse.blk\": [\"[CLEANUP]/isolate_tmp_2/fvm.sparse.blk\"], \"[START_DIR]/out/default/multiboot-created_by_recipe.bin\": [\"[CLEANUP]/isolate_tmp_2/multiboot-created_by_recipe.bin\"], \"[START_DIR]/out/default/netboot.zbi\": [\"[CLEANUP]/isolate_tmp_2/netboot.zbi\"], \"[START_DIR]/out/default/test-infra.zbi\": [\"[CLEANUP]/isolate_tmp_2/test-infra.zbi\"], \"[START_DIR]/out/default/zircon-r.zbi\": [\"[CLEANUP]/isolate_tmp_2/zircon-r.zbi\"]}" |
| ], |
| "infra_step": true, |
| "name": "create tree of build artifacts" |
| }, |
| { |
| "cmd": [], |
| "name": "ensure isolated" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/isolated_client", |
| "-ensure-file", |
| "infra/tools/luci/isolated/${platform} git_revision:81f8525a0214a266d8ad33d072a7b23c89d51752", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure isolated.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-git_revision:81f\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/isolated/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]/isolated_client/isolated", |
| "archive", |
| "-verbose", |
| "-isolate-server", |
| "https://example.isolateserver.appspot.com", |
| "-namespace", |
| "default-gzip", |
| "-dump-hash", |
| "/path/to/tmp/", |
| "-dirs", |
| "[CLEANUP]/isolate_tmp_2:." |
| ], |
| "infra_step": true, |
| "name": "isolate build artifacts", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@isolated UI@https://example.isolateserver.appspot.com/browse?namespace=default-gzip&hash=%5Bdummy+hash%5D@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ensure swarming" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/swarming_client", |
| "-ensure-file", |
| "infra/tools/luci/swarming/${platform} git_revision:fd7d55c05dac7486ba163c0d08827a0901afaa7b", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure swarming.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-git_revision:fd7\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/swarming/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]/swarming_client/swarming", |
| "spawn-tasks", |
| "-server", |
| "https://example.swarmingserver.appspot.com", |
| "-json-input", |
| "{\"requests\": [{\"name\": \"all tests\", \"priority\": \"200\", \"service_account\": \"\", \"task_slices\": [{\"expiration_secs\": \"600\", \"properties\": {\"cipd_input\": {\"packages\": [{\"package_name\": \"fuchsia/infra/botanist/linux-amd64\", \"path\": \".\", \"version\": \"git_revision:824474aef03ad7c27e18c40fe8a5187a742bda1d\"}, {\"package_name\": \"fuchsia/third_party/qemu/linux-amd64\", \"path\": \"qemu\", \"version\": \"git_revision:533bf2563d0213a7e002d9fcde75519d30ffa70f\"}]}, \"command\": [\"./botanist\", \"-level\", \"debug\", \"qemu\", \"-qemu-dir\", \"./qemu/bin\", \"-images\", \"images.json\", \"-arch\", \"x64\", \"-minfs\", \"output.fs\", \"-pci-addr\", \"06.0\", \"-use-kvm\", \"zircon.autorun.system=/boot/bin/sh+/boot/infra/runcmds\"], \"containment\": {\"containment_type\": \"NONE\", \"limit_processes\": \"0\", \"limit_total_committed_memory\": \"0\", \"lower_priority\": false}, \"dimensions\": [{\"key\": \"kvm\", \"value\": \"1\"}, {\"key\": \"os\", \"value\": \"Debian\"}, {\"key\": \"cpu\", \"value\": \"x64\"}, {\"key\": \"pool\", \"value\": \"fuchsia.tests\"}], \"env\": [], \"env_prefixes\": [], \"execution_timeout_secs\": \"2400\", \"grace_period_secs\": \"30\", \"idempotent\": false, \"inputs_ref\": {\"isolated\": \"[dummy hash]\", \"isolatedserver\": \"https://example.isolateserver.appspot.com\", \"namespace\": \"default-gzip\"}, \"io_timeout_secs\": \"180\", \"outputs\": [\"output.fs\"]}}], \"user\": null}]}", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "trigger 1 task", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tasks\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"request\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"all tests\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"0\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@task UI: all tests@https://example.swarmingserver.appspot.com/task?id=0@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/swarming_client/swarming", |
| "collect", |
| "-server", |
| "https://example.swarmingserver.appspot.com", |
| "-task-summary-json", |
| "/path/to/tmp/json", |
| "-task-output-stdout", |
| "json", |
| "-output-dir", |
| "[CLEANUP]/swarming_tmp_3", |
| "0" |
| ], |
| "infra_step": true, |
| "name": "collect", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"1\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"output\": \"hello world!\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"output.fs\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"results\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"duration\": 62.35, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"exit_code\": 0, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"test\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"outputs_ref\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"state\": \"COMPLETED\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"1\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LOG_LINE@task stdout+stderr: test@hello world!@@@", |
| "@@@STEP_LOG_END@task stdout+stderr: test@@@", |
| "@@@STEP_LINK@task isolated outputs: test@https://isolateserver.appspot.com/browse?namespace=default-gzip&hash=abc123@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "task results", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@symbolized logs@blah@@@", |
| "@@@STEP_LOG_LINE@symbolized logs@blah@@@", |
| "@@@STEP_LOG_END@symbolized logs@@@", |
| "@@@STEP_LOG_LINE@kernel log@hello world!@@@", |
| "@@@STEP_LOG_END@kernel log@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/prebuilt/tools/symbolize/linux-x64/symbolize", |
| "-level", |
| "debug", |
| "-ids", |
| "[START_DIR]/out/default/ids.txt", |
| "-llvm-symbolizer", |
| "[START_DIR]/prebuilt/third_party/clang/linux-x64/bin/llvm-symbolizer", |
| "-json-output", |
| "[CLEANUP]/symbolizer-output.json" |
| ], |
| "infra_step": true, |
| "name": "task results.symbolize logs", |
| "stdin": "hello world!", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@json.output[symbolizer-output.json] (invalid)@@@", |
| "@@@STEP_LOG_LINE@json.output[symbolizer-output.json] (exception)@No JSON object could be decoded@@@", |
| "@@@STEP_LOG_END@json.output[symbolizer-output.json] (exception)@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/out/default.zircon/tools/minfs", |
| "[CLEANUP]/swarming_tmp_3/1/output.fs", |
| "cp", |
| "::", |
| "[CLEANUP]/test_results/target/1" |
| ], |
| "infra_step": true, |
| "name": "extract results" |
| }, |
| { |
| "cmd": [], |
| "name": "all test results" |
| }, |
| { |
| "cmd": [], |
| "name": "ensure_catapult (2)" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd/catapult", |
| "-ensure-file", |
| "fuchsia/infra/catapult/${platform} latest", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure_catapult (2).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/infra/catapult/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": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[CLEANUP]/catapult_tmp_4", |
| "*.catapult_json" |
| ], |
| "infra_step": true, |
| "name": "locate catapult files", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@glob@[CLEANUP]/catapult_tmp_4/benchmark.catapult_json@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "upload benchmark.catapult_json" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/catapult/catapult", |
| "upload", |
| "-url", |
| "https://chromeperf.appspot.com", |
| "-timeout", |
| "60s", |
| "[CLEANUP]/catapult_tmp_4/benchmark.catapult_json" |
| ], |
| "name": "upload benchmark.catapult_json.catapult upload", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "failure": { |
| "failure": {}, |
| "humanReason": "Test summary JSON not found, see kernel log for details" |
| }, |
| "name": "$result" |
| } |
| ] |