| [ |
| { |
| "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_path@\"infra/specs/fint-params.textproto\"@@@", |
| "@@@SET_BUILD_PROPERTY@ninja_action_metrics@{}@@@", |
| "@@@SET_BUILD_PROPERTY@ninja_duration_seconds@900@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-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, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "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, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "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, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "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": [ |
| "vpython3", |
| "-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, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "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": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/cipd_tool/infra/tools/luci/cas/git_revision%3Amock_infra_git_revision" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.rust_toolchain.install infra/tools/luci/cas.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/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, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "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": [ |
| "[START_DIR]/cipd_tool/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, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.rust_toolchain.download", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/tools/integration/bootstrap.sh", |
| "-o", |
| "[CLEANUP]/fint_tmp_1/fint" |
| ], |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.bootstrap fint", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "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", |
| "[CLEANUP]/tmp_tmp_1" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.write fint context", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/out/not-default" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.ensure build directory exists", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build.ensure nsjail", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "RECIPE_MODULE[fuchsia::nsjail]/resources/nsjail/tool_manifest.json", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.ensure nsjail.read manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@{@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/nsjail\",@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"version\": \"version:pinned-version\"@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@}@@@", |
| "@@@STEP_LOG_END@tool_manifest.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build.ensure nsjail.install path/to/nsjail", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/cipd_tool/path/to/nsjail/version%3Apinned-version" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.ensure nsjail.install path/to/nsjail.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/path/to/nsjail/version%3Apinned-version", |
| "-ensure-file", |
| "path/to/nsjail version:pinned-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.ensure nsjail.install path/to/nsjail.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-version:pinned-v\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"path/to/nsjail\"@@@", |
| "@@@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.ensure dumb_init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "RECIPE_MODULE[fuchsia::nsjail]/resources/dumb_init/tool_manifest.json", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.ensure dumb_init.read manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@{@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/dumb_init\",@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"version\": \"version:pinned-version\"@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@}@@@", |
| "@@@STEP_LOG_END@tool_manifest.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build.ensure dumb_init.install path/to/dumb_init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/cipd_tool/path/to/dumb_init/version%3Apinned-version" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.ensure dumb_init.install path/to/dumb_init.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/path/to/dumb_init/version%3Apinned-version", |
| "-ensure-file", |
| "path/to/dumb_init version:pinned-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.ensure dumb_init.install path/to/dumb_init.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-version:pinned-v\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"path/to/dumb_init\"@@@", |
| "@@@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": [ |
| "which", |
| "awk", |
| "basename", |
| "cat", |
| "chmod", |
| "cmp", |
| "comm", |
| "cp", |
| "cut", |
| "date", |
| "diff", |
| "dirname", |
| "egrep", |
| "env", |
| "expr", |
| "file", |
| "find", |
| "grep", |
| "gzip", |
| "head", |
| "ldd", |
| "ls", |
| "mkdir", |
| "mktemp", |
| "mv", |
| "readlink", |
| "rm", |
| "sed", |
| "sort", |
| "stat", |
| "tail", |
| "tar", |
| "tee", |
| "touch", |
| "tr", |
| "uname", |
| "wc", |
| "which" |
| ], |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.find tool paths", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "which", |
| "-a", |
| "git" |
| ], |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.find all git binaries", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/nsjail/version%3Apinned-version/nsjail", |
| "--disable_clone_newipc", |
| "--disable_clone_newuts", |
| "--disable_clone_newcgroup", |
| "--disable_rlimits", |
| "--time_limit", |
| "43200", |
| "--log", |
| "/path/to/tmp/", |
| "--bindmount", |
| "[CLEANUP]/tmp_tmp_2:/tmp", |
| "--bindmount_ro", |
| "/bin/bash", |
| "--bindmount", |
| "/dev/null", |
| "--bindmount", |
| "/dev/urandom", |
| "--bindmount_ro", |
| "/dev/zero", |
| "--bindmount_ro", |
| "/lib", |
| "--bindmount_ro", |
| "/lib64", |
| "--bindmount_ro", |
| "/usr/bin/awk", |
| "--bindmount_ro", |
| "/usr/bin/basename", |
| "--bindmount_ro", |
| "/usr/bin/cat", |
| "--bindmount_ro", |
| "/usr/bin/chmod", |
| "--bindmount_ro", |
| "/usr/bin/cmp", |
| "--bindmount_ro", |
| "/usr/bin/comm", |
| "--bindmount_ro", |
| "/usr/bin/cp", |
| "--bindmount_ro", |
| "/usr/bin/cut", |
| "--bindmount_ro", |
| "/usr/bin/date", |
| "--bindmount_ro", |
| "/usr/bin/diff", |
| "--bindmount_ro", |
| "/usr/bin/dirname", |
| "--bindmount_ro", |
| "/usr/bin/egrep", |
| "--bindmount_ro", |
| "/usr/bin/env", |
| "--bindmount_ro", |
| "/usr/bin/expr", |
| "--bindmount_ro", |
| "/usr/bin/file", |
| "--bindmount_ro", |
| "/usr/bin/find", |
| "--bindmount_ro", |
| "/usr/bin/grep", |
| "--bindmount_ro", |
| "/usr/bin/gzip", |
| "--bindmount_ro", |
| "/usr/bin/head", |
| "--bindmount_ro", |
| "/usr/bin/ldd", |
| "--bindmount_ro", |
| "/usr/bin/ls", |
| "--bindmount_ro", |
| "/usr/bin/mkdir", |
| "--bindmount_ro", |
| "/usr/bin/mktemp", |
| "--bindmount_ro", |
| "/usr/bin/mv", |
| "--bindmount_ro", |
| "/usr/bin/openssl", |
| "--bindmount_ro", |
| "/usr/bin/readlink", |
| "--bindmount_ro", |
| "/usr/bin/rm", |
| "--bindmount_ro", |
| "/usr/bin/sed", |
| "--bindmount_ro", |
| "/usr/bin/sort", |
| "--bindmount_ro", |
| "/usr/bin/stat", |
| "--bindmount_ro", |
| "/usr/bin/tail", |
| "--bindmount_ro", |
| "/usr/bin/tar", |
| "--bindmount_ro", |
| "/usr/bin/tee", |
| "--bindmount_ro", |
| "/usr/bin/touch", |
| "--bindmount_ro", |
| "/usr/bin/tr", |
| "--bindmount_ro", |
| "/usr/bin/uname", |
| "--bindmount_ro", |
| "/usr/bin/wc", |
| "--bindmount_ro", |
| "/usr/bin/which", |
| "--bindmount", |
| "[CACHE]", |
| "--bindmount_ro", |
| "[CLEANUP]/clang_tmp_1", |
| "--bindmount", |
| "[CLEANUP]/fint_artifacts_tmp_1", |
| "--bindmount_ro", |
| "[CLEANUP]/fint_tmp_1/fint", |
| "--bindmount_ro", |
| "[CLEANUP]/gcc_tmp_1", |
| "--bindmount_ro", |
| "[CLEANUP]/rust_tmp_1", |
| "--bindmount_ro", |
| "[CLEANUP]/tmp_tmp_1", |
| "--bindmount", |
| "[START_DIR]", |
| "--bindmount_ro", |
| "[START_DIR]/cipd_tool/path/to/dumb_init/version%3Apinned-version/dumb_init", |
| "--bindmount", |
| "[START_DIR]/out/not-default", |
| "--symlink", |
| "/bin/bash:/bin/sh", |
| "--symlink", |
| "/proc/self/fd:/dev/fd", |
| "--symlink", |
| "/proc/self/fd/1:/dev/stdout", |
| "--env", |
| "HOME=/tmp", |
| "--env", |
| "PATH=/usr/bin:/bin", |
| "--env", |
| "TMPDIR=/tmp", |
| "--env", |
| "XDG_CACHE_HOME=/tmp", |
| "--env", |
| "XDG_CONFIG_HOME=/tmp", |
| "--env", |
| "XDG_DATA_HOME=/tmp", |
| "--env", |
| "XDG_HOME=/tmp", |
| "--env", |
| "XDG_STATE_HOME=/tmp", |
| "--", |
| "[START_DIR]/cipd_tool/path/to/dumb_init/version%3Apinned-version/dumb_init", |
| "[CLEANUP]/fint_tmp_1/fint", |
| "set", |
| "-static", |
| "[START_DIR]/infra/specs/fint-params.textproto", |
| "-context", |
| "[CLEANUP]/tmp_tmp_1" |
| ], |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.gn gen", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_TEXT@run by `fint set`@@@", |
| "@@@STEP_LOG_END@raw_io.output_text[nsjail_log]@@@", |
| "@@@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": [ |
| "vpython3", |
| "-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, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "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": [ |
| "rdb", |
| "stream", |
| "--", |
| "vpython", |
| "RECIPE_MODULE[fuchsia::reported_step]/resources/resultdb.py", |
| "{\"testId\": \"gn_gen\", \"expected\": true, \"summaryHtml\": \"<ul><li><a href=\\\"https://cr-buildbucket.appspot.com/log/8945511751514863184/build|gn gen?log=raw_io.output_text[nsjail_log]\\\" target=\\\"_blank\\\">raw_io.output_text[nsjail_log]</a></li>\\n<li><a href=\\\"https://cr-buildbucket.appspot.com/log/8945511751514863184/build|gn gen?log=context.textproto\\\" target=\\\"_blank\\\">context.textproto</a></li>\\n<li><a href=\\\"https://cr-buildbucket.appspot.com/log/8945511751514863184/build|gn gen?log=stdout\\\" target=\\\"_blank\\\">stdout</a></li></ul>\", \"status\": \"PASS\"}" |
| ], |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.gn gen - upload to resultdb", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-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, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "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": [ |
| "vpython3", |
| "-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, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.read tests.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@tests.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "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", |
| "[CLEANUP]/tmp_tmp_3" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.write fint context (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/out/not-default" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.ensure build directory exists (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/nsjail/version%3Apinned-version/nsjail", |
| "--disable_clone_newipc", |
| "--disable_clone_newuts", |
| "--disable_clone_newcgroup", |
| "--disable_rlimits", |
| "--time_limit", |
| "43200", |
| "--log", |
| "/path/to/tmp/", |
| "--bindmount", |
| "[CLEANUP]/tmp_tmp_4:/tmp", |
| "--bindmount_ro", |
| "/bin/bash", |
| "--bindmount", |
| "/dev/null", |
| "--bindmount", |
| "/dev/urandom", |
| "--bindmount_ro", |
| "/dev/zero", |
| "--bindmount_ro", |
| "/lib", |
| "--bindmount_ro", |
| "/lib64", |
| "--bindmount_ro", |
| "/usr/bin/awk", |
| "--bindmount_ro", |
| "/usr/bin/basename", |
| "--bindmount_ro", |
| "/usr/bin/cat", |
| "--bindmount_ro", |
| "/usr/bin/chmod", |
| "--bindmount_ro", |
| "/usr/bin/cmp", |
| "--bindmount_ro", |
| "/usr/bin/comm", |
| "--bindmount_ro", |
| "/usr/bin/cp", |
| "--bindmount_ro", |
| "/usr/bin/cut", |
| "--bindmount_ro", |
| "/usr/bin/date", |
| "--bindmount_ro", |
| "/usr/bin/diff", |
| "--bindmount_ro", |
| "/usr/bin/dirname", |
| "--bindmount_ro", |
| "/usr/bin/egrep", |
| "--bindmount_ro", |
| "/usr/bin/env", |
| "--bindmount_ro", |
| "/usr/bin/expr", |
| "--bindmount_ro", |
| "/usr/bin/file", |
| "--bindmount_ro", |
| "/usr/bin/find", |
| "--bindmount_ro", |
| "/usr/bin/grep", |
| "--bindmount_ro", |
| "/usr/bin/gzip", |
| "--bindmount_ro", |
| "/usr/bin/head", |
| "--bindmount_ro", |
| "/usr/bin/ldd", |
| "--bindmount_ro", |
| "/usr/bin/ls", |
| "--bindmount_ro", |
| "/usr/bin/mkdir", |
| "--bindmount_ro", |
| "/usr/bin/mktemp", |
| "--bindmount_ro", |
| "/usr/bin/mv", |
| "--bindmount_ro", |
| "/usr/bin/openssl", |
| "--bindmount_ro", |
| "/usr/bin/readlink", |
| "--bindmount_ro", |
| "/usr/bin/rm", |
| "--bindmount_ro", |
| "/usr/bin/sed", |
| "--bindmount_ro", |
| "/usr/bin/sort", |
| "--bindmount_ro", |
| "/usr/bin/stat", |
| "--bindmount_ro", |
| "/usr/bin/tail", |
| "--bindmount_ro", |
| "/usr/bin/tar", |
| "--bindmount_ro", |
| "/usr/bin/tee", |
| "--bindmount_ro", |
| "/usr/bin/touch", |
| "--bindmount_ro", |
| "/usr/bin/tr", |
| "--bindmount_ro", |
| "/usr/bin/uname", |
| "--bindmount_ro", |
| "/usr/bin/wc", |
| "--bindmount_ro", |
| "/usr/bin/which", |
| "--bindmount", |
| "[CACHE]", |
| "--bindmount_ro", |
| "[CLEANUP]/clang_tmp_1", |
| "--bindmount", |
| "[CLEANUP]/fint_artifacts_tmp_1", |
| "--bindmount_ro", |
| "[CLEANUP]/fint_tmp_1/fint", |
| "--bindmount_ro", |
| "[CLEANUP]/gcc_tmp_1", |
| "--bindmount_ro", |
| "[CLEANUP]/rust_tmp_1", |
| "--bindmount_ro", |
| "[CLEANUP]/tmp_tmp_3", |
| "--bindmount", |
| "[START_DIR]", |
| "--bindmount_ro", |
| "[START_DIR]/cipd_tool/path/to/dumb_init/version%3Apinned-version/dumb_init", |
| "--bindmount", |
| "[START_DIR]/out/not-default", |
| "--symlink", |
| "/bin/bash:/bin/sh", |
| "--symlink", |
| "/proc/self/fd:/dev/fd", |
| "--symlink", |
| "/proc/self/fd/1:/dev/stdout", |
| "--env", |
| "HOME=/tmp", |
| "--env", |
| "PATH=/usr/bin:/bin", |
| "--env", |
| "TMPDIR=/tmp", |
| "--env", |
| "XDG_CACHE_HOME=/tmp", |
| "--env", |
| "XDG_CONFIG_HOME=/tmp", |
| "--env", |
| "XDG_DATA_HOME=/tmp", |
| "--env", |
| "XDG_HOME=/tmp", |
| "--env", |
| "XDG_STATE_HOME=/tmp", |
| "--", |
| "[START_DIR]/cipd_tool/path/to/dumb_init/version%3Apinned-version/dumb_init", |
| "[CLEANUP]/fint_tmp_1/fint", |
| "build", |
| "-static", |
| "[START_DIR]/infra/specs/fint-params.textproto", |
| "-context", |
| "[CLEANUP]/tmp_tmp_3" |
| ], |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.ninja", |
| "timeout": 5400, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_TEXT@run by `fint build`@@@", |
| "@@@STEP_LOG_END@raw_io.output_text[nsjail_log]@@@", |
| "@@@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": [ |
| "vpython3", |
| "-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, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.read fint build artifacts", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@{@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ \"built_archives\": [@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ {@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ \"name\": \"archive\",@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ \"path\": \"build-archive.tgz\",@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ \"type\": \"tgz\"@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ }@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ ],@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ \"built_images\": [@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ {@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ \"name\": \"foo\",@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ \"path\": \"foo.img\",@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ \"type\": \"blk\"@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ }@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ ],@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ \"log_files\": {@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ \"some_cmd_stdout\": \"/tmp/stdout.txt\"@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ },@@@", |
| "@@@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@ \"ninja_graph_path\": \"/tmp/ninja_graph.dot\",@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@ \"ninja_log_path\": \"/tmp/ninja_log.txt\"@@@", |
| "@@@STEP_LOG_LINE@build_artifacts.json@}@@@", |
| "@@@STEP_LOG_END@build_artifacts.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "rdb", |
| "stream", |
| "--", |
| "vpython", |
| "RECIPE_MODULE[fuchsia::reported_step]/resources/resultdb.py", |
| "{\"testId\": \"ninja\", \"expected\": true, \"summaryHtml\": \"<ul><li><a href=\\\"https://cr-buildbucket.appspot.com/log/8945511751514863184/build|ninja?log=raw_io.output_text[nsjail_log]\\\" target=\\\"_blank\\\">raw_io.output_text[nsjail_log]</a></li>\\n<li><a href=\\\"https://cr-buildbucket.appspot.com/log/8945511751514863184/build|ninja?log=context.textproto\\\" target=\\\"_blank\\\">context.textproto</a></li>\\n<li><a href=\\\"https://cr-buildbucket.appspot.com/log/8945511751514863184/build|ninja?log=stdout\\\" target=\\\"_blank\\\">stdout</a></li></ul>\", \"status\": \"PASS\"}" |
| ], |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.ninja - upload to resultdb", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build.read fint log files", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-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, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "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", |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.fuchsia buildstats", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build.ensure gsutil", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "RECIPE_MODULE[fuchsia::gsutil]/resources/tool_manifest.json", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.ensure gsutil.read manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@{@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/gsutil\",@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"version\": \"version:pinned-version\"@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@}@@@", |
| "@@@STEP_LOG_END@tool_manifest.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build.ensure gsutil.install path/to/gsutil", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/cipd_tool/path/to/gsutil/version%3Apinned-version" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.ensure gsutil.install path/to/gsutil.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/path/to/gsutil/version%3Apinned-version", |
| "-ensure-file", |
| "path/to/gsutil version:pinned-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.ensure gsutil.install path/to/gsutil.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-version:pinned-v\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"path/to/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", |
| "[START_DIR]/cipd_tool/path/to/gsutil/version%3Apinned-version/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, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "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": [ |
| "[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]/fuchsia_ninja_trace.json_tmp_1" |
| ], |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.ninjatrace", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build.upload traces", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@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", |
| "[START_DIR]/cipd_tool/path/to/gsutil/version%3Apinned-version/gsutil", |
| "-h", |
| "Custom-Time:2012-05-14T12:53:23.000000Z", |
| "-o", |
| "GSUtil:software_update_check_period=0", |
| "cp", |
| "-n", |
| "[CLEANUP]/fuchsia_ninja_trace.json_tmp_1", |
| "gs://###fuchsia-build###/builds/namespace/fuchsia_ninja_trace.json" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.upload traces.upload fuchsia_ninja_trace.json to ###fuchsia-build###", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LINK@fuchsia_ninja_trace.json@https://storage.cloud.google.com/###fuchsia-build###/builds/namespace/fuchsia_ninja_trace.json@@@", |
| "@@@STEP_LINK@perfetto_ui@https://ui.perfetto.dev/#!?url=https://storage.googleapis.com/###fuchsia-build###/builds/namespace/fuchsia_ninja_trace.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build.ensure jiri", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "RECIPE_MODULE[fuchsia::jiri]/resources/tool_manifest.json", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.ensure jiri.read manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@{@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/jiri\",@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"version\": \"version:pinned-version\"@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@}@@@", |
| "@@@STEP_LOG_END@tool_manifest.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build.ensure jiri.install path/to/jiri", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.ensure jiri.install path/to/jiri.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version", |
| "-ensure-file", |
| "path/to/jiri version:pinned-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.ensure jiri.install path/to/jiri.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-version:pinned-v\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"path/to/jiri\"@@@", |
| "@@@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_tool/path/to/jiri/version%3Apinned-version/jiri", |
| "check-clean", |
| "-vv", |
| "-time", |
| "-j=8" |
| ], |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "build.jiri check-clean", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-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, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "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": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/out/not-default/sdk_archives.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "read sdk_archives.json", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@sdk_archives.json@[@@@", |
| "@@@STEP_LOG_LINE@sdk_archives.json@ {@@@", |
| "@@@STEP_LOG_LINE@sdk_archives.json@ \"path\": \"sdk_archives/foo_sdk.tar.gz\"@@@", |
| "@@@STEP_LOG_LINE@sdk_archives.json@ }@@@", |
| "@@@STEP_LOG_LINE@sdk_archives.json@]@@@", |
| "@@@STEP_LOG_END@sdk_archives.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/out/not-default/bazel_sdk_info.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "read bazel_sdk_info.json", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@bazel_sdk_info.json@[@@@", |
| "@@@STEP_LOG_LINE@bazel_sdk_info.json@ {@@@", |
| "@@@STEP_LOG_LINE@bazel_sdk_info.json@ \"location\": \"gen/bazel_sdk\"@@@", |
| "@@@STEP_LOG_LINE@bazel_sdk_info.json@ }@@@", |
| "@@@STEP_LOG_LINE@bazel_sdk_info.json@]@@@", |
| "@@@STEP_LOG_END@bazel_sdk_info.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/out/not-default/ctf_artifacts.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "read cts artifacts manifest", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@ctf_artifacts.json@[@@@", |
| "@@@STEP_LOG_LINE@ctf_artifacts.json@ \"foo.far\",@@@", |
| "@@@STEP_LOG_LINE@ctf_artifacts.json@ \"bar.far\"@@@", |
| "@@@STEP_LOG_LINE@ctf_artifacts.json@]@@@", |
| "@@@STEP_LOG_END@ctf_artifacts.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/out/not-default/cipd_assembly_artifacts.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "read cipd_assembly_artifacts.json", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@cipd_assembly_artifacts.json@[@@@", |
| "@@@STEP_LOG_LINE@cipd_assembly_artifacts.json@ {@@@", |
| "@@@STEP_LOG_LINE@cipd_assembly_artifacts.json@ \"path\": \"obj/assembly_inputs.json\"@@@", |
| "@@@STEP_LOG_LINE@cipd_assembly_artifacts.json@ }@@@", |
| "@@@STEP_LOG_LINE@cipd_assembly_artifacts.json@]@@@", |
| "@@@STEP_LOG_END@cipd_assembly_artifacts.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/out/not-default/obj/assembly_inputs.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "read obj/assembly_inputs.json", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@assembly_inputs.json@[@@@", |
| "@@@STEP_LOG_LINE@assembly_inputs.json@ {@@@", |
| "@@@STEP_LOG_LINE@assembly_inputs.json@ \"destination\": \"host_x64/tool\",@@@", |
| "@@@STEP_LOG_LINE@assembly_inputs.json@ \"source\": \"host_x64/tool\"@@@", |
| "@@@STEP_LOG_LINE@assembly_inputs.json@ },@@@", |
| "@@@STEP_LOG_LINE@assembly_inputs.json@ {@@@", |
| "@@@STEP_LOG_LINE@assembly_inputs.json@ \"destination\": \"prebuilt/other-tool\",@@@", |
| "@@@STEP_LOG_LINE@assembly_inputs.json@ \"source\": \"../../prebuilt/other-tool\"@@@", |
| "@@@STEP_LOG_LINE@assembly_inputs.json@ }@@@", |
| "@@@STEP_LOG_LINE@assembly_inputs.json@]@@@", |
| "@@@STEP_LOG_END@assembly_inputs.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "report binary sizes", |
| "~followup_annotations": [ |
| "@@@SET_BUILD_PROPERTY@binary_sizes@{\"component\": 1}@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/out/not-default/gerrit_size_report.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "report binary sizes.read gerrit_size_report.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@gerrit_size_report.json@[@@@", |
| "@@@STEP_LOG_LINE@gerrit_size_report.json@ \"size_report.json\"@@@", |
| "@@@STEP_LOG_LINE@gerrit_size_report.json@]@@@", |
| "@@@STEP_LOG_END@gerrit_size_report.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/out/not-default/size_report.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "report binary sizes.read size_report.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@size_report.json@{@@@", |
| "@@@STEP_LOG_LINE@size_report.json@ \"component\": 1@@@", |
| "@@@STEP_LOG_LINE@size_report.json@}@@@", |
| "@@@STEP_LOG_END@size_report.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ensure size_check" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "RECIPE_MODULE[fuchsia::binary_size]/resources/size_check/tool_manifest.json", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "ensure size_check.read manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@{@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/size_check\",@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"version\": \"version:pinned-version\"@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@}@@@", |
| "@@@STEP_LOG_END@tool_manifest.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ensure size_check.install path/to/size_check", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/cipd_tool/path/to/size_check/version%3Apinned-version" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "ensure size_check.install path/to/size_check.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/path/to/size_check/version%3Apinned-version", |
| "-ensure-file", |
| "path/to/size_check version:pinned-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "ensure size_check.install path/to/size_check.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:pinned-v\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"path/to/size_check\"@@@", |
| "@@@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_tool/path/to/size_check/version%3Apinned-version/size_check", |
| "budgets", |
| "-binary-sizes-json-input", |
| "{\"component\": 1}" |
| ], |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "check budgets" |
| }, |
| { |
| "cmd": [ |
| "rdb", |
| "stream", |
| "--", |
| "vpython", |
| "RECIPE_MODULE[fuchsia::reported_step]/resources/resultdb.py", |
| "{\"testId\": \"check_budgets\", \"expected\": true, \"summaryHtml\": \"<ul><li><a href=\\\"https://cr-buildbucket.appspot.com/log/8945511751514863184/check budgets?log=stdout\\\" target=\\\"_blank\\\">stdout</a></li></ul>\", \"status\": \"PASS\"}" |
| ], |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "check budgets - upload to resultdb" |
| }, |
| { |
| "cmd": [], |
| "name": "upload build results" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-vpython-spec", |
| "RECIPE_MODULE[fuchsia::gsutil]/resources/gsutil.vpython", |
| "[START_DIR]/cipd_tool/path/to/gsutil/version%3Apinned-version/gsutil", |
| "-h", |
| "Custom-Time:2012-05-14T12:53:24.500000Z", |
| "-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, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "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": [ |
| "[START_DIR]/out/not-default/linux_x64/testsharder", |
| "-build-dir", |
| "[START_DIR]/out/not-default", |
| "-output-file", |
| "/path/to/tmp/json" |
| ], |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "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@ \"summary\": {}, @@@", |
| "@@@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@ \"timeout_secs\": 1800@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@]@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |