| [ |
| { |
| "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:305e79001db1846906c7136d90a863bee5bd3bfc", |
| "-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:305\", @@@", |
| "@@@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@ \"board\": \"boards/x64.gni\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"build_type\": \"release\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"product\": \"products/core.gni\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"target\": \"arm64\", @@@", |
| "@@@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_LINE@json.output@[@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"deps\": [], @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"environment\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"dimensions\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"device_type\": \"QEMU\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"QEMU\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tests\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"install_path\": \"/path/to/hello\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"label\": \"//a/b/c:hello_test(//toolchain)\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"hello\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"os\": \"fuchsia\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package_url\": \"fuchsia-pkg://fuchsia.com/hello\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path\": \"/path/to/hello\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"install_path\": \"/path/to/goodbye\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"label\": \"//a/b/c:goodbye_test(//toolchain)\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"goodbye\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"os\": \"fuchsia\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package_url\": \"fuchsia-pkg://fuchsia.com/goodbye\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path\": \"/path/to/goodbye\"@@@", |
| "@@@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": "isolate build artifacts" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "{\n \"variants\": [], \n \"product\": \"products/core.gni\", \n \"target\": \"arm64\", \n \"board\": \"boards/x64.gni\", \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@ \"product\": \"products/core.gni\", @@@", |
| "@@@STEP_LOG_LINE@args.json@ \"target\": \"arm64\", @@@", |
| "@@@STEP_LOG_LINE@args.json@ \"board\": \"boards/x64.gni\", @@@", |
| "@@@STEP_LOG_LINE@args.json@ \"build_type\": \"release\"@@@", |
| "@@@STEP_LOG_LINE@args.json@}@@@", |
| "@@@STEP_LOG_END@args.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-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": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[\n {\n \"environment\": {\n \"dimensions\": {\n \"device_type\": \"QEMU\"\n }\n }, \n \"tests\": [\n {\n \"name\": \"hello\", \n \"install_path\": \"/path/to/hello\", \n \"label\": \"//a/b/c:hello_test(//toolchain)\", \n \"path\": \"/path/to/hello\", \n \"package_url\": \"fuchsia-pkg://fuchsia.com/hello\", \n \"os\": \"fuchsia\"\n }, \n {\n \"name\": \"goodbye\", \n \"install_path\": \"/path/to/goodbye\", \n \"label\": \"//a/b/c:goodbye_test(//toolchain)\", \n \"path\": \"/path/to/goodbye\", \n \"package_url\": \"fuchsia-pkg://fuchsia.com/goodbye\", \n \"os\": \"fuchsia\"\n }\n ], \n \"name\": \"QEMU\", \n \"deps\": []\n }\n]", |
| "[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_LINE@shards.json@ {@@@", |
| "@@@STEP_LOG_LINE@shards.json@ \"environment\": {@@@", |
| "@@@STEP_LOG_LINE@shards.json@ \"dimensions\": {@@@", |
| "@@@STEP_LOG_LINE@shards.json@ \"device_type\": \"QEMU\"@@@", |
| "@@@STEP_LOG_LINE@shards.json@ }@@@", |
| "@@@STEP_LOG_LINE@shards.json@ }, @@@", |
| "@@@STEP_LOG_LINE@shards.json@ \"tests\": [@@@", |
| "@@@STEP_LOG_LINE@shards.json@ {@@@", |
| "@@@STEP_LOG_LINE@shards.json@ \"name\": \"hello\", @@@", |
| "@@@STEP_LOG_LINE@shards.json@ \"install_path\": \"/path/to/hello\", @@@", |
| "@@@STEP_LOG_LINE@shards.json@ \"label\": \"//a/b/c:hello_test(//toolchain)\", @@@", |
| "@@@STEP_LOG_LINE@shards.json@ \"path\": \"/path/to/hello\", @@@", |
| "@@@STEP_LOG_LINE@shards.json@ \"package_url\": \"fuchsia-pkg://fuchsia.com/hello\", @@@", |
| "@@@STEP_LOG_LINE@shards.json@ \"os\": \"fuchsia\"@@@", |
| "@@@STEP_LOG_LINE@shards.json@ }, @@@", |
| "@@@STEP_LOG_LINE@shards.json@ {@@@", |
| "@@@STEP_LOG_LINE@shards.json@ \"name\": \"goodbye\", @@@", |
| "@@@STEP_LOG_LINE@shards.json@ \"install_path\": \"/path/to/goodbye\", @@@", |
| "@@@STEP_LOG_LINE@shards.json@ \"label\": \"//a/b/c:goodbye_test(//toolchain)\", @@@", |
| "@@@STEP_LOG_LINE@shards.json@ \"path\": \"/path/to/goodbye\", @@@", |
| "@@@STEP_LOG_LINE@shards.json@ \"package_url\": \"fuchsia-pkg://fuchsia.com/goodbye\", @@@", |
| "@@@STEP_LOG_LINE@shards.json@ \"os\": \"fuchsia\"@@@", |
| "@@@STEP_LOG_LINE@shards.json@ }@@@", |
| "@@@STEP_LOG_LINE@shards.json@ ], @@@", |
| "@@@STEP_LOG_LINE@shards.json@ \"name\": \"QEMU\", @@@", |
| "@@@STEP_LOG_LINE@shards.json@ \"deps\": []@@@", |
| "@@@STEP_LOG_LINE@shards.json@ }@@@", |
| "@@@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/arm64/botanist\": [\"[CLEANUP]/build_artifacts_tmp_2/arm64/botanist\"], \"[CLEANUP]/build-artifacts_tmp_1/arm64/testrunner\": [\"[CLEANUP]/build_artifacts_tmp_2/arm64/testrunner\"], \"[CLEANUP]/build-artifacts_tmp_1/authorized_key\": [\"[CLEANUP]/build_artifacts_tmp_2/authorized_key\"], \"[CLEANUP]/build-artifacts_tmp_1/bootserver\": [\"[CLEANUP]/build_artifacts_tmp_2/bootserver\"], \"[CLEANUP]/build-artifacts_tmp_1/covargs\": [\"[CLEANUP]/build_artifacts_tmp_2/covargs\"], \"[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-symbolizer\": [\"[CLEANUP]/build_artifacts_tmp_2/llvm-symbolizer\"], \"[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/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/tests.json\": [\"[CLEANUP]/build_artifacts_tmp_2/tests.json\"], \"[CLEANUP]/build-artifacts_tmp_1/x64/botanist\": [\"[CLEANUP]/build_artifacts_tmp_2/x64/botanist\"], \"[CLEANUP]/build-artifacts_tmp_1/x64/testrunner\": [\"[CLEANUP]/build_artifacts_tmp_2/x64/testrunner\"], \"[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": [ |
| "[CLEANUP]/build-artifacts_tmp_1/zbi", |
| "--output", |
| "[CLEANUP]/build-artifacts_tmp_1/fuchsia.zbi", |
| "[CLEANUP]/build-artifacts_tmp_1/fuchsia.zbi", |
| "--entry", |
| "data/ssh/authorized_keys=[CLEANUP]/build-artifacts_tmp_1/authorized_key" |
| ], |
| "name": "create zbi" |
| }, |
| { |
| "cmd": [], |
| "name": "shard QEMU" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[\n {\n \"name\": \"hello\", \n \"install_path\": \"/path/to/hello\", \n \"label\": \"//a/b/c:hello_test(//toolchain)\", \n \"path\": \"/path/to/hello\", \n \"package_url\": \"fuchsia-pkg://fuchsia.com/hello\", \n \"os\": \"fuchsia\"\n }, \n {\n \"name\": \"goodbye\", \n \"install_path\": \"/path/to/goodbye\", \n \"label\": \"//a/b/c:goodbye_test(//toolchain)\", \n \"path\": \"/path/to/goodbye\", \n \"package_url\": \"fuchsia-pkg://fuchsia.com/goodbye\", \n \"os\": \"fuchsia\"\n }\n]", |
| "[CLEANUP]/isolate_tmp_3/tests.json" |
| ], |
| "infra_step": true, |
| "name": "shard QEMU.write test manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@tests.json@[@@@", |
| "@@@STEP_LOG_LINE@tests.json@ {@@@", |
| "@@@STEP_LOG_LINE@tests.json@ \"name\": \"hello\", @@@", |
| "@@@STEP_LOG_LINE@tests.json@ \"install_path\": \"/path/to/hello\", @@@", |
| "@@@STEP_LOG_LINE@tests.json@ \"label\": \"//a/b/c:hello_test(//toolchain)\", @@@", |
| "@@@STEP_LOG_LINE@tests.json@ \"path\": \"/path/to/hello\", @@@", |
| "@@@STEP_LOG_LINE@tests.json@ \"package_url\": \"fuchsia-pkg://fuchsia.com/hello\", @@@", |
| "@@@STEP_LOG_LINE@tests.json@ \"os\": \"fuchsia\"@@@", |
| "@@@STEP_LOG_LINE@tests.json@ }, @@@", |
| "@@@STEP_LOG_LINE@tests.json@ {@@@", |
| "@@@STEP_LOG_LINE@tests.json@ \"name\": \"goodbye\", @@@", |
| "@@@STEP_LOG_LINE@tests.json@ \"install_path\": \"/path/to/goodbye\", @@@", |
| "@@@STEP_LOG_LINE@tests.json@ \"label\": \"//a/b/c:goodbye_test(//toolchain)\", @@@", |
| "@@@STEP_LOG_LINE@tests.json@ \"path\": \"/path/to/goodbye\", @@@", |
| "@@@STEP_LOG_LINE@tests.json@ \"package_url\": \"fuchsia-pkg://fuchsia.com/goodbye\", @@@", |
| "@@@STEP_LOG_LINE@tests.json@ \"os\": \"fuchsia\"@@@", |
| "@@@STEP_LOG_LINE@tests.json@ }@@@", |
| "@@@STEP_LOG_LINE@tests.json@]@@@", |
| "@@@STEP_LOG_END@tests.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[\n {\n \"target\": \"arm64\", \n \"kvm\": true, \n \"memory\": 8192, \n \"path\": \"./qemu/bin\", \n \"type\": \"qemu\", \n \"cpu\": 8\n }\n]", |
| "[CLEANUP]/isolate_tmp_3/qemu.json" |
| ], |
| "infra_step": true, |
| "name": "shard QEMU.write qemu config", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@qemu.json@[@@@", |
| "@@@STEP_LOG_LINE@qemu.json@ {@@@", |
| "@@@STEP_LOG_LINE@qemu.json@ \"target\": \"arm64\", @@@", |
| "@@@STEP_LOG_LINE@qemu.json@ \"kvm\": true, @@@", |
| "@@@STEP_LOG_LINE@qemu.json@ \"memory\": 8192, @@@", |
| "@@@STEP_LOG_LINE@qemu.json@ \"path\": \"./qemu/bin\", @@@", |
| "@@@STEP_LOG_LINE@qemu.json@ \"type\": \"qemu\", @@@", |
| "@@@STEP_LOG_LINE@qemu.json@ \"cpu\": 8@@@", |
| "@@@STEP_LOG_LINE@qemu.json@ }@@@", |
| "@@@STEP_LOG_LINE@qemu.json@]@@@", |
| "@@@STEP_LOG_END@qemu.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[\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": "shard QEMU.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\": \"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/arm64/botanist\": [\"[CLEANUP]/isolate_tmp_3/botanist\"], \"[CLEANUP]/build-artifacts_tmp_1/arm64/testrunner\": [\"[CLEANUP]/isolate_tmp_3/testrunner\"], \"[CLEANUP]/build-artifacts_tmp_1/bootserver\": [\"[CLEANUP]/isolate_tmp_3/bootserver\"], \"[CLEANUP]/build-artifacts_tmp_1/fuchsia.zbi\": [\"[CLEANUP]/isolate_tmp_3/fuchsia.zbi\"], \"[CLEANUP]/build-artifacts_tmp_1/llvm-symbolizer\": [\"[CLEANUP]/isolate_tmp_3/llvm-symbolizer\"], \"[CLEANUP]/build-artifacts_tmp_1/private_key\": [\"[CLEANUP]/isolate_tmp_3/private_key\"]}" |
| ], |
| "infra_step": true, |
| "name": "shard QEMU.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_3:." |
| ], |
| "infra_step": true, |
| "name": "shard QEMU.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": "launch/collect" |
| }, |
| { |
| "cmd": [], |
| "name": "launch/collect.0", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_SUMMARY_TEXT@1 launched, 1 passed@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "launch/collect.0.launch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "launch/collect.0.launch.QEMU (attempt 0)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LINK@Swarming task@https://example.swarmingserver.appspot.com/task?id=0@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "launch/collect.0.launch.QEMU (attempt 0).ensure swarming", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/swarming_client", |
| "-ensure-file", |
| "infra/tools/luci/swarming/${platform} git_revision:67b11ada44a625008a2db5cb49ad453494b16ba1", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "launch/collect.0.launch.QEMU (attempt 0).ensure swarming.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@5@@@", |
| "@@@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:67b\", @@@", |
| "@@@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\": \"QEMU\", \"priority\": \"200\", \"service_account\": \"\", \"tags\": [\"test_environment_name:QEMU-arm64\"], \"task_slices\": [{\"expiration_secs\": \"0\", \"properties\": {\"cipd_input\": {\"packages\": [{\"package_name\": \"fuchsia/third_party/qemu/${platform}\", \"path\": \"qemu\", \"version\": \"git_revision:533bf2563d0213a7e002d9fcde75519d30ffa70f\"}]}, \"command\": [\"./botanist\", \"-level\", \"debug\", \"run\", \"-images\", \"images.json\", \"-timeout\", \"0s\", \"-syslog\", \"syslog.txt\", \"-serial-log\", \"serial.txt\", \"-ssh\", \"private_key\", \"-config\", \"./qemu.json\", \"./testrunner\", \"-archive\", \"out.tar\", \"tests.json\"], \"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\": \"arm64\"}, {\"key\": \"pool\", \"value\": \"fuchsia.tests\"}], \"env\": [{\"key\": \"BUILD_PRODUCT\", \"value\": \"products/core.gni\"}, {\"key\": \"FUCHSIA_TEST_OUTDIR\", \"value\": \"${ISOLATED_OUTDIR}\"}, {\"key\": \"INPUT_COMMIT_HOST\", \"value\": \"fuchsia.googlesource.com\"}, {\"key\": \"LSAN_SYMBOLIZER_PATH\", \"value\": \"llvm-symbolizer\"}, {\"key\": \"BUILDBUCKET_BUCKET\", \"value\": \"ci\"}, {\"key\": \"BUILD_TARGET\", \"value\": \"arm64\"}, {\"key\": \"ASAN_SYMBOLIZER_PATH\", \"value\": \"llvm-symbolizer\"}, {\"key\": \"UBSAN_SYMBOLIZER_PATH\", \"value\": \"llvm-symbolizer\"}, {\"key\": \"INPUT_COMMIT_PROJECT\", \"value\": \"fuchsia\"}, {\"key\": \"BUILDER_NAME\", \"value\": \"builder\"}, {\"key\": \"INPUT_COMMIT_REF\", \"value\": \"refs/heads/master\"}, {\"key\": \"FUCHSIA_DEVICE_TYPE\", \"value\": \"QEMU\"}, {\"key\": \"BUILDBUCKET_ID\", \"value\": \"8945511751514863184\"}, {\"key\": \"BUILD_BOARD\", \"value\": \"boards/x64.gni\"}, {\"key\": \"BUILD_CREATE_TIME\", \"value\": \"1527292217\"}, {\"key\": \"BUILD_TYPE\", \"value\": \"release\"}], \"env_prefixes\": [], \"execution_timeout_secs\": \"0\", \"grace_period_secs\": \"30\", \"idempotent\": false, \"inputs_ref\": {\"isolated\": \"[dummy hash]\", \"isolatedserver\": \"https://example.isolateserver.appspot.com\", \"namespace\": \"default-gzip\"}, \"io_timeout_secs\": \"0\", \"outputs\": [\"syslog.txt\", \"serial.txt\", \"out.tar\"]}}]}]}", |
| "-json-output", |
| "/path/to/tmp/json", |
| "-cancel-extra-tasks" |
| ], |
| "infra_step": true, |
| "name": "launch/collect.0.launch.QEMU (attempt 0).trigger", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@", |
| "@@@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\": \"QEMU\"@@@", |
| "@@@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: QEMU@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": "launch/collect.0.collect", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"0\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"output\": \"hello world!\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"syslog.txt\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"serial.txt\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"out.tar\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"benchmark.catapult_json\"@@@", |
| "@@@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\": \"0\"@@@", |
| "@@@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": "launch/collect.0.process results", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "launch/collect.0.process results.QEMU", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@symbolized log@blah@@@", |
| "@@@STEP_LOG_LINE@symbolized log@blah@@@", |
| "@@@STEP_LOG_END@symbolized log@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CLEANUP]/build-artifacts_tmp_1/symbolize_tool", |
| "-llvm-symbolizer-restart-interval", |
| "2", |
| "-level", |
| "debug", |
| "-symbol-server", |
| "debug-symbols", |
| "-symbol-cache", |
| "[CACHE]/symbol", |
| "-llvm-symbolizer", |
| "[CLEANUP]/build-artifacts_tmp_1/llvm-symbolizer", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "launch/collect.0.process results.QEMU.symbolize logs", |
| "stdin": "hello world!", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@", |
| "@@@STEP_LOG_LINE@json.output[symbolizer-output.json]@{}@@@", |
| "@@@STEP_LOG_END@json.output[symbolizer-output.json]@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "launch/collect.0.process results.QEMU.check log serial.txt", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/swarming_tmp_4/0/serial.txt", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "launch/collect.0.process results.QEMU.check log serial.txt.read", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@5@@@", |
| "@@@STEP_LOG_END@serial.txt@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "launch/collect.0.process results.QEMU.ensure bsdtar", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@" |
| ] |
| }, |
| { |
| "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": "launch/collect.0.process results.QEMU.ensure bsdtar.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@5@@@", |
| "@@@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/0/out.tar", |
| "-C", |
| "[CLEANUP]/test_results/0" |
| ], |
| "infra_step": true, |
| "name": "launch/collect.0.process results.QEMU.extract", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[CLEANUP]/swarming_tmp_4/0/out.tar" |
| ], |
| "infra_step": true, |
| "name": "launch/collect.0.process results.QEMU.remove out.tar", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "launch/collect.0.process results.always pass", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "launch/collect.0.passed tasks", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "launch/collect.0.passed tasks.QEMU (attempt 0)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@summary.json@{@@@", |
| "@@@STEP_LOG_LINE@summary.json@ \"outputs\": {@@@", |
| "@@@STEP_LOG_LINE@summary.json@ \"goodbye-txt\": \"goodbye.txt\"@@@", |
| "@@@STEP_LOG_LINE@summary.json@ }, @@@", |
| "@@@STEP_LOG_LINE@summary.json@ \"tests\": [@@@", |
| "@@@STEP_LOG_LINE@summary.json@ {@@@", |
| "@@@STEP_LOG_LINE@summary.json@ \"name\": \"/path/to/hello\", @@@", |
| "@@@STEP_LOG_LINE@summary.json@ \"output_file\": \"hello.out\", @@@", |
| "@@@STEP_LOG_LINE@summary.json@ \"result\": \"PASS\"@@@", |
| "@@@STEP_LOG_LINE@summary.json@ }, @@@", |
| "@@@STEP_LOG_LINE@summary.json@ {@@@", |
| "@@@STEP_LOG_LINE@summary.json@ \"name\": \"/path/to/goodbye\", @@@", |
| "@@@STEP_LOG_LINE@summary.json@ \"output_file\": \"goodbye.out\", @@@", |
| "@@@STEP_LOG_LINE@summary.json@ \"result\": \"PASS\"@@@", |
| "@@@STEP_LOG_LINE@summary.json@ }@@@", |
| "@@@STEP_LOG_LINE@summary.json@ ]@@@", |
| "@@@STEP_LOG_LINE@summary.json@}@@@", |
| "@@@STEP_LOG_END@summary.json@@@", |
| "@@@STEP_LOG_LINE@symbolized log@blah@@@", |
| "@@@STEP_LOG_LINE@symbolized log@blah@@@", |
| "@@@STEP_LOG_END@symbolized log@@@", |
| "@@@STEP_LOG_LINE@goodbye-txt@goodbye@@@", |
| "@@@STEP_LOG_END@goodbye-txt@@@", |
| "@@@STEP_LOG_LINE@syslog.txt@extra log contents@@@", |
| "@@@STEP_LOG_END@syslog.txt@@@", |
| "@@@STEP_LOG_LINE@serial.txt@extra log contents@@@", |
| "@@@STEP_LOG_END@serial.txt@@@", |
| "@@@STEP_LINK@swarming task@https://example.swarmingserver.appspot.com/task?id=0@@@", |
| "@@@STEP_LINK@task outputs@https://isolateserver.appspot.com/browse?namespace=default-gzip&hash=abc123@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "launch/collect.0.passed tasks.QEMU (attempt 0).all passed tests", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@", |
| "@@@STEP_SUMMARY_TEXT@2 passed tests@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/swarming_tmp_4/0/syslog.txt", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "launch/collect.0.passed tasks.QEMU (attempt 0).read syslog.txt", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@", |
| "@@@STEP_LOG_LINE@syslog.txt@extra log contents@@@", |
| "@@@STEP_LOG_END@syslog.txt@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/swarming_tmp_4/0/serial.txt", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "launch/collect.0.passed tasks.QEMU (attempt 0).read serial.txt", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@", |
| "@@@STEP_LOG_LINE@serial.txt@extra log contents@@@", |
| "@@@STEP_LOG_END@serial.txt@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "passes", |
| "~followup_annotations": [ |
| "@@@STEP_SUMMARY_TEXT@1 passed@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "passes.QEMU", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "passes.QEMU.attempt 0 (pass)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@summary.json@{@@@", |
| "@@@STEP_LOG_LINE@summary.json@ \"outputs\": {@@@", |
| "@@@STEP_LOG_LINE@summary.json@ \"goodbye-txt\": \"goodbye.txt\"@@@", |
| "@@@STEP_LOG_LINE@summary.json@ }, @@@", |
| "@@@STEP_LOG_LINE@summary.json@ \"tests\": [@@@", |
| "@@@STEP_LOG_LINE@summary.json@ {@@@", |
| "@@@STEP_LOG_LINE@summary.json@ \"name\": \"/path/to/hello\", @@@", |
| "@@@STEP_LOG_LINE@summary.json@ \"output_file\": \"hello.out\", @@@", |
| "@@@STEP_LOG_LINE@summary.json@ \"result\": \"PASS\"@@@", |
| "@@@STEP_LOG_LINE@summary.json@ }, @@@", |
| "@@@STEP_LOG_LINE@summary.json@ {@@@", |
| "@@@STEP_LOG_LINE@summary.json@ \"name\": \"/path/to/goodbye\", @@@", |
| "@@@STEP_LOG_LINE@summary.json@ \"output_file\": \"goodbye.out\", @@@", |
| "@@@STEP_LOG_LINE@summary.json@ \"result\": \"PASS\"@@@", |
| "@@@STEP_LOG_LINE@summary.json@ }@@@", |
| "@@@STEP_LOG_LINE@summary.json@ ]@@@", |
| "@@@STEP_LOG_LINE@summary.json@}@@@", |
| "@@@STEP_LOG_END@summary.json@@@", |
| "@@@STEP_LOG_LINE@symbolized log@blah@@@", |
| "@@@STEP_LOG_LINE@symbolized log@blah@@@", |
| "@@@STEP_LOG_END@symbolized log@@@", |
| "@@@STEP_LOG_LINE@goodbye-txt@goodbye@@@", |
| "@@@STEP_LOG_END@goodbye-txt@@@", |
| "@@@STEP_LOG_LINE@syslog.txt@extra log contents@@@", |
| "@@@STEP_LOG_END@syslog.txt@@@", |
| "@@@STEP_LOG_LINE@serial.txt@extra log contents@@@", |
| "@@@STEP_LOG_END@serial.txt@@@", |
| "@@@STEP_LINK@swarming task@https://example.swarmingserver.appspot.com/task?id=0@@@", |
| "@@@STEP_LINK@task outputs@https://isolateserver.appspot.com/browse?namespace=default-gzip&hash=abc123@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "passes.QEMU.attempt 0 (pass).all passed tests", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_TEXT@<br/>/path/to/hello<br/>/path/to/goodbye@@@", |
| "@@@STEP_SUMMARY_TEXT@2 passed tests@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/swarming_tmp_4/0/syslog.txt", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "passes.QEMU.attempt 0 (pass).read syslog.txt", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@syslog.txt@extra log contents@@@", |
| "@@@STEP_LOG_END@syslog.txt@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/swarming_tmp_4/0/serial.txt", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "passes.QEMU.attempt 0 (pass).read serial.txt", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@serial.txt@extra log contents@@@", |
| "@@@STEP_LOG_END@serial.txt@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "flakes", |
| "~followup_annotations": [ |
| "@@@STEP_SUMMARY_TEXT@0 flaked@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "failures", |
| "~followup_annotations": [ |
| "@@@STEP_SUMMARY_TEXT@0 failed@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "all tasks passed" |
| }, |
| { |
| "cmd": [], |
| "name": "upload QEMU test results", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@go/fuchsia-result-store/bid:8945511751514863184@https://goto.google.com/fuchsia-result-store/bid:8945511751514863184@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "{\"outputs\": {\"goodbye-txt\": \"goodbye.txt\"}, \"tests\": [{\"output_file\": \"hello.out\", \"name\": \"/path/to/hello\", \"result\": \"PASS\"}, {\"output_file\": \"goodbye.out\", \"name\": \"/path/to/goodbye\", \"result\": \"PASS\"}]}", |
| "[CLEANUP]/swarming_tmp_4/0/summary.json" |
| ], |
| "infra_step": true, |
| "name": "upload QEMU test results.write summary.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@summary.json@{\"outputs\": {\"goodbye-txt\": \"goodbye.txt\"}, \"tests\": [{\"output_file\": \"hello.out\", \"name\": \"/path/to/hello\", \"result\": \"PASS\"}, {\"output_file\": \"goodbye.out\", \"name\": \"/path/to/goodbye\", \"result\": \"PASS\"}]}@@@", |
| "@@@STEP_LOG_END@summary.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "upload QEMU test results.ensure gsutil", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd/gsutil", |
| "-ensure-file", |
| "infra/gsutil version:4.41", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "upload QEMU test results.ensure gsutil.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-version:4.41----\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/gsutil\"@@@", |
| "@@@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": [ |
| "vpython", |
| "-vpython-spec", |
| "RECIPE_MODULE[fuchsia::gsutil]/resources/gsutil.vpython", |
| "-u", |
| "[START_DIR]/cipd/gsutil/gsutil", |
| "-o", |
| "GSUtil:software_update_check_period=0", |
| "-m", |
| "rsync", |
| "-r", |
| "[CLEANUP]/swarming_tmp_4/0", |
| "gs://fuchsia_infra/builds/8945511751514863184/QEMU" |
| ], |
| "infra_step": true, |
| "name": "upload QEMU test results.upload QEMU to fuchsia_infra", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LINK@QEMU@https://console.cloud.google.com/storage/browser/fuchsia_infra/builds/8945511751514863184/QEMU@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[CLEANUP]/swarming_tmp_4/0", |
| "*.catapult_json" |
| ], |
| "infra_step": true, |
| "name": "upload QEMU test results.locate catapult files", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@glob@[CLEANUP]/swarming_tmp_4/0/benchmark.catapult_json@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "upload QEMU test results.upload benchmark.catapult_json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "upload QEMU test results.upload benchmark.catapult_json.ensure catapult", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@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": "upload QEMU test results.upload benchmark.catapult_json.ensure catapult.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-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": [ |
| "[START_DIR]/cipd/catapult/catapult", |
| "upload", |
| "-url", |
| "https://chromeperf.appspot.com", |
| "-timeout", |
| "60s", |
| "[CLEANUP]/swarming_tmp_4/0/benchmark.catapult_json" |
| ], |
| "infra_step": true, |
| "name": "upload QEMU test results.upload benchmark.catapult_json.catapult upload", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "check log QEMU:serial.txt" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/swarming_tmp_4/0/serial.txt", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "check log QEMU:serial.txt.read serial.txt", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@serial.txt@extra log contents@@@", |
| "@@@STEP_LOG_END@serial.txt@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |