blob: 371ee53c94ea9b6ea42b0ea0c9ec7ecc3474da40 [file] [log] [blame]
[
{
"cmd": [],
"name": "load spec",
"~followup_annotations": [
"@@@STEP_TEXT@loading spec@@@",
"@@@STEP_LOG_LINE@textproto@checkout {@@@",
"@@@STEP_LOG_LINE@textproto@ manifest: \"manifest\"@@@",
"@@@STEP_LOG_LINE@textproto@ remote: \"remote\"@@@",
"@@@STEP_LOG_LINE@textproto@}@@@",
"@@@STEP_LOG_LINE@textproto@build {@@@",
"@@@STEP_LOG_LINE@textproto@ build_type: \"debug\"@@@",
"@@@STEP_LOG_LINE@textproto@ board: \"boards/x64.gni\"@@@",
"@@@STEP_LOG_LINE@textproto@ product: \"products/core.gni\"@@@",
"@@@STEP_LOG_LINE@textproto@ run_tests: true@@@",
"@@@STEP_LOG_LINE@textproto@ target: \"x64\"@@@",
"@@@STEP_LOG_LINE@textproto@ variants: \"profile\"@@@",
"@@@STEP_LOG_LINE@textproto@}@@@",
"@@@STEP_LOG_LINE@textproto@test {@@@",
"@@@STEP_LOG_LINE@textproto@ pool: \"fuchsia.tests\"@@@",
"@@@STEP_LOG_LINE@textproto@ swarming_expiration_timeout_secs: 18000@@@",
"@@@STEP_LOG_LINE@textproto@ swarming_io_timeout_secs: 180@@@",
"@@@STEP_LOG_LINE@textproto@ test_in_shards: true@@@",
"@@@STEP_LOG_LINE@textproto@ timeout_secs: 1800@@@",
"@@@STEP_LOG_LINE@textproto@}@@@",
"@@@STEP_LOG_LINE@textproto@gcs_bucket: \"fuchsia-build\"@@@",
"@@@STEP_LOG_LINE@textproto@@@@",
"@@@STEP_LOG_END@textproto@@@",
"@@@SET_BUILD_PROPERTY@gcs_bucket@\"fuchsia-build\"@@@"
]
},
{
"cmd": [],
"name": "load spec.ensure_build_init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd/build_init",
"-ensure-file",
"fuchsia/infra/build_init/${platform} git_revision:a1149116962cf648718df0bcc8b4e85f47ce3763",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "load spec.ensure_build_init.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:a11\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/infra/build_init/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/build_init/build_init",
"-spec_remote",
"http://fuchsia.googlesource.com/integration",
"-spec_path",
"infra/config/generated/fuchsia/specs/ci/builder.textproto"
],
"cwd": "[CLEANUP]/build_init_workspace_tmp_1",
"name": "load spec.build_init",
"stdin": "CNDsgNmu8bWSfBIWCgdmdWNoc2lhEgJjaRoHYnVpbGRlciIvdXNlcjpsdWNpLXNjaGVkdWxlckBhcHBzcG90LmdzZXJ2aWNlYWNjb3VudC5jb20yBgi5wqLYBXpiEmAKGGZ1Y2hzaWEuZ29vZ2xlc291cmNlLmNvbRIHZnVjaHNpYRooMmQ3MjUxMGU0NDdhYjYwYTk3MjhhZWVhMjM2MmQ4YmUyY2JkNzc4OSIRcmVmcy9oZWFkcy9tYXN0ZXI=",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout"
},
{
"cmd": [],
"name": "checkout.ensure jiri",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd/jiri",
"-ensure-file",
"fuchsia/tools/jiri/${platform} git_revision:f8eeec817df858e148165f92648acaa1da29a052",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "checkout.ensure jiri.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-git_revision:f8e\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/tools/jiri/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd/jiri/jiri",
"init",
"-vv",
"-time",
"-j=50",
"-analytics-opt=false",
"-rewrite-sso-to-https=true",
"-cache",
"[CACHE]/git",
"-partial"
],
"name": "checkout.jiri init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd/jiri/jiri",
"import",
"-vv",
"-time",
"-j=50",
"-revision",
"HEAD",
"manifest",
"remote"
],
"name": "checkout.jiri import",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd/jiri/jiri",
"override",
"-vv",
"-time",
"-j=50",
"-revision",
"2d72510e447ab60a9728aeea2362d8be2cbd7789",
"fuchsia",
"://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": [],
"name": "upload checkout results"
},
{
"cmd": [],
"name": "upload checkout 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 checkout 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[infra::gsutil]/resources/gsutil.vpython",
"-u",
"[START_DIR]/cipd/gsutil/gsutil",
"-o",
"GSUtil:software_update_check_period=0",
"cp",
"[CLEANUP]/jiri.snapshot",
"gs://fuchsia-build/builds/8945511751514863184/jiri.snapshot"
],
"infra_step": true,
"name": "upload checkout results.upload jiri.snapshot to fuchsia-build",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@jiri.snapshot@https://storage.cloud.google.com/fuchsia-build/builds/8945511751514863184/jiri.snapshot@@@"
]
},
{
"cmd": [],
"name": "validate checkout"
},
{
"cmd": [
"[START_DIR]/cipd/jiri/jiri",
"project",
"-vv",
"-time",
"-j=50",
"-json-output",
"/path/to/tmp/json",
"fuchsia"
],
"name": "validate checkout.jiri project",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@[@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"branches\": [@@@",
"@@@STEP_LOG_LINE@json.output@ \"(HEAD detached at c22471f)\"@@@",
"@@@STEP_LOG_LINE@json.output@ ], @@@",
"@@@STEP_LOG_LINE@json.output@ \"current_branch\": \"\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"name\": \"fuchsia\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"path\": \"path/to/fuchsia\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"remote\": \"https://fuchsia.googlesource.com/fuchsia\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"c22471f4e3f842ae18dd9adec82ed9eb78ed1127\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@]@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"python",
"-u",
"[START_DIR]/scripts/style/verify-fidl-libraries.py",
"--repo",
"path/to/fuchsia"
],
"name": "validate checkout.validate FIDL namespaces",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"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=import(\"//boards/x64.gni\") import(\"//products/core.gni\") goma_dir=\"[CACHE]/goma/client\" is_debug=true select_variant=[\"profile\"] target_cpu=\"x64\" use_goma=true zircon_tracelog=\"[CLEANUP]/zircon_gn_trace.json\"",
"--tracelog=[CLEANUP]/gn_trace.json"
],
"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_2"
],
"infra_step": true,
"name": "build.build fuchsia.ninja.pre_goma.write context",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@STEP_LOG_LINE@luci_context._tmp_2@{\"local_auth\": {\"accounts\": [{\"email\": \"some@example.com\", \"id\": \"test\"}], \"default_account_id\": \"system\"}}@@@",
"@@@STEP_LOG_END@luci_context._tmp_2@@@"
]
},
{
"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_2"
},
"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-archive.tgz",
"build/gn:package_archive",
"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_2"
},
"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_2"
},
"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_2"
},
"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": [],
"name": "upload build results"
},
{
"cmd": [
"vpython",
"-vpython-spec",
"RECIPE_MODULE[infra::gsutil]/resources/gsutil.vpython",
"-u",
"[START_DIR]/cipd/gsutil/gsutil",
"-o",
"GSUtil:software_update_check_period=0",
"cp",
"[START_DIR]/out/default/packages.tar.gz",
"gs://fuchsia-build/builds/8945511751514863184/packages.tar.gz"
],
"infra_step": true,
"name": "upload build results.upload packages.tar.gz to fuchsia-build",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@packages.tar.gz@https://storage.cloud.google.com/fuchsia-build/builds/8945511751514863184/packages.tar.gz@@@"
]
},
{
"cmd": [
"vpython",
"-vpython-spec",
"RECIPE_MODULE[infra::gsutil]/resources/gsutil.vpython",
"-u",
"[START_DIR]/cipd/gsutil/gsutil",
"-o",
"GSUtil:software_update_check_period=0",
"cp",
"[START_DIR]/out/default/build-archive.tgz",
"gs://fuchsia-build/builds/8945511751514863184/build-archive.tgz"
],
"infra_step": true,
"name": "upload build results.upload build-archive.tgz to fuchsia-build",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@build-archive.tgz@https://storage.cloud.google.com/fuchsia-build/builds/8945511751514863184/build-archive.tgz@@@"
]
},
{
"cmd": [],
"name": "upload build results.ensure ninjatrace",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CLEANUP]/cipd",
"-ensure-file",
"fuchsia/tools/ninjatrace/${platform} latest",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "upload build results.ensure ninjatrace.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\": \"fuchsia/tools/ninjatrace/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",
"[START_DIR]/third_party/catapult/tracing/bin/trace2html",
"--output",
"[CLEANUP]/gn_trace.html",
"[CLEANUP]/gn_trace.json"
],
"name": "upload build results.gn trace2html",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"python",
"-u",
"[START_DIR]/third_party/catapult/tracing/bin/trace2html",
"--output",
"[CLEANUP]/zircon_gn_trace.html",
"[CLEANUP]/zircon_gn_trace.json"
],
"name": "upload build results.gn trace2html (2)",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CLEANUP]/cipd/ninjatrace",
"-filename",
"[START_DIR]/out/default/.ninja_log",
"-trace-json",
"[CLEANUP]/ninja_trace.json"
],
"name": "upload build results.ninja tracing",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"python",
"-u",
"[START_DIR]/third_party/catapult/tracing/bin/trace2html",
"--output",
"[CLEANUP]/ninja_trace.html",
"[CLEANUP]/ninja_trace.json"
],
"name": "upload build results.ninja trace2html",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CLEANUP]/cipd/ninjatrace",
"-filename",
"[START_DIR]/out/default.zircon/.ninja_log",
"-trace-json",
"[CLEANUP]/zircon_ninja_trace.json"
],
"name": "upload build results.ninja tracing (2)",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"python",
"-u",
"[START_DIR]/third_party/catapult/tracing/bin/trace2html",
"--output",
"[CLEANUP]/zircon_ninja_trace.html",
"[CLEANUP]/zircon_ninja_trace.json"
],
"name": "upload build results.ninja trace2html (2)",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-vpython-spec",
"RECIPE_MODULE[infra::gsutil]/resources/gsutil.vpython",
"-u",
"[START_DIR]/cipd/gsutil/gsutil",
"-o",
"GSUtil:software_update_check_period=0",
"cp",
"[CLEANUP]/gn_trace.html",
"gs://fuchsia-build/builds/8945511751514863184/gn_trace.html"
],
"infra_step": true,
"name": "upload build results.upload gn_trace.html to fuchsia-build",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@gn_trace.html@https://storage.cloud.google.com/fuchsia-build/builds/8945511751514863184/gn_trace.html@@@"
]
},
{
"cmd": [
"vpython",
"-vpython-spec",
"RECIPE_MODULE[infra::gsutil]/resources/gsutil.vpython",
"-u",
"[START_DIR]/cipd/gsutil/gsutil",
"-o",
"GSUtil:software_update_check_period=0",
"cp",
"[CLEANUP]/zircon_gn_trace.html",
"gs://fuchsia-build/builds/8945511751514863184/zircon_gn_trace.html"
],
"infra_step": true,
"name": "upload build results.upload zircon_gn_trace.html to fuchsia-build",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@zircon_gn_trace.html@https://storage.cloud.google.com/fuchsia-build/builds/8945511751514863184/zircon_gn_trace.html@@@"
]
},
{
"cmd": [
"vpython",
"-vpython-spec",
"RECIPE_MODULE[infra::gsutil]/resources/gsutil.vpython",
"-u",
"[START_DIR]/cipd/gsutil/gsutil",
"-o",
"GSUtil:software_update_check_period=0",
"cp",
"[CLEANUP]/ninja_trace.html",
"gs://fuchsia-build/builds/8945511751514863184/ninja_trace.html"
],
"infra_step": true,
"name": "upload build results.upload ninja_trace.html to fuchsia-build",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@ninja_trace.html@https://storage.cloud.google.com/fuchsia-build/builds/8945511751514863184/ninja_trace.html@@@"
]
},
{
"cmd": [
"vpython",
"-vpython-spec",
"RECIPE_MODULE[infra::gsutil]/resources/gsutil.vpython",
"-u",
"[START_DIR]/cipd/gsutil/gsutil",
"-o",
"GSUtil:software_update_check_period=0",
"cp",
"[CLEANUP]/zircon_ninja_trace.html",
"gs://fuchsia-build/builds/8945511751514863184/zircon_ninja_trace.html"
],
"infra_step": true,
"name": "upload build results.upload zircon_ninja_trace.html to fuchsia-build",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@zircon_ninja_trace.html@https://storage.cloud.google.com/fuchsia-build/builds/8945511751514863184/zircon_ninja_trace.html@@@"
]
},
{
"cmd": [
"[START_DIR]/topaz/tools/prebuilt-dart-sdk/linux-x64/bin/dart",
"--packages=[START_DIR]/scripts/blobstats/blobstats.packages",
"[START_DIR]/scripts/blobstats/blobstats.dart",
"--output=[CLEANUP]/blobstats"
],
"cwd": "[START_DIR]/out/default",
"name": "upload build results.blobstats",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-vpython-spec",
"RECIPE_MODULE[infra::gsutil]/resources/gsutil.vpython",
"-u",
"[START_DIR]/cipd/gsutil/gsutil",
"-o",
"GSUtil:software_update_check_period=0",
"-m",
"rsync",
"-r",
"[CLEANUP]/blobstats",
"gs://fuchsia-build/builds/8945511751514863184/blobstats"
],
"infra_step": true,
"name": "upload build results.upload blobstats to fuchsia-build",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@blobstats@https://console.cloud.google.com/storage/browser/fuchsia-build/builds/8945511751514863184/blobstats@@@"
]
},
{
"cmd": [],
"name": "ensure_testsharder"
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd/testsharder",
"-ensure-file",
"fuchsia/tools/testsharder/${platform} git_revision:69282376d4bbdd24f2d88e24165ba6aca7a0d47e",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "ensure_testsharder.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:692\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/tools/testsharder/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/testsharder/testsharder",
"-build-dir",
"[START_DIR]/out/default",
"-output-file",
"/path/to/tmp/json"
],
"name": "create test shards",
"~followup_annotations": [
"@@@STEP_LOG_LINE@json.output@[@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@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@ \"name\": \"test0\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"os\": \"fuchsia\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"path\": \"/path/to/test0\"@@@",
"@@@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": "shard QEMU"
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"/path/to/test0\n",
"[CLEANUP]/tests-QEMU"
],
"infra_step": true,
"name": "shard QEMU.write test list",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@tests-QEMU@/path/to/test0@@@",
"@@@STEP_LOG_END@tests-QEMU@@@"
]
},
{
"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 -f /boot/infra/shard.run\numount /tmp/infra-test-output\ndm poweroff",
"[CLEANUP]/runcmds-QEMU"
],
"infra_step": true,
"name": "shard QEMU.write runcmds",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@runcmds-QEMU@mkdir /tmp/infra-test-output@@@",
"@@@STEP_LOG_LINE@runcmds-QEMU@waitfor class=block topo=/dev/sys/pci/00:06.0/virtio-block/block timeout=60000@@@",
"@@@STEP_LOG_LINE@runcmds-QEMU@mount /dev/sys/pci/00:06.0/virtio-block/block /tmp/infra-test-output@@@",
"@@@STEP_LOG_LINE@runcmds-QEMU@runtests -o /tmp/infra-test-output -f /boot/infra/shard.run@@@",
"@@@STEP_LOG_LINE@runcmds-QEMU@umount /tmp/infra-test-output@@@",
"@@@STEP_LOG_LINE@runcmds-QEMU@dm poweroff@@@",
"@@@STEP_LOG_END@runcmds-QEMU@@@"
]
},
{
"cmd": [
"[START_DIR]/out/default.zircon/tools/zbi",
"-o",
"[START_DIR]/out/default/fuchsia-QEMU.zbi",
"[START_DIR]/out/default/fuchsia.zbi",
"-e",
"infra/runcmds=[CLEANUP]/runcmds-QEMU",
"-e",
"infra/shard.run=[CLEANUP]/tests-QEMU"
],
"name": "shard QEMU.create zbi",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/out/default.zircon/tools/minfs",
"[CLEANUP]/isolate_tmp_4/output.fs@2G",
"create"
],
"name": "shard QEMU.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\": \"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\": \"fuchsia-QEMU.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_4/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\": \"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\": \"fuchsia-QEMU.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-QEMU.zbi\": [\"[CLEANUP]/isolate_tmp_4/fuchsia-QEMU.zbi\"], \"[START_DIR]/out/default/fuchsia.esp.blk\": [\"[CLEANUP]/isolate_tmp_4/fuchsia.esp.blk\"], \"[START_DIR]/out/default/fvm.blk\": [\"[CLEANUP]/isolate_tmp_4/fvm.blk\"], \"[START_DIR]/out/default/fvm.sparse.blk\": [\"[CLEANUP]/isolate_tmp_4/fvm.sparse.blk\"], \"[START_DIR]/out/default/multiboot-created_by_recipe.bin\": [\"[CLEANUP]/isolate_tmp_4/multiboot-created_by_recipe.bin\"], \"[START_DIR]/out/default/netboot.zbi\": [\"[CLEANUP]/isolate_tmp_4/netboot.zbi\"], \"[START_DIR]/out/default/zircon-r.zbi\": [\"[CLEANUP]/isolate_tmp_4/zircon-r.zbi\"]}"
],
"infra_step": true,
"name": "shard QEMU.create tree of build artifacts",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "shard QEMU.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": "shard QEMU.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",
"archive",
"-verbose",
"-isolate-server",
"https://example.isolateserver.appspot.com",
"-namespace",
"default-gzip",
"-dump-hash",
"/path/to/tmp/",
"-dirs",
"[CLEANUP]/isolate_tmp_4:."
],
"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": "ensure swarming"
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CACHE]/swarming_client",
"-ensure-file",
"infra/tools/luci/swarming/${platform} git_revision:dcd9e10d7ea9890a266ca8dfef02909cf76134f1",
"-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:dcd\", @@@",
"@@@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\": \"\", \"task_slices\": [{\"expiration_secs\": \"18000\", \"properties\": {\"cipd_input\": {\"packages\": [{\"package_name\": \"fuchsia/infra/botanist/linux-amd64\", \"path\": \".\", \"version\": \"git_revision:417ce32e6d40b830abf6275e09d084da363766b8\"}, {\"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\", \"-cpu\", \"8\", \"-memory\", \"8192\", \"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\": \"1800\", \"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",
"-cancel-extra-tasks"
],
"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\": \"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_3",
"0"
],
"infra_step": true,
"name": "collect",
"~followup_annotations": [
"@@@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": "QEMU test 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@@@",
"@@@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@@@",
"@@@STEP_LINK@test outputs@https://isolateserver.appspot.com/browse?namespace=default-gzip&hash=abc123@@@"
]
},
{
"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]/QEMU-symbolizer-output.json"
],
"infra_step": true,
"name": "QEMU test 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/610/out.tar",
"cp",
"::",
"[CLEANUP]/test_results/610"
],
"name": "QEMU test results.extract",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "QEMU test results.all passed tests",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "QEMU test results.all passed tests.hello",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@stdio@hello@@@",
"@@@STEP_LOG_END@stdio@@@"
]
},
{
"cmd": [],
"name": "QEMU 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": [
"python",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"remove",
"[CLEANUP]/swarming_tmp_3/610/out.tar"
],
"infra_step": true,
"name": "QEMU test results.remove out.tar",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "upload QEMU test results"
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"{\"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\"}]}",
"[CLEANUP]/swarming_tmp_3/610/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\": [{\"name\": \"hello\", \"output_file\": \"hello.out\", \"result\": \"PASS\"}, {\"name\": \"benchmark.catapult_json\", \"output_file\": \"benchmark.catapult_json\", \"result\": \"PASS\"}]}@@@",
"@@@STEP_LOG_END@summary.json@@@"
]
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"hello world!",
"[CLEANUP]/swarming_tmp_3/610/kernel_log.txt"
],
"infra_step": true,
"name": "upload QEMU test results.write kernel_log.txt",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@kernel_log.txt@hello world!@@@",
"@@@STEP_LOG_END@kernel_log.txt@@@"
]
},
{
"cmd": [
"vpython",
"-vpython-spec",
"RECIPE_MODULE[infra::gsutil]/resources/gsutil.vpython",
"-u",
"[START_DIR]/cipd/gsutil/gsutil",
"-o",
"GSUtil:software_update_check_period=0",
"-m",
"rsync",
"-r",
"[CLEANUP]/swarming_tmp_3/610",
"gs://fuchsia-build/builds/8945511751514863184/QEMU"
],
"infra_step": true,
"name": "upload QEMU test results.upload QEMU to fuchsia-build",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@QEMU@https://console.cloud.google.com/storage/browser/fuchsia-build/builds/8945511751514863184/QEMU@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CLEANUP]/cipd",
"-ensure-file",
"fuchsia/tools/covargs/${platform} latest",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "ensure_installed",
"~followup_annotations": [
"@@@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/covargs/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": [
"[CLEANUP]/cipd/covargs",
"-level",
"debug",
"-json-output",
"/path/to/tmp/json",
"-output-dir",
"[CLEANUP]/coverage",
"-llvm-profdata",
"[START_DIR]/prebuilt/third_party/clang/linux-x64/bin/llvm-profdata",
"-llvm-cov",
"[START_DIR]/prebuilt/third_party/clang/linux-x64/bin/llvm-cov",
"-ids",
"[START_DIR]/out/default/ids.txt",
"-summary",
"[CLEANUP]/test_results/610/summary.json",
"-symbolize-dump",
"[CLEANUP]/QEMU-symbolizer-output.json"
],
"name": "covargs",
"~followup_annotations": [
"@@@STEP_LOG_END@json.output[covargs-output.json] (invalid)@@@",
"@@@STEP_LOG_LINE@json.output[covargs-output.json] (exception)@No JSON object could be decoded@@@",
"@@@STEP_LOG_END@json.output[covargs-output.json] (exception)@@@"
]
},
{
"cmd": [
"vpython",
"-vpython-spec",
"RECIPE_MODULE[infra::gsutil]/resources/gsutil.vpython",
"-u",
"[START_DIR]/cipd/gsutil/gsutil",
"-o",
"GSUtil:software_update_check_period=0",
"-o",
"GSUtil:parallel_process_count=2",
"-o",
"GSUtil:parallel_thread_count=1",
"-m",
"rsync",
"-r",
"-j",
"html",
"[CLEANUP]/coverage",
"gs://fuchsia-build/builds/8945511751514863184/coverage"
],
"infra_step": true,
"name": "upload coverage",
"~followup_annotations": [
"@@@STEP_LINK@gsutil.rsync@https://console.cloud.google.com/storage/browser/fuchsia-build/builds/8945511751514863184/coverage@@@",
"@@@STEP_LINK@index.html@https://storage.googleapis.com/fuchsia-build/builds/8945511751514863184/coverage/index.html@@@"
]
},
{
"cmd": [],
"name": "check log serial.txt"
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/swarming_tmp_3/610/serial.txt",
"/path/to/tmp/"
],
"infra_step": true,
"name": "check log serial.txt.read serial.txt",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"name": "$result"
}
]