| [ |
| { |
| "cmd": [], |
| "name": "download build artifacts" |
| }, |
| { |
| "cmd": [], |
| "name": "download build artifacts.ensure isolated", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "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": "download build artifacts.ensure isolated.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: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", |
| "download", |
| "-verbose", |
| "-isolate-server", |
| "https://example.isolateserver.appspot.com", |
| "-isolated", |
| "abc", |
| "-output-dir", |
| "[CLEANUP]/build-artifacts_tmp_1" |
| ], |
| "infra_step": true, |
| "name": "download build artifacts.download build_artifacts", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| "[CLEANUP]/build-artifacts_tmp_1/args.json", |
| "/path/to/tmp/json" |
| ], |
| "name": "download build artifacts.read args.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"build_type\": \"release\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"target\": \"x64\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"variants\": []@@@", |
| "@@@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", |
| "[CLEANUP]/build-artifacts_tmp_1/images.json", |
| "/path/to/tmp/json" |
| ], |
| "name": "download build artifacts.read images.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"netboot\": {@@@", |
| "@@@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@ \"zircon-a\": {@@@", |
| "@@@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_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| "[CLEANUP]/build-artifacts_tmp_1/shards.json", |
| "/path/to/tmp/json" |
| ], |
| "name": "download build artifacts.load test shards", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@json.output (invalid)@@@", |
| "@@@STEP_LOG_LINE@json.output (exception)@No JSON object could be decoded@@@", |
| "@@@STEP_LOG_END@json.output (exception)@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "isolate build artifacts" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "{\n \"variants\": [], \n \"target\": \"x64\", \n \"build_type\": \"release\"\n}", |
| "[START_DIR]/args.json" |
| ], |
| "infra_step": true, |
| "name": "isolate build artifacts.write args.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@args.json@{@@@", |
| "@@@STEP_LOG_LINE@args.json@ \"variants\": [], @@@", |
| "@@@STEP_LOG_LINE@args.json@ \"target\": \"x64\", @@@", |
| "@@@STEP_LOG_LINE@args.json@ \"build_type\": \"release\"@@@", |
| "@@@STEP_LOG_LINE@args.json@}@@@", |
| "@@@STEP_LOG_END@args.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "{\n \"netboot\": {\n \"path\": \"netboot.zbi\", \n \"bootserver_netboot\": [\n \"--boot\"\n ], \n \"type\": \"zbi\", \n \"name\": \"netboot\"\n }, \n \"zircon-a\": {\n \"path\": \"fuchsia.zbi\", \n \"type\": \"zbi\", \n \"name\": \"zircon-a\", \n \"bootserver_pave\": [\n \"--boot\", \n \"--zircona\"\n ]\n }\n}", |
| "[START_DIR]/images.json" |
| ], |
| "infra_step": true, |
| "name": "isolate build artifacts.write images.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@images.json@{@@@", |
| "@@@STEP_LOG_LINE@images.json@ \"netboot\": {@@@", |
| "@@@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@ \"zircon-a\": {@@@", |
| "@@@STEP_LOG_LINE@images.json@ \"path\": \"fuchsia.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_END@images.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[]", |
| "[START_DIR]/shards.json" |
| ], |
| "infra_step": true, |
| "name": "isolate build artifacts.write shards.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@shards.json@[]@@@", |
| "@@@STEP_LOG_END@shards.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/symlink.py", |
| "--link-json", |
| "{\"[CLEANUP]/build-artifacts_tmp_1/amber-files\": [\"[CLEANUP]/build_artifacts_tmp_2/amber-files\"], \"[CLEANUP]/build-artifacts_tmp_1/authorized_key\": [\"[CLEANUP]/build_artifacts_tmp_2/authorized_key\"], \"[CLEANUP]/build-artifacts_tmp_1/fuchsia.zbi\": [\"[CLEANUP]/build_artifacts_tmp_2/fuchsia.zbi\"], \"[CLEANUP]/build-artifacts_tmp_1/ids.txt\": [\"[CLEANUP]/build_artifacts_tmp_2/ids.txt\"], \"[CLEANUP]/build-artifacts_tmp_1/llvm_cov\": [\"[CLEANUP]/build_artifacts_tmp_2/llvm_cov\"], \"[CLEANUP]/build-artifacts_tmp_1/llvm_profdata\": [\"[CLEANUP]/build_artifacts_tmp_2/llvm_profdata\"], \"[CLEANUP]/build-artifacts_tmp_1/llvm_symbolizer\": [\"[CLEANUP]/build_artifacts_tmp_2/llvm_symbolizer\"], \"[CLEANUP]/build-artifacts_tmp_1/minfs\": [\"[CLEANUP]/build_artifacts_tmp_2/minfs\"], \"[CLEANUP]/build-artifacts_tmp_1/netboot.zbi\": [\"[CLEANUP]/build_artifacts_tmp_2/netboot.zbi\"], \"[CLEANUP]/build-artifacts_tmp_1/private_key\": [\"[CLEANUP]/build_artifacts_tmp_2/private_key\"], \"[CLEANUP]/build-artifacts_tmp_1/symbolize_tool\": [\"[CLEANUP]/build_artifacts_tmp_2/symbolize_tool\"], \"[CLEANUP]/build-artifacts_tmp_1/zbi\": [\"[CLEANUP]/build_artifacts_tmp_2/zbi\"], \"[START_DIR]/args.json\": [\"[CLEANUP]/build_artifacts_tmp_2/args.json\"], \"[START_DIR]/images.json\": [\"[CLEANUP]/build_artifacts_tmp_2/images.json\"], \"[START_DIR]/shards.json\": [\"[CLEANUP]/build_artifacts_tmp_2/shards.json\"]}" |
| ], |
| "infra_step": true, |
| "name": "isolate build artifacts.create_links", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/isolated_client/isolated", |
| "archive", |
| "-verbose", |
| "-isolate-server", |
| "https://example.isolateserver.appspot.com", |
| "-namespace", |
| "default-gzip", |
| "-dump-hash", |
| "/path/to/tmp/", |
| "-dirs", |
| "[CLEANUP]/build_artifacts_tmp_2:." |
| ], |
| "infra_step": true, |
| "name": "isolate build artifacts.isolate", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LINK@isolated UI@https://example.isolateserver.appspot.com/browse?namespace=default-gzip&hash=%5Bdummy+hash%5D@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "mkdir /tmp/infra-test-output\nruntests -o /tmp/infra-test-output ", |
| "[CLEANUP]/runcmds" |
| ], |
| "infra_step": true, |
| "name": "write runcmds", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@runcmds@mkdir /tmp/infra-test-output@@@", |
| "@@@STEP_LOG_LINE@runcmds@runtests -o /tmp/infra-test-output @@@", |
| "@@@STEP_LOG_END@runcmds@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CLEANUP]/build-artifacts_tmp_1/zbi", |
| "-o", |
| "[CLEANUP]/build-artifacts_tmp_1/test-infra.zbi", |
| "[CLEANUP]/build-artifacts_tmp_1/netboot.zbi", |
| "-e", |
| "infra/runcmds=[CLEANUP]/runcmds" |
| ], |
| "name": "create test zbi" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[\n {\n \"path\": \"test-infra.zbi\", \n \"bootserver_netboot\": [\n \"--boot\"\n ], \n \"type\": \"zbi\", \n \"name\": \"netboot\"\n }, \n {\n \"path\": \"fuchsia.zbi\", \n \"type\": \"zbi\", \n \"name\": \"zircon-a\", \n \"bootserver_pave\": [\n \"--boot\", \n \"--zircona\"\n ]\n }\n]", |
| "[CLEANUP]/isolate_tmp_3/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\": \"test-infra.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\": \"fuchsia.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_END@images.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/symlink.py", |
| "--link-json", |
| "{\"[CLEANUP]/build-artifacts_tmp_1/fuchsia.zbi\": [\"[CLEANUP]/isolate_tmp_3/fuchsia.zbi\"], \"[CLEANUP]/build-artifacts_tmp_1/test-infra.zbi\": [\"[CLEANUP]/isolate_tmp_3/test-infra.zbi\"]}" |
| ], |
| "infra_step": true, |
| "name": "create tree of build artifacts" |
| }, |
| { |
| "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_3:." |
| ], |
| "infra_step": true, |
| "name": "isolate build artifacts (2)", |
| "~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\"}]}, \"command\": [\"./botanist\", \"-level\", \"debug\", \"zedboot\", \"-config\", \"/etc/botanist/config.json\", \"-images\", \"images.json\", \"-results-dir\", \"/tmp/infra-test-output\", \"-out\", \"out.tar\", \"-netboot\", \"zircon.autorun.boot=/boot/bin/sh+/boot/infra/runcmds\"], \"containment\": {\"containment_type\": \"NONE\", \"limit_processes\": \"0\", \"limit_total_committed_memory\": \"0\", \"lower_priority\": false}, \"dimensions\": [{\"key\": \"pool\", \"value\": \"fuchsia.tests\"}, {\"key\": \"device_type\", \"value\": \"Intel NUC Kit NUC6i3SYK\"}], \"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\": [\"out.tar\"]}}], \"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_4", |
| "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@ \"output_dir\": \"output_dir\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"out.tar\"@@@", |
| "@@@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": [ |
| "[CLEANUP]/build-artifacts_tmp_1/symbolize_tool", |
| "-level", |
| "debug", |
| "-ids", |
| "[CLEANUP]/build-artifacts_tmp_1/ids.txt", |
| "-llvm-symbolizer", |
| "[CLEANUP]/build-artifacts_tmp_1/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": [], |
| "name": "ensure bsdtar" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd/bsdtar", |
| "-ensure-file", |
| "fuchsia/tools/bsdtar/${platform} latest", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure bsdtar.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/tools/bsdtar/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/bsdtar/bsdtar", |
| "--extract", |
| "--verbose", |
| "-f", |
| "[CLEANUP]/swarming_tmp_4/1/out.tar", |
| "-C", |
| "[CLEANUP]/test_results/target/1" |
| ], |
| "infra_step": true, |
| "name": "extract results" |
| }, |
| { |
| "cmd": [], |
| "name": "all test results", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@summary.json@{\"outputs\": {\"goodbye-txt\": \"goodbye.txt\"}, \"tests\": [{\"name\": \"hello\", \"output_file\": \"hello.out\", \"result\": \"PASS\"}, {\"name\": \"benchmark.catapult_json\", \"output_file\": \"benchmark.catapult_json\", \"result\": \"PASS\"}]}@@@", |
| "@@@STEP_LOG_END@summary.json@@@", |
| "@@@STEP_LOG_LINE@goodbye-txt@goodbye@@@", |
| "@@@STEP_LOG_END@goodbye-txt@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "all test results.all passed tests", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "all test results.all passed tests.hello", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@stdio@hello@@@", |
| "@@@STEP_LOG_END@stdio@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "all test results.all passed tests.benchmark.catapult_json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@stdio@[\"dummy_catapult_data\"]@@@", |
| "@@@STEP_LOG_END@stdio@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "upload test test results" |
| }, |
| { |
| "name": "$result" |
| } |
| ] |