blob: 8eff860b0b7012be5340fd6046db91450028d701 [file] [log] [blame]
[
{
"cmd": [],
"name": "build",
"~followup_annotations": [
"@@@STEP_LINK@builder-subbuild@https://ci.chromium.org/b/8945511751514863184@@@"
]
},
{
"cmd": [
"bb",
"batch",
"-host",
"cr-buildbucket.appspot.com"
],
"infra_step": true,
"name": "build.schedule",
"stdin": "{\"requests\": [{\"scheduleBuild\": {\"builder\": {\"bucket\": \"ci\", \"builder\": \"builder-subbuild\", \"project\": \"fuchsia\"}, \"fields\": \"builder,createTime,createdBy,critical,endTime,id,input,number,output,startTime,status,updateTime\", \"gitilesCommit\": {\"host\": \"fuchsia.googlesource.com\", \"id\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\", \"project\": \"fuchsia\", \"ref\": \"refs/heads/master\"}, \"properties\": {\"gcs_bucket\": \"###fuchsia-build###\", \"parent_id\": \"8945511751514863184\"}, \"requestId\": \"8945511751514863184-00000000-0000-0000-0000-000000001337\", \"tags\": [{\"key\": \"user_agent\", \"value\": \"recipe\"}]}}]}",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"responses\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"scheduleBuild\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"id\": \"8945511751514863184\"@@@",
"@@@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@@@",
"@@@STEP_LOG_LINE@request@{@@@",
"@@@STEP_LOG_LINE@request@ \"requests\": [@@@",
"@@@STEP_LOG_LINE@request@ {@@@",
"@@@STEP_LOG_LINE@request@ \"scheduleBuild\": {@@@",
"@@@STEP_LOG_LINE@request@ \"builder\": {@@@",
"@@@STEP_LOG_LINE@request@ \"bucket\": \"ci\", @@@",
"@@@STEP_LOG_LINE@request@ \"builder\": \"builder-subbuild\", @@@",
"@@@STEP_LOG_LINE@request@ \"project\": \"fuchsia\"@@@",
"@@@STEP_LOG_LINE@request@ }, @@@",
"@@@STEP_LOG_LINE@request@ \"fields\": \"builder,createTime,createdBy,critical,endTime,id,input,number,output,startTime,status,updateTime\", @@@",
"@@@STEP_LOG_LINE@request@ \"gitilesCommit\": {@@@",
"@@@STEP_LOG_LINE@request@ \"host\": \"fuchsia.googlesource.com\", @@@",
"@@@STEP_LOG_LINE@request@ \"id\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\", @@@",
"@@@STEP_LOG_LINE@request@ \"project\": \"fuchsia\", @@@",
"@@@STEP_LOG_LINE@request@ \"ref\": \"refs/heads/master\"@@@",
"@@@STEP_LOG_LINE@request@ }, @@@",
"@@@STEP_LOG_LINE@request@ \"properties\": {@@@",
"@@@STEP_LOG_LINE@request@ \"gcs_bucket\": \"###fuchsia-build###\", @@@",
"@@@STEP_LOG_LINE@request@ \"parent_id\": \"8945511751514863184\"@@@",
"@@@STEP_LOG_LINE@request@ }, @@@",
"@@@STEP_LOG_LINE@request@ \"requestId\": \"8945511751514863184-00000000-0000-0000-0000-000000001337\", @@@",
"@@@STEP_LOG_LINE@request@ \"tags\": [@@@",
"@@@STEP_LOG_LINE@request@ {@@@",
"@@@STEP_LOG_LINE@request@ \"key\": \"user_agent\", @@@",
"@@@STEP_LOG_LINE@request@ \"value\": \"recipe\"@@@",
"@@@STEP_LOG_LINE@request@ }@@@",
"@@@STEP_LOG_LINE@request@ ]@@@",
"@@@STEP_LOG_LINE@request@ }@@@",
"@@@STEP_LOG_LINE@request@ }@@@",
"@@@STEP_LOG_LINE@request@ ]@@@",
"@@@STEP_LOG_LINE@request@}@@@",
"@@@STEP_LOG_END@request@@@",
"@@@STEP_LINK@8945511751514863184@https://cr-buildbucket.appspot.com/build/8945511751514863184@@@"
]
},
{
"cmd": [],
"name": "build.collect",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"bb",
"collect",
"-host",
"cr-buildbucket.appspot.com",
"-interval",
"60s",
"8945511751514863184"
],
"infra_step": true,
"name": "build.collect.wait",
"timeout": 3600,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"bb",
"batch",
"-host",
"cr-buildbucket.appspot.com"
],
"infra_step": true,
"name": "build.collect.get",
"stdin": "{\"requests\": [{\"getBuild\": {\"fields\": \"builder,createTime,createdBy,critical,endTime,id,input,number,output,startTime,status,updateTime\", \"id\": \"8945511751514863184\"}}]}",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"responses\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"getBuild\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"builder\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"bucket\": \"ci\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"builder\": \"builder\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"project\": \"project\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"createTime\": \"2018-05-25T23:50:17Z\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"createdBy\": \"user:luci-scheduler@appspot.gserviceaccount.com\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"id\": \"8945511751514863184\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"input\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"gitilesCommit\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"host\": \"chromium.googlesource.com\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"id\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"project\": \"project\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"ref\": \"refs/heads/master\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"output\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"build_artifact_hash\": \"abc\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"status\": \"SUCCESS\"@@@",
"@@@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@@@",
"@@@STEP_LOG_LINE@request@{@@@",
"@@@STEP_LOG_LINE@request@ \"requests\": [@@@",
"@@@STEP_LOG_LINE@request@ {@@@",
"@@@STEP_LOG_LINE@request@ \"getBuild\": {@@@",
"@@@STEP_LOG_LINE@request@ \"fields\": \"builder,createTime,createdBy,critical,endTime,id,input,number,output,startTime,status,updateTime\", @@@",
"@@@STEP_LOG_LINE@request@ \"id\": \"8945511751514863184\"@@@",
"@@@STEP_LOG_LINE@request@ }@@@",
"@@@STEP_LOG_LINE@request@ }@@@",
"@@@STEP_LOG_LINE@request@ ]@@@",
"@@@STEP_LOG_LINE@request@}@@@",
"@@@STEP_LOG_END@request@@@",
"@@@STEP_LINK@8945511751514863184@https://cr-buildbucket.appspot.com/build/8945511751514863184@@@"
]
},
{
"cmd": [],
"name": "build.download build artifacts",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "build.download build artifacts.ensure isolated",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"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": "build.download build artifacts.ensure isolated.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-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": "build.download build artifacts.download build_artifacts",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"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": "build.download build artifacts.read args.json",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"build_type\": \"build_type\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"target\": \"x64\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"variants\": \"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": "build.download build artifacts.read images.json",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@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": "build.download build artifacts.load test shards",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@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": "test",
"~followup_annotations": [
"@@@STEP_FAILURE@@@"
]
},
{
"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\nruntests -o /tmp/infra-test-output \numount /tmp/infra-test-output\ndm poweroff",
"[CLEANUP]/runcmds"
],
"infra_step": true,
"name": "test.write runcmds",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@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@runtests -o /tmp/infra-test-output @@@",
"@@@STEP_LOG_LINE@runcmds@umount /tmp/infra-test-output@@@",
"@@@STEP_LOG_LINE@runcmds@dm poweroff@@@",
"@@@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/fuchsia.zbi",
"-e",
"infra/runcmds=[CLEANUP]/runcmds"
],
"name": "test.create test zbi",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "test.ensure_cloudkms",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd/cloudkms",
"-ensure-file",
"infra/tools/luci/cloudkms/${platform} latest",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "test.ensure_cloudkms.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-latest----------\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/cloudkms/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": "test.process secret specs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"listdir",
"[CLEANUP]/build-artifacts_tmp_1/secret_specs"
],
"infra_step": true,
"name": "test.process secret specs.list",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_END@listdir@@@"
]
},
{
"cmd": [
"[CLEANUP]/build-artifacts_tmp_1/minfs",
"[CLEANUP]/isolate_tmp_2/output.fs@2G",
"create"
],
"name": "test.create test image",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[\n {\n \"path\": \"netboot.zbi\", \n \"bootserver_netboot\": [\n \"--boot\"\n ], \n \"type\": \"zbi\", \n \"name\": \"netboot\"\n }, \n {\n \"path\": \"test-infra.zbi\", \n \"type\": \"zbi\", \n \"name\": \"zircon-a\", \n \"bootserver_pave\": [\n \"--boot\", \n \"--zircona\"\n ]\n }\n]",
"[CLEANUP]/isolate_tmp_2/images.json"
],
"infra_step": true,
"name": "test.write image manifest",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@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\": \"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_END@images.json@@@"
]
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/symlink.py",
"--link-json",
"{\"[CLEANUP]/build-artifacts_tmp_1/netboot.zbi\": [\"[CLEANUP]/isolate_tmp_2/netboot.zbi\"], \"[CLEANUP]/build-artifacts_tmp_1/test-infra.zbi\": [\"[CLEANUP]/isolate_tmp_2/test-infra.zbi\"]}"
],
"infra_step": true,
"name": "test.create tree of build artifacts",
"~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]/isolate_tmp_2:."
],
"infra_step": true,
"name": "test.isolate build artifacts",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@isolated UI@https://example.isolateserver.appspot.com/browse?namespace=default-gzip&hash=%5Bdummy+hash%5D@@@"
]
},
{
"cmd": [],
"name": "test.ensure swarming",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"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": "test.ensure swarming.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: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.boot=/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\"], \"secret_bytes\": \"e30=\"}}], \"user\": null}]}",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "test.trigger 1 task",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@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": "test.collect",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"610\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"output\": \"hello world!\", @@@",
"@@@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\": \"QEMU\", @@@",
"@@@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\": \"610\"@@@",
"@@@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: QEMU@hello world!@@@",
"@@@STEP_LOG_END@task stdout+stderr: QEMU@@@",
"@@@STEP_LINK@task isolated outputs: QEMU@https://isolateserver.appspot.com/browse?namespace=default-gzip&hash=abc123@@@"
]
},
{
"cmd": [],
"name": "test.task results",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@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": "test.task results.symbolize logs",
"stdin": "hello world!",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@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": [
"[CLEANUP]/build-artifacts_tmp_1/minfs",
"[CLEANUP]/swarming_tmp_3/610/out.tar",
"cp",
"::",
"[CLEANUP]/test_results/target/610"
],
"infra_step": true,
"name": "test.extract results",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "test.all test results",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "test.upload QEMU test results",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"failure": {
"failure": {},
"humanReason": "Test summary JSON not found, see kernel log for details"
},
"name": "$result"
}
]