blob: d6ab157c5054614815ee57c5bb5f4368af820e04 [file] [log] [blame]
[
{
"cmd": [],
"name": "build",
"~followup_annotations": [
"@@@STEP_LOG_LINE@fint_params@field: \"value\"@@@",
"@@@STEP_LOG_END@fint_params@@@",
"@@@STEP_LOG_LINE@failure summary@something failed@@@",
"@@@STEP_LOG_END@failure summary@@@",
"@@@SET_BUILD_PROPERTY@fint_params_path@\"infra/specs/fint-params.textproto\"@@@",
"@@@STEP_FAILURE@@@"
]
},
{
"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@ \"failure_summary\": \"something failed\",@@@",
"@@@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\"}",
"--artifact",
"failure summary",
"something failed"
],
"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@@@"
]
},
{
"failure": {
"failure": {},
"humanReason": "`fint set` emitted a failure summary but had a retcode of zero"
},
"name": "$result"
}
]