| [ |
| { |
| "cmd": [], |
| "name": "build", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@fint_params@field: \"value\"@@@", |
| "@@@STEP_LOG_END@fint_params@@@", |
| "@@@STEP_LOG_END@some_cmd_stdout@@@", |
| "@@@SET_BUILD_PROPERTY@fint_params@\"field: \\\"value\\\"\"@@@", |
| "@@@SET_BUILD_PROPERTY@fint_params_path@\"infra/specs/fint-params.textproto\"@@@", |
| "@@@SET_BUILD_PROPERTY@ninja_duration_seconds@900@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/infra/specs/fint-params.textproto", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "build.read fint params", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@fint-params.textproto@field: \"value\"@@@", |
| "@@@STEP_LOG_END@fint-params.textproto@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build.clang_toolchain", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CLEANUP]/clang_tmp_1", |
| "-ensure-file", |
| "fuchsia/third_party/clang/${platform} 40-chars-fake-of-the-package-instance_id", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "build.clang_toolchain.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\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/clang/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build.gcc_toolchain", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CLEANUP]/gcc_tmp_1", |
| "-ensure-file", |
| "fuchsia/third_party/gcc/${platform} 40-chars-fake-of-the-package-instance_id", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "build.gcc_toolchain.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\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/gcc/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build.rust_toolchain", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "RECIPE_MODULE[recipe_engine::cas]/resources/infra.sha1", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "build.rust_toolchain.read infra revision", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@infra.sha1@git_revision:mock_infra_git_revision@@@", |
| "@@@STEP_LOG_END@infra.sha1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build.rust_toolchain.install infra/tools/luci/cas", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/cipd/infra/tools/luci/cas/git_revision%3Amock_infra_git_revision" |
| ], |
| "infra_step": true, |
| "name": "build.rust_toolchain.install infra/tools/luci/cas.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/infra/tools/luci/cas/git_revision%3Amock_infra_git_revision", |
| "-ensure-file", |
| "infra/tools/luci/cas/${platform} git_revision:mock_infra_git_revision", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "build.rust_toolchain.install infra/tools/luci/cas.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-git_revision:moc\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/cas/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]/cipd/infra/tools/luci/cas/git_revision%3Amock_infra_git_revision/cas", |
| "download", |
| "-cas-instance", |
| "projects/example-cas-server/instances/default_instance", |
| "-digest", |
| "abc123", |
| "-dir", |
| "[CLEANUP]/rust_tmp_1" |
| ], |
| "infra_step": true, |
| "name": "build.rust_toolchain.download", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/tools/integration/bootstrap.sh", |
| "-o", |
| "[CLEANUP]/fint_tmp_1/fint" |
| ], |
| "name": "build.bootstrap fint", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CLEANUP]/fint_tmp_1/fint", |
| "set", |
| "-static", |
| "[START_DIR]/infra/specs/fint-params.textproto", |
| "-context", |
| "checkout_dir: \"[START_DIR]\"\nbuild_dir: \"[START_DIR]/out/not-default\"\nartifact_dir: \"[CLEANUP]/fint_artifacts_tmp_1\"\nsdk_id: \"sdk-id\"\ncache_dir: \"[CACHE]\"\nclang_toolchain_dir: \"[CLEANUP]/clang_tmp_1\"\ngcc_toolchain_dir: \"[CLEANUP]/gcc_tmp_1\"\nrust_toolchain_dir: \"[CLEANUP]/rust_tmp_1\"\ngoma_job_count: 80\n" |
| ], |
| "name": "build.gn gen", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_TEXT@run by `fint set`@@@", |
| "@@@STEP_LOG_LINE@context.textproto@checkout_dir: \"[START_DIR]\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@build_dir: \"[START_DIR]/out/not-default\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@artifact_dir: \"[CLEANUP]/fint_artifacts_tmp_1\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@sdk_id: \"sdk-id\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@cache_dir: \"[CACHE]\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@clang_toolchain_dir: \"[CLEANUP]/clang_tmp_1\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@gcc_toolchain_dir: \"[CLEANUP]/gcc_tmp_1\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@rust_toolchain_dir: \"[CLEANUP]/rust_tmp_1\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@goma_job_count: 80@@@", |
| "@@@STEP_LOG_END@context.textproto@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/fint_artifacts_tmp_1/set_artifacts.json", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "build.read fint set artifacts", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@@@@", |
| "@@@STEP_LOG_END@set_artifacts.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/out/not-default/tool_paths.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "build.read tool_paths manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@[@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ {@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ \"cpu\": \"x64\",@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ \"name\": \"foo\",@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ \"os\": \"linux\",@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ \"path\": \"linux_x64/foo\"@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ }@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@]@@@", |
| "@@@STEP_LOG_END@tool_paths.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/out/not-default/tests.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "build.read tests.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@tests.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CLEANUP]/fint_tmp_1/fint", |
| "build", |
| "-static", |
| "[START_DIR]/infra/specs/fint-params.textproto", |
| "-context", |
| "checkout_dir: \"[START_DIR]\"\nbuild_dir: \"[START_DIR]/out/not-default\"\nartifact_dir: \"[CLEANUP]/fint_artifacts_tmp_1\"\nsdk_id: \"sdk-id\"\ncache_dir: \"[CACHE]\"\nclang_toolchain_dir: \"[CLEANUP]/clang_tmp_1\"\ngcc_toolchain_dir: \"[CLEANUP]/gcc_tmp_1\"\nrust_toolchain_dir: \"[CLEANUP]/rust_tmp_1\"\ngoma_job_count: 80\n" |
| ], |
| "name": "build.ninja", |
| "timeout": 5400, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_TEXT@run by `fint build`@@@", |
| "@@@STEP_LOG_LINE@context.textproto@checkout_dir: \"[START_DIR]\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@build_dir: \"[START_DIR]/out/not-default\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@artifact_dir: \"[CLEANUP]/fint_artifacts_tmp_1\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@sdk_id: \"sdk-id\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@cache_dir: \"[CACHE]\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@clang_toolchain_dir: \"[CLEANUP]/clang_tmp_1\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@gcc_toolchain_dir: \"[CLEANUP]/gcc_tmp_1\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@rust_toolchain_dir: \"[CLEANUP]/rust_tmp_1\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@goma_job_count: 80@@@", |
| "@@@STEP_LOG_END@context.textproto@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/fint_artifacts_tmp_1/build_artifacts.json", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "build.read fint build artifacts", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@built_targets: \"target1\"@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@built_targets: \"target2\"@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@built_images {@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ fields {@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ key: \"name\"@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ value {@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ string_value: \"foo\"@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ }@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ }@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ fields {@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ key: \"path\"@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ value {@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ string_value: \"foo.img\"@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ }@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ }@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ fields {@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ key: \"type\"@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ value {@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ string_value: \"blk\"@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ }@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ }@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@}@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@built_archives {@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ fields {@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ key: \"name\"@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ value {@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ string_value: \"archive\"@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ }@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ }@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ fields {@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ key: \"path\"@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ value {@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ string_value: \"build-archive.tgz\"@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ }@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ }@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ fields {@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ key: \"type\"@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ value {@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ string_value: \"tgz\"@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ }@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ }@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@}@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ninja_log_path: \"/tmp/ninja_log.txt\"@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ninja_graph_path: \"/tmp/ninja_graph.dot\"@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ninja_compdb_path: \"/tmp/ninja_compdb.json\"@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ninja_duration_seconds: 900@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@log_files {@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ key: \"some_cmd_stdout\"@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ value: \"/tmp/stdout.txt\"@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@}@@@", |
| "@@@STEP_LOG_END@build_artifacts.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build.read fint log files", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "/tmp/stdout.txt", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "build.read fint log files.read stdout.txt", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/out/not-default/linux_x64/buildstats", |
| "--ninjalog", |
| "/tmp/ninja_log.txt", |
| "--compdb", |
| "/tmp/ninja_compdb.json", |
| "--graph", |
| "/tmp/ninja_graph.dot", |
| "--output", |
| "[CLEANUP]/buildstats_tmp_1/fuchsia-buildstats.json" |
| ], |
| "cwd": "[START_DIR]/out/not-default", |
| "name": "build.fuchsia buildstats", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build.install infra/3pp/tools/gsutil", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/cipd/infra/3pp/tools/gsutil/version%3A4.60" |
| ], |
| "infra_step": true, |
| "name": "build.install infra/3pp/tools/gsutil.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/infra/3pp/tools/gsutil/version%3A4.60", |
| "-ensure-file", |
| "infra/3pp/tools/gsutil version:4.60", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "build.install infra/3pp/tools/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.60----\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/3pp/tools/gsutil\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-vpython-spec", |
| "RECIPE_MODULE[fuchsia::gsutil]/resources/gsutil.vpython", |
| "-u", |
| "[CACHE]/cipd/infra/3pp/tools/gsutil/version%3A4.60/gsutil", |
| "-h", |
| "Custom-Time:2012-05-14T12:53:21.500000Z", |
| "-o", |
| "GSUtil:software_update_check_period=0", |
| "cp", |
| "-n", |
| "[CLEANUP]/buildstats_tmp_1/fuchsia-buildstats.json", |
| "gs://###fuchsia-build###/builds/namespace/fuchsia-buildstats.json" |
| ], |
| "infra_step": true, |
| "name": "build.upload fuchsia-buildstats.json to ###fuchsia-build###", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LINK@fuchsia-buildstats.json@https://storage.cloud.google.com/###fuchsia-build###/builds/namespace/fuchsia-buildstats.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/out/not-default/compile_commands.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "read compdb" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[{\"command\": \"clang++ foo.cpp\", \"directory\": \"[START_DIR]/out/not-default\", \"file\": \"../../foo.cpp\"}]", |
| "[CLEANUP]/compile_commands.json" |
| ], |
| "infra_step": true, |
| "name": "write filtered compdb" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/out/not-default/generated_sources.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "read generated sources", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@generated_sources.json@[@@@", |
| "@@@STEP_LOG_LINE@generated_sources.json@ \"generated_header.h\"@@@", |
| "@@@STEP_LOG_LINE@generated_sources.json@]@@@", |
| "@@@STEP_LOG_END@generated_sources.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/out/not-default/zbi_tests.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "read zbi test manifest", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@zbi_tests.json@[]@@@", |
| "@@@STEP_LOG_END@zbi_tests.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/out/not-default/cts_artifacts.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "read cts artifacts manifest", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@cts_artifacts.json@[@@@", |
| "@@@STEP_LOG_LINE@cts_artifacts.json@ \"foo.far\",@@@", |
| "@@@STEP_LOG_LINE@cts_artifacts.json@ \"bar.far\"@@@", |
| "@@@STEP_LOG_LINE@cts_artifacts.json@]@@@", |
| "@@@STEP_LOG_END@cts_artifacts.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "check binary sizes", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@size_checker logs@@@@", |
| "@@@STEP_LOG_END@size_checker logs@@@", |
| "@@@SET_BUILD_PROPERTY@binary_sizes@{\"component\": 1}@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/out/not-default/linux_x64/size_checker", |
| "--build-dir", |
| "[START_DIR]/out/not-default", |
| "--sizes-json-out", |
| "/path/to/tmp/json" |
| ], |
| "name": "check binary sizes.size_checker", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"component\": 1@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "extract ninja traces" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/out/not-default/linux_x64/ninjatrace", |
| "-ninjalog", |
| "/tmp/ninja_log.txt", |
| "-compdb", |
| "/tmp/ninja_compdb.json", |
| "-graph", |
| "/tmp/ninja_graph.dot", |
| "-critical-path", |
| "-trace-json", |
| "[CLEANUP]/ninja-trace_tmp_1/fuchsia_ninja_trace.json" |
| ], |
| "name": "extract ninja traces.ninjatrace fuchsia_ninja_trace.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "upload traces", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@fuchsia.dev guide@https://fuchsia.dev/fuchsia-src/development/tracing/tutorial/converting-visualizing-a-trace#html-trace@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-vpython-spec", |
| "RECIPE_MODULE[fuchsia::gsutil]/resources/gsutil.vpython", |
| "-u", |
| "[CACHE]/cipd/infra/3pp/tools/gsutil/version%3A4.60/gsutil", |
| "-h", |
| "Custom-Time:2012-05-14T12:53:23.000000Z", |
| "-o", |
| "GSUtil:software_update_check_period=0", |
| "cp", |
| "-n", |
| "", |
| "gs://artifact_gcs_bucket/builds/namespace/fuchsia_gn_trace.json" |
| ], |
| "infra_step": true, |
| "name": "upload traces.upload fuchsia_gn_trace.json to artifact_gcs_bucket", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LINK@fuchsia_gn_trace.json@https://storage.cloud.google.com/artifact_gcs_bucket/builds/namespace/fuchsia_gn_trace.json@@@", |
| "@@@STEP_LINK@perfetto_ui@https://ui.perfetto.dev/#!?url=https://storage.googleapis.com/artifact_gcs_bucket/builds/namespace/fuchsia_gn_trace.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-vpython-spec", |
| "RECIPE_MODULE[fuchsia::gsutil]/resources/gsutil.vpython", |
| "-u", |
| "[CACHE]/cipd/infra/3pp/tools/gsutil/version%3A4.60/gsutil", |
| "-h", |
| "Custom-Time:2012-05-14T12:53:24.500000Z", |
| "-o", |
| "GSUtil:software_update_check_period=0", |
| "cp", |
| "-n", |
| "[CLEANUP]/ninja-trace_tmp_1/fuchsia_ninja_trace.json", |
| "gs://artifact_gcs_bucket/builds/namespace/fuchsia_ninja_trace.json" |
| ], |
| "infra_step": true, |
| "name": "upload traces.upload fuchsia_ninja_trace.json to artifact_gcs_bucket", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LINK@fuchsia_ninja_trace.json@https://storage.cloud.google.com/artifact_gcs_bucket/builds/namespace/fuchsia_ninja_trace.json@@@", |
| "@@@STEP_LINK@perfetto_ui@https://ui.perfetto.dev/#!?url=https://storage.googleapis.com/artifact_gcs_bucket/builds/namespace/fuchsia_ninja_trace.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "upload build results" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-vpython-spec", |
| "RECIPE_MODULE[fuchsia::gsutil]/resources/gsutil.vpython", |
| "-u", |
| "[CACHE]/cipd/infra/3pp/tools/gsutil/version%3A4.60/gsutil", |
| "-h", |
| "Custom-Time:2012-05-14T12:53:26.000000Z", |
| "-o", |
| "GSUtil:software_update_check_period=0", |
| "cp", |
| "-n", |
| "[START_DIR]/out/not-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.install infra/tools/bqupload", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/cipd/infra/tools/bqupload/git_revision%3Ad85fe78f303c3e969f815121e17c8b08868039ef" |
| ], |
| "infra_step": true, |
| "name": "upload build results.install infra/tools/bqupload.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/infra/tools/bqupload/git_revision%3Ad85fe78f303c3e969f815121e17c8b08868039ef", |
| "-ensure-file", |
| "infra/tools/bqupload/${platform} git_revision:d85fe78f303c3e969f815121e17c8b08868039ef", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "upload build results.install infra/tools/bqupload.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: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": [ |
| "[CACHE]/cipd/infra/tools/bqupload/git_revision%3Ad85fe78f303c3e969f815121e17c8b08868039ef/bqupload", |
| "fuchsia-infra.artifacts.binary_sizes", |
| "{\"build_create_time_seconds\": 1527292217, \"build_id\": \"8945511751514863184\", \"builder_name\": \"builder\", \"component\": \"component\", \"gitiles_commit_host\": \"fuchsia.googlesource.com\", \"gitiles_commit_id\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\", \"gitiles_commit_project\": \"fuchsia\", \"size\": 1}" |
| ], |
| "name": "upload build results.upload size_checker output", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/out/not-default/linux_x64/blobstats", |
| "--output=[CLEANUP]/blobstats" |
| ], |
| "cwd": "[START_DIR]/out/not-default", |
| "name": "upload build results.blobstats", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-vpython-spec", |
| "RECIPE_MODULE[fuchsia::gsutil]/resources/gsutil.vpython", |
| "-u", |
| "[CACHE]/cipd/infra/3pp/tools/gsutil/version%3A4.60/gsutil", |
| "-h", |
| "Custom-Time:2012-05-14T12:53:27.500000Z", |
| "-o", |
| "GSUtil:software_update_check_period=0", |
| "-m", |
| "cp", |
| "-r", |
| "-n", |
| "[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://storage.cloud.google.com/###fuchsia-build###/builds/8945511751514863184/blobstats@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/out/not-default/linux_x64/testsharder", |
| "-build-dir", |
| "[START_DIR]/out/not-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@ \"deps\": [], @@@", |
| "@@@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@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@]@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |