| [ |
| { |
| "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=false 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_1" |
| ], |
| "infra_step": true, |
| "name": "build.build fuchsia.ninja.pre_goma.write context", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@", |
| "@@@STEP_LOG_LINE@luci_context._tmp_1@{\"local_auth\": {\"accounts\": [{\"email\": \"some@example.com\", \"id\": \"test\"}], \"default_account_id\": \"system\"}}@@@", |
| "@@@STEP_LOG_END@luci_context._tmp_1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[CACHE]/goma/client/goma_ctl.py", |
| "restart" |
| ], |
| "env": { |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "LUCI_CONTEXT": "[CLEANUP]/luci_context._tmp_1" |
| }, |
| "infra_step": true, |
| "name": "build.build fuchsia.ninja.pre_goma.start_goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[infra::ninja]/resources/ninja_wrapper.py", |
| "--ninja_info_output", |
| "/path/to/tmp/json", |
| "--failure_output", |
| "/path/to/tmp/", |
| "--", |
| "[START_DIR]/prebuilt/third_party/ninja/linux-x64/ninja", |
| "-C", |
| "[START_DIR]/out/default.zircon", |
| "-j", |
| "20", |
| "legacy-host_tests", |
| "manifest-$cpu" |
| ], |
| "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:breakpad_symbols", |
| "build/gn:package_archive", |
| "path/on/disk/to/test", |
| "symbol-archive.tgz" |
| ], |
| "name": "build.build fuchsia.ninja.fuchsia", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build.build fuchsia.ninja.post_goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[CACHE]/goma/client/goma_ctl.py", |
| "jsonstatus", |
| "[CACHE]/goma/client/jsonstatus" |
| ], |
| "env": { |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "LUCI_CONTEXT": "[CLEANUP]/luci_context._tmp_1" |
| }, |
| "name": "build.build fuchsia.ninja.post_goma.goma_jsonstatus", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"notice\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"infra_status\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"num_user_error\": 0, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"ping_status_code\": 200@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[CACHE]/goma/client/goma_ctl.py", |
| "stat" |
| ], |
| "env": { |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "LUCI_CONTEXT": "[CLEANUP]/luci_context._tmp_1" |
| }, |
| "name": "build.build fuchsia.ninja.post_goma.goma_stat", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[CACHE]/goma/client/goma_ctl.py", |
| "stop" |
| ], |
| "env": { |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "LUCI_CONTEXT": "[CLEANUP]/luci_context._tmp_1" |
| }, |
| "name": "build.build fuchsia.ninja.post_goma.stop_goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/prebuilt/third_party/gn/linux-x64/gn", |
| "gen", |
| "[START_DIR]/another/out", |
| "--check", |
| "--args=import(\"//boards/x64.gni\") import(\"//products/core.gni\") goma_dir=\"[CACHE]/goma/client\" is_debug=false target_cpu=\"x64\" use_goma=true", |
| "--export-compile-commands" |
| ], |
| "name": "gn gen" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| "[START_DIR]/another/out/zircon.json", |
| "/path/to/tmp/json" |
| ], |
| "name": "read zircon ninja instructions", |
| "~followup_annotations": [ |
| "@@@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": [], |
| "name": "merge compdbs" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| "[START_DIR]/another/default.zircon/compile_commands.json", |
| "/path/to/tmp/json" |
| ], |
| "name": "merge compdbs.read zircon compdb", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@[@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"command\": \"clang++ zircon.cpp\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"directory\": \"[START_DIR]/out/default.zircon\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"file\": \"../../zircon.cpp\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@]@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LOG_END@json.output (invalid)@@@", |
| "@@@STEP_LOG_LINE@json.output (exception)@No JSON object could be decoded@@@", |
| "@@@STEP_LOG_END@json.output (exception)@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| "[START_DIR]/another/out/compile_commands.json", |
| "/path/to/tmp/json" |
| ], |
| "name": "merge compdbs.read compdb", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@[@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"command\": \"clang++ foo.cpp\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"directory\": \"[START_DIR]/out/default\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"file\": \"../../foo.cpp\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"command\": \"clang++ third_party/foo.cpp\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"directory\": \"[START_DIR]/out/default\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"file\": \"../../third_party/foo.cpp\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"command\": \"clang++ foo.cpp\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"directory\": \"[START_DIR]/out/default\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"file\": \"../../out/default/foo.cpp\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@]@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LOG_END@json.output (invalid)@@@", |
| "@@@STEP_LOG_LINE@json.output (exception)@No JSON object could be decoded@@@", |
| "@@@STEP_LOG_END@json.output (exception)@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[{\"directory\": \"[START_DIR]/out/default.zircon\", \"command\": \"clang++ zircon.cpp\", \"file\": \"../../zircon.cpp\"}, {\"directory\": \"[START_DIR]/out/default\", \"command\": \"clang++ foo.cpp\", \"file\": \"../../foo.cpp\"}]", |
| "[CLEANUP]/compile_commands.json" |
| ], |
| "infra_step": true, |
| "name": "write merged compdb", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@compile_commands.json@[{\"directory\": \"[START_DIR]/out/default.zircon\", \"command\": \"clang++ zircon.cpp\", \"file\": \"../../zircon.cpp\"}, {\"directory\": \"[START_DIR]/out/default\", \"command\": \"clang++ foo.cpp\", \"file\": \"../../foo.cpp\"}]@@@", |
| "@@@STEP_LOG_END@compile_commands.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| "[START_DIR]/another/out/zbi_tests.json", |
| "/path/to/tmp/json" |
| ], |
| "name": "read zbi test manifest", |
| "~followup_annotations": [ |
| "@@@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]/another/default.zircon/generated_sources.json", |
| "/path/to/tmp/json" |
| ], |
| "name": "read zircon generated sources", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@[@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"//generated_header.h\"@@@", |
| "@@@STEP_LOG_LINE@json.output@]@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/another/out/all_fidl_json.txt", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "read generated sources" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| "[START_DIR]/another/out/zbi_tests.json", |
| "/path/to/tmp/json" |
| ], |
| "name": "read zbi test manifest (2)", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@[]@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ninja" |
| }, |
| { |
| "cmd": [], |
| "name": "ninja.pre_goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[CACHE]/goma/client/goma_ctl.py", |
| "restart" |
| ], |
| "env": { |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "LUCI_CONTEXT": "[CLEANUP]/luci_context._tmp_1" |
| }, |
| "infra_step": true, |
| "name": "ninja.pre_goma.start_goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "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]/another/default.zircon", |
| "-j", |
| "20", |
| "//generated_header.h", |
| "legacy-host_tests", |
| "manifest-$cpu" |
| ], |
| "name": "ninja.zircon", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "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]/another/out", |
| "-j", |
| "20", |
| "//generated_fidl.json" |
| ], |
| "name": "ninja.fuchsia", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ninja.post_goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[CACHE]/goma/client/goma_ctl.py", |
| "jsonstatus", |
| "[CACHE]/goma/client/jsonstatus" |
| ], |
| "env": { |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "LUCI_CONTEXT": "[CLEANUP]/luci_context._tmp_1" |
| }, |
| "name": "ninja.post_goma.goma_jsonstatus", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"notice\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"infra_status\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"num_user_error\": 0, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"ping_status_code\": 200@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[CACHE]/goma/client/goma_ctl.py", |
| "stat" |
| ], |
| "env": { |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "LUCI_CONTEXT": "[CLEANUP]/luci_context._tmp_1" |
| }, |
| "name": "ninja.post_goma.goma_stat", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[CACHE]/goma/client/goma_ctl.py", |
| "stop" |
| ], |
| "env": { |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "LUCI_CONTEXT": "[CLEANUP]/luci_context._tmp_1" |
| }, |
| "name": "ninja.post_goma.stop_goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "isolate build artifacts" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "{\n \"variants\": [], \n \"target\": \"x64\", \n \"build_type\": \"release\"\n}", |
| "[START_DIR]/args.json" |
| ], |
| "infra_step": true, |
| "name": "isolate build artifacts.write args.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@args.json@{@@@", |
| "@@@STEP_LOG_LINE@args.json@ \"variants\": [], @@@", |
| "@@@STEP_LOG_LINE@args.json@ \"target\": \"x64\", @@@", |
| "@@@STEP_LOG_LINE@args.json@ \"build_type\": \"release\"@@@", |
| "@@@STEP_LOG_LINE@args.json@}@@@", |
| "@@@STEP_LOG_END@args.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "{}", |
| "[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_END@images.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[]", |
| "[START_DIR]/shards.json" |
| ], |
| "infra_step": true, |
| "name": "isolate build artifacts.write shards.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@shards.json@[]@@@", |
| "@@@STEP_LOG_END@shards.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/symlink.py", |
| "--link-json", |
| "{\"[START_DIR]/.ssh/authorized_keys\": [\"[CLEANUP]/build_artifacts_tmp_2/authorized_key\"], \"[START_DIR]/.ssh/pkey\": [\"[CLEANUP]/build_artifacts_tmp_2/private_key\"], \"[START_DIR]/args.json\": [\"[CLEANUP]/build_artifacts_tmp_2/args.json\"], \"[START_DIR]/images.json\": [\"[CLEANUP]/build_artifacts_tmp_2/images.json\"], \"[START_DIR]/out/default.zircon/tools/minfs\": [\"[CLEANUP]/build_artifacts_tmp_2/minfs\"], \"[START_DIR]/out/default.zircon/tools/zbi\": [\"[CLEANUP]/build_artifacts_tmp_2/zbi\"], \"[START_DIR]/out/default/amber-files\": [\"[CLEANUP]/build_artifacts_tmp_2/amber-files\"], \"[START_DIR]/out/default/ids.txt\": [\"[CLEANUP]/build_artifacts_tmp_2/ids.txt\"], \"[START_DIR]/prebuilt/third_party/clang/linux-x64/bin/llvm-cov\": [\"[CLEANUP]/build_artifacts_tmp_2/llvm_cov\"], \"[START_DIR]/prebuilt/third_party/clang/linux-x64/bin/llvm-profdata\": [\"[CLEANUP]/build_artifacts_tmp_2/llvm_profdata\"], \"[START_DIR]/prebuilt/third_party/clang/linux-x64/bin/llvm-symbolizer\": [\"[CLEANUP]/build_artifacts_tmp_2/llvm_symbolizer\"], \"[START_DIR]/prebuilt/tools/symbolize/linux-x64/symbolize\": [\"[CLEANUP]/build_artifacts_tmp_2/symbolize_tool\"], \"[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": [], |
| "name": "isolate build artifacts.ensure isolated", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/isolated_client", |
| "-ensure-file", |
| "infra/tools/luci/isolated/${platform} git_revision:81f8525a0214a266d8ad33d072a7b23c89d51752", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "isolate build artifacts.ensure isolated.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-git_revision:81f\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/isolated/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/isolated_client/isolated", |
| "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": [], |
| "name": "check filesystem sizes" |
| }, |
| { |
| "cmd": [], |
| "name": "upload build results" |
| }, |
| { |
| "cmd": [], |
| "name": "upload build 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 build 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", |
| "[START_DIR]/out/default/breakpad_symbols/breakpad_symbols.tar.gz", |
| "gs://###fuchsia-build###/builds/8945511751514863184/breakpad_symbols.tar.gz" |
| ], |
| "infra_step": true, |
| "name": "upload build results.upload breakpad_symbols.tar.gz to ###fuchsia-build###", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LINK@breakpad_symbols.tar.gz@https://storage.cloud.google.com/###fuchsia-build###/builds/8945511751514863184/breakpad_symbols.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/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": [ |
| "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/symbol-archive.tgz", |
| "gs://###fuchsia-build###/builds/8945511751514863184/symbol-archive.tgz" |
| ], |
| "infra_step": true, |
| "name": "upload build results.upload symbol-archive.tgz to ###fuchsia-build###", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LINK@symbol-archive.tgz@https://storage.cloud.google.com/###fuchsia-build###/builds/8945511751514863184/symbol-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": [], |
| "name": "upload build results.ensure bloaty", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CLEANUP]/cipd", |
| "-ensure-file", |
| "fuchsia/tools/bloatalyzer/${platform} latest\nfuchsia/third_party/bloaty/${platform} latest", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "upload build results.ensure bloaty.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/third_party/bloaty/resolved-platform\"@@@", |
| "@@@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/bloatalyzer/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/bloatalyzer", |
| "-bloaty", |
| "[CLEANUP]/cipd/bloaty", |
| "-input", |
| "[START_DIR]/out/default/ids.txt", |
| "-output", |
| "[CLEANUP]/bloaty.html", |
| "-top-files", |
| "50", |
| "-top-syms", |
| "50", |
| "-format", |
| "html", |
| "-jobs", |
| "2" |
| ], |
| "name": "upload build results.bloaty", |
| "~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]/bloaty.html", |
| "gs://###fuchsia-build###/builds/8945511751514863184/bloaty.html" |
| ], |
| "infra_step": true, |
| "name": "upload build results.upload bloaty.html to ###fuchsia-build###", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LINK@bloaty.html@https://storage.cloud.google.com/###fuchsia-build###/builds/8945511751514863184/bloaty.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": "upload build results.ensure upload_debug_symbols", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd/upload_debug_symbols", |
| "-ensure-file", |
| "fuchsia/infra/upload_debug_symbols/${platform} git_revision:76afdab6dec30f87a8d08291922e7a572033d9bc", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "upload build results.ensure upload_debug_symbols.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:76a\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/infra/upload_debug_symbols/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/upload_debug_symbols/upload_debug_symbols", |
| "-bucket=fuchsia-infra-debug-symbols", |
| "[START_DIR]/out/default/.build-id", |
| "[START_DIR]/out/default.zircon/.build-id", |
| "[START_DIR]/prebuilt/third_party/clang/linux-x64/lib/debug/.build-id", |
| "[START_DIR]/prebuilt/build_ids" |
| ], |
| "name": "upload build results.upload debug symbols", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/out/default/obj/build/images/system.snapshot", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "read package snapshot file" |
| }, |
| { |
| "cmd": [ |
| "cat", |
| "{\"build_id\": 8945511751514863184, \"snapshot\": \"\"}" |
| ], |
| "name": "write build_packages_entry_file" |
| }, |
| { |
| "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", |
| "[TMP_BASE]/system.snapshot.json", |
| "gs://###fuchsia-build###/builds/8945511751514863184/system.snapshot.json" |
| ], |
| "infra_step": true, |
| "name": "upload system.snapshot.json to ###fuchsia-build###", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@system.snapshot.json@https://storage.cloud.google.com/###fuchsia-build###/builds/8945511751514863184/system.snapshot.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ensure bqupload" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd/bqupload", |
| "-ensure-file", |
| "infra/tools/bqupload/${platform} git_revision:d85fe78f303c3e969f815121e17c8b08868039ef", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure bqupload.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:d85\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/bqupload/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/bqupload/bqupload", |
| "fuchsia-infra.artifacts.builds_beta", |
| "{\"arch\": \"x64\", \"board\": \"boards/x64.gni\", \"bucket\": \"luci.fuchsia.ci\", \"build_id\": 8945511751514863184, \"builder\": \"builder\", \"channel\": [\"\"], \"datetime\": \"2018-05-25 23:50:17\", \"gitiles_commit\": [\"2d72510e447ab60a9728aeea2362d8be2cbd7789\"], \"product\": \"products/core.gni\", \"repo\": \"fuchsia\", \"start_time\": \"1970-01-01 00:00:00\"}" |
| ], |
| "name": "add table row: fuchsia-infra/artifacts/builds_beta" |
| }, |
| { |
| "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\": \"Khadas Vim2 Max\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"Vim2\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tests\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"test\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"os\": \"linux\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path\": \"/path/to/test\"@@@", |
| "@@@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@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |