blob: 0af8a9d25f46ab3ebe49437950e37d814fc8b8aa [file] [log] [blame]
[
{
"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@@@",
"@@@STEP_EXCEPTION@@@"
]
},
{
"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": [
"[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]\"\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",
"[CLEANUP]/fint_artifacts_tmp_1",
"--bindmount_ro",
"[CLEANUP]/fint_tmp_1/fint",
"--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@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_LINE@set_artifacts.json@ \"enable_rbe\": true,@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@ \"gn_trace_path\": \"[CLEANUP]/fint_artifacts_tmp_1/mock-gn-trace.json\",@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@ \"metadata\": {@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@ \"board\": \"boards/x64.gni\",@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@ \"optimize\": \"debug\",@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@ \"product\": \"products/core.gni\",@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@ \"target_arch\": \"x64\",@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@ \"variants\": [@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@ \"asan\"@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@ ]@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@ },@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@ \"use_goma\": true@@@",
"@@@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",
"[START_DIR]/out/not-default/rbe_config.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 rbe_config manifest",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@rbe_config.json@[@@@",
"@@@STEP_LOG_LINE@rbe_config.json@ {@@@",
"@@@STEP_LOG_LINE@rbe_config.json@ \"path\": \"../../path/to/rbe/config.cfg\"@@@",
"@@@STEP_LOG_LINE@rbe_config.json@ }@@@",
"@@@STEP_LOG_LINE@rbe_config.json@]@@@",
"@@@STEP_LOG_END@rbe_config.json@@@"
]
},
{
"cmd": [],
"name": "build.setup goma",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "build.setup goma.ensure cpython3",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"RECIPE_MODULE[fuchsia::python3]/resources/tool_manifest.json",
"/path/to/tmp/json"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DUMP_STATS_FILE": "[START_DIR]/out/not-default/linux_x64/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_MAX_SUM_OUTPUT_SIZE_IN_MB": "256",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_STORE_LOCAL_RUN_OUTPUT": "True",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.setup goma.ensure cpython3.read manifest",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@{@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/cpython3\",@@@",
"@@@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.setup goma.ensure cpython3.install path/to/cpython3",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"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/cpython3/version%3Apinned-version"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DUMP_STATS_FILE": "[START_DIR]/out/not-default/linux_x64/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_MAX_SUM_OUTPUT_SIZE_IN_MB": "256",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_STORE_LOCAL_RUN_OUTPUT": "True",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.setup goma.ensure cpython3.install path/to/cpython3.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/path/to/cpython3/version%3Apinned-version",
"-ensure-file",
"path/to/cpython3 version:pinned-version",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DUMP_STATS_FILE": "[START_DIR]/out/not-default/linux_x64/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_MAX_SUM_OUTPUT_SIZE_IN_MB": "256",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_STORE_LOCAL_RUN_OUTPUT": "True",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.setup goma.ensure cpython3.install path/to/cpython3.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@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/cpython3\"@@@",
"@@@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/cpython3/version%3Apinned-version/bin/python3",
"[START_DIR]/out/not-default/linux_x64/goma_ctl.py",
"restart"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DUMP_STATS_FILE": "[START_DIR]/out/not-default/linux_x64/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_MAX_SUM_OUTPUT_SIZE_IN_MB": "256",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_STORE_LOCAL_RUN_OUTPUT": "True",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.setup goma.start goma",
"~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",
"[CACHE]/rbe/deps"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.create rbe cache dir",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "build.setup remote execution",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/out/not-default/linux_x64/bootstrap",
"--re_proxy=[START_DIR]/out/not-default/linux_x64/reproxy",
"--cfg=[START_DIR]/path/to/rbe/config.cfg"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_deps_cache_max_mb": "512",
"RBE_instance": "fake_rbe_instance",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_platform": "fake_rbe_platform",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_service": "remotebuildexecution.googleapis.com:443",
"RBE_socket_path": "[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.setup remote execution.start reproxy",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"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]\"\ngoma_job_count: 80\n",
"[CLEANUP]/tmp_tmp_3"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_deps_cache_max_mb": "512",
"RBE_instance": "fake_rbe_instance",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_platform": "fake_rbe_platform",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_service": "remotebuildexecution.googleapis.com:443",
"RBE_socket_path": "[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"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": [
"[CLEANUP]/fint_tmp_1/fint",
"build",
"-static",
"[START_DIR]/infra/specs/fint-params.textproto",
"-context",
"[CLEANUP]/tmp_tmp_3"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"HOME": "[CLEANUP]",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_deps_cache_max_mb": "512",
"RBE_instance": "fake_rbe_instance",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_platform": "fake_rbe_platform",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_service": "remotebuildexecution.googleapis.com:443",
"RBE_socket_path": "[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True",
"XDG_CACHE_HOME": "[CLEANUP]",
"XDG_CONFIG_HOME": "[CLEANUP]",
"XDG_DATA_HOME": "[CLEANUP]",
"XDG_HOME": "[CLEANUP]",
"XDG_STATE_HOME": "[CLEANUP]"
},
"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_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@goma_job_count: 80@@@",
"@@@STEP_LOG_END@context.textproto@@@"
]
},
{
"cmd": [],
"name": "build.teardown remote execution",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/out/not-default/linux_x64/bootstrap",
"--shutdown",
"--cfg=[START_DIR]/path/to/rbe/config.cfg"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_deps_cache_max_mb": "512",
"RBE_instance": "fake_rbe_instance",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_platform": "fake_rbe_platform",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_service": "remotebuildexecution.googleapis.com:443",
"RBE_socket_path": "[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.stop reproxy",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/rbe_tmp_1/bootstrap.WARNING",
"/path/to/tmp/"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_deps_cache_max_mb": "512",
"RBE_instance": "fake_rbe_instance",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_platform": "fake_rbe_platform",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_service": "remotebuildexecution.googleapis.com:443",
"RBE_socket_path": "[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.read bootstrap.WARNING",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/rbe_tmp_1/rbe_metrics.txt",
"/path/to/tmp/"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_deps_cache_max_mb": "512",
"RBE_instance": "fake_rbe_instance",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_platform": "fake_rbe_platform",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_service": "remotebuildexecution.googleapis.com:443",
"RBE_socket_path": "[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.read rbe_metrics.txt",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/rbe_tmp_1/reproxy.WARNING",
"/path/to/tmp/"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_deps_cache_max_mb": "512",
"RBE_instance": "fake_rbe_instance",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_platform": "fake_rbe_platform",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_service": "remotebuildexecution.googleapis.com:443",
"RBE_socket_path": "[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.read reproxy.WARNING",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/rbe_tmp_1/reproxy-gomaip.WARNING",
"/path/to/tmp/"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_deps_cache_max_mb": "512",
"RBE_instance": "fake_rbe_instance",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_platform": "fake_rbe_platform",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_service": "remotebuildexecution.googleapis.com:443",
"RBE_socket_path": "[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.read reproxy-gomaip.WARNING",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/rbe_tmp_1/reproxy_outerr.log",
"/path/to/tmp/"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_deps_cache_max_mb": "512",
"RBE_instance": "fake_rbe_instance",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_platform": "fake_rbe_platform",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_service": "remotebuildexecution.googleapis.com:443",
"RBE_socket_path": "[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.read reproxy_outerr.log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/rbe_tmp_1/rewrapper.WARNING",
"/path/to/tmp/"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_deps_cache_max_mb": "512",
"RBE_instance": "fake_rbe_instance",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_platform": "fake_rbe_platform",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_service": "remotebuildexecution.googleapis.com:443",
"RBE_socket_path": "[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.read rewrapper.WARNING",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"glob",
"[CLEANUP]/rbe_tmp_1",
"*.rrpl"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_deps_cache_max_mb": "512",
"RBE_instance": "fake_rbe_instance",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_platform": "fake_rbe_platform",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_service": "remotebuildexecution.googleapis.com:443",
"RBE_socket_path": "[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.find rrpl files",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@glob@[CLEANUP]/rbe_tmp_1/reproxy_2021-10-16_22_52_23.rrpl@@@",
"@@@STEP_LOG_END@glob@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/rbe_tmp_1/reproxy_2021-10-16_22_52_23.rrpl",
"/path/to/tmp/"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_deps_cache_max_mb": "512",
"RBE_instance": "fake_rbe_instance",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_platform": "fake_rbe_platform",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_service": "remotebuildexecution.googleapis.com:443",
"RBE_socket_path": "[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.read reproxy_2021-10-16_22_52_23.rrpl",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/rbe_tmp_1/rbe_metrics.pb",
"/path/to/tmp/pb"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_deps_cache_max_mb": "512",
"RBE_instance": "fake_rbe_instance",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_platform": "fake_rbe_platform",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_service": "remotebuildexecution.googleapis.com:443",
"RBE_socket_path": "[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.read rbe_metrics.pb",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "build.teardown remote execution.ensure bqupload",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"RECIPE_MODULE[fuchsia::bqupload]/resources/tool_manifest.json",
"/path/to/tmp/json"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_deps_cache_max_mb": "512",
"RBE_instance": "fake_rbe_instance",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_platform": "fake_rbe_platform",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_service": "remotebuildexecution.googleapis.com:443",
"RBE_socket_path": "[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.ensure bqupload.read manifest",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@{@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/bqupload\",@@@",
"@@@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.teardown remote execution.ensure bqupload.install path/to/bqupload",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"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/bqupload/version%3Apinned-version"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_deps_cache_max_mb": "512",
"RBE_instance": "fake_rbe_instance",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_platform": "fake_rbe_platform",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_service": "remotebuildexecution.googleapis.com:443",
"RBE_socket_path": "[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.ensure bqupload.install path/to/bqupload.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/path/to/bqupload/version%3Apinned-version",
"-ensure-file",
"path/to/bqupload version:pinned-version",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_deps_cache_max_mb": "512",
"RBE_instance": "fake_rbe_instance",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_platform": "fake_rbe_platform",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_service": "remotebuildexecution.googleapis.com:443",
"RBE_socket_path": "[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.ensure bqupload.install path/to/bqupload.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@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/bqupload\"@@@",
"@@@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/bqupload/version%3Apinned-version/bqupload",
"fuchsia-engprod-metrics-prod.metrics.rbe_client_metrics_v2",
"{\"build_id\": \"8945511751514863184\", \"builder_name\": \"builder\", \"created_at\": \"2012-05-14T12:53:21.500Z\", \"instance\": \"fake_rbe_instance\", \"stats\": {\"environment\": [{\"key\": \"bar\", \"value\": \"42\"}, {\"key\": \"foo\", \"value\": \"false\"}]}}"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_deps_cache_max_mb": "512",
"RBE_instance": "fake_rbe_instance",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_platform": "fake_rbe_platform",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_service": "remotebuildexecution.googleapis.com:443",
"RBE_socket_path": "[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.upload metrics",
"tags": {
"fuchsia.failure_alert_emails": "olivernewman@google.com"
},
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"environment\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"key\": \"bar\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"value\": \"42\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"key\": \"foo\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"value\": \"false\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"[START_DIR]/out/not-default/linux_x64/logdump",
"--proxy_log_dir",
"[CLEANUP]/rbe_tmp_1",
"--output_dir",
"[CLEANUP]/rbe_tmp_1"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_deps_cache_max_mb": "512",
"RBE_instance": "fake_rbe_instance",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_platform": "fake_rbe_platform",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_service": "remotebuildexecution.googleapis.com:443",
"RBE_socket_path": "[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.convert reproxy command log to binary proto",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/rbe_tmp_1/reproxy_log.pb",
"/path/to/tmp/pb"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_deps_cache_max_mb": "512",
"RBE_instance": "fake_rbe_instance",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_platform": "fake_rbe_platform",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_service": "remotebuildexecution.googleapis.com:443",
"RBE_socket_path": "[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.read reproxy_log.pb",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "build.teardown goma",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/path/to/cpython3/version%3Apinned-version/bin/python3",
"[START_DIR]/out/not-default/linux_x64/goma_ctl.py",
"jsonstatus",
"[START_DIR]/out/not-default/linux_x64/jsonstatus"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DUMP_STATS_FILE": "[START_DIR]/out/not-default/linux_x64/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_MAX_SUM_OUTPUT_SIZE_IN_MB": "256",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_STORE_LOCAL_RUN_OUTPUT": "True",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown 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": [
"[START_DIR]/cipd_tool/path/to/cpython3/version%3Apinned-version/bin/python3",
"[START_DIR]/out/not-default/linux_x64/goma_ctl.py",
"stat"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DUMP_STATS_FILE": "[START_DIR]/out/not-default/linux_x64/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_MAX_SUM_OUTPUT_SIZE_IN_MB": "256",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_STORE_LOCAL_RUN_OUTPUT": "True",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown goma.goma stats",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/path/to/cpython3/version%3Apinned-version/bin/python3",
"[START_DIR]/out/not-default/linux_x64/goma_ctl.py",
"stop"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DUMP_STATS_FILE": "[START_DIR]/out/not-default/linux_x64/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_MAX_SUM_OUTPUT_SIZE_IN_MB": "256",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_STORE_LOCAL_RUN_OUTPUT": "True",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown goma.stop goma",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/compiler_proxy.WARNING",
"/path/to/tmp/"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown goma.read goma_client warning log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@compiler_proxy.WARNING@test log@@@",
"@@@STEP_LOG_END@compiler_proxy.WARNING@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/out/not-default/linux_x64/goma_stats.json",
"/path/to/tmp/"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown goma.read goma_stats.json",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"build_info\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"build_id\": 8945511751514863184, @@@",
"@@@STEP_LOG_LINE@json.output@ \"builder\": \"builder\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"time_stamp\": \"2012-05-14 12:53:23\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"time_stamp_int\": 1337000004500@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/path/to/bqupload/version%3Apinned-version/bqupload",
"fuchsia-infra.artifacts.builds_beta_goma",
"{\"build_info\": {\"build_id\": 8945511751514863184, \"builder\": \"builder\", \"time_stamp\": \"2012-05-14 12:53:23\", \"time_stamp_int\": 1337000004500}}"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown goma.upload goma stats to bigquery",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"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=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:26.000000Z",
"-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_EXCEPTION@@@"
]
},
{
"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:26.000000Z",
"-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### (2)",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_EXCEPTION@@@"
]
},
{
"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:26.000000Z",
"-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### (3)",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_EXCEPTION@@@"
]
},
{
"cmd": [],
"name": "build.upload buildstats failure",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@exception@Infra Failure: Step('build.upload fuchsia-buildstats.json to ###fuchsia-build### (3)') (retcode: 1)@@@",
"@@@STEP_LOG_END@exception@@@"
]
},
{
"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:27.500000Z",
"-o",
"GSUtil:software_update_check_period=0",
"cp",
"-n",
"[CLEANUP]/fint_artifacts_tmp_1/mock-gn-trace.json",
"gs://###fuchsia-build###/builds/namespace/fuchsia_gn_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_gn_trace.json to ###fuchsia-build###",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LINK@fuchsia_gn_trace.json@https://storage.cloud.google.com/###fuchsia-build###/builds/namespace/fuchsia_gn_trace.json@@@",
"@@@STEP_LINK@perfetto_ui@https://ui.perfetto.dev/#!?url=https://storage.googleapis.com/###fuchsia-build###/builds/namespace/fuchsia_gn_trace.json@@@"
]
},
{
"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:29.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:30.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"
}
]