blob: ba318be5eef0c64b336be05e934ba58e880b8f06 [file] [log] [blame]
[
{
"cmd": [],
"name": "checkout",
"~followup_annotations": [
"@@@SET_BUILD_PROPERTY@cached_revision@\"\"@@@",
"@@@SET_BUILD_PROPERTY@checkout_info@{\"base_manifest_revision\": \"h3ll0\", \"enable_submodules\": false, \"manifest\": \"flower\", \"manifest_project\": \"integration\", \"manifest_remote\": \"https://fuchsia.googlesource.com/integration\", \"patches\": []}@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[START_DIR]/fuchsia"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.ensure checkout dir",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"ls-remote",
"--heads",
"https://fuchsia.googlesource.com/integration",
"main"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.resolve head of 'main' branch",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@stdout@h3ll0\trefs/heads/main@@@",
"@@@STEP_LOG_END@stdout@@@"
]
},
{
"cmd": [],
"name": "checkout.ensure fuchsia/tools/jiri/${platform}",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout.ensure fuchsia/tools/jiri/${platform}.get packages",
"~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::jiri]/resources/cipd.ensure",
"/path/to/tmp/"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.ensure fuchsia/tools/jiri/${platform}.get packages.read ensure file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@STEP_LOG_LINE@cipd.ensure@fuchsia/tools/jiri/${platform} version:pinned-version@@@",
"@@@STEP_LOG_END@cipd.ensure@@@"
]
},
{
"cmd": [],
"name": "checkout.ensure fuchsia/tools/jiri/${platform}.install fuchsia/tools/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",
"0o777",
"[START_DIR]/cipd_tool/fuchsia/tools/jiri/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.ensure fuchsia/tools/jiri/${platform}.install fuchsia/tools/jiri.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/fuchsia/tools/jiri/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07",
"-ensure-file",
"fuchsia/tools/jiri/${platform} version:pinned-version",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.ensure fuchsia/tools/jiri/${platform}.install fuchsia/tools/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\": \"fuchsia/tools/jiri/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/fuchsia/tools/jiri/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/jiri",
"init",
"-vv",
"-time",
"-timefile",
"/path/to/tmp/",
"-j=8",
"-analytics-opt=false",
"-rewrite-sso-to-https=true",
"-cache",
"[CACHE]/git",
"-fetch-optional=",
"-enable-submodules=false",
"[START_DIR]/fuchsia"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.jiri init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text[timing_stats]@@@",
"@@@STEP_LOG_END@raw_io.output_text[stderr]@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/fuchsia/.jiri_root/config",
"/path/to/tmp/"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.read jiri config",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@config@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/fuchsia/tools/jiri/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/jiri",
"import",
"-vv",
"-time",
"-timefile",
"/path/to/tmp/",
"-j=8",
"-name",
"integration",
"-revision",
"h3ll0",
"flower",
"https://fuchsia.googlesource.com/integration"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.jiri import",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text[timing_stats]@@@",
"@@@STEP_LOG_END@raw_io.output_text[stderr]@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/fuchsia/tools/jiri/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/jiri",
"override",
"-vv",
"-time",
"-timefile",
"/path/to/tmp/",
"-j=8",
"-revision",
"2d72510e447ab60a9728aeea2362d8be2cbd7789",
"fuchsia",
"https://fuchsia.googlesource.com/fuchsia"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.jiri override",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text[timing_stats]@@@",
"@@@STEP_LOG_END@raw_io.output_text[stderr]@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[CACHE]/git"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.ensure git cache dir",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"",
"[CACHE]/git/.GUARD_FILE"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.write git cache guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/fuchsia/tools/jiri/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/jiri",
"update",
"-vv",
"-time",
"-timefile",
"/path/to/tmp/",
"-j=8",
"-autoupdate=false",
"-attempts=1",
"-gc=true",
"-run-hooks=false",
"-fetch-packages=false"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.jiri update",
"timeout": 2700,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text[timing_stats]@@@",
"@@@STEP_LOG_END@raw_io.output_text[stderr]@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"remove",
"[CACHE]/git/.GUARD_FILE"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.remove git cache guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/fuchsia/tools/jiri/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/jiri",
"runp",
"-vv",
"-time",
"-timefile",
"/path/to/tmp/",
"-j=8",
"--",
"git",
"clean",
"-ff",
"-d"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.git clean",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text[timing_stats]@@@",
"@@@STEP_LOG_END@raw_io.output_text[stderr]@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/fuchsia/package_overrides.json",
"/path/to/tmp/"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.read package overrides",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@package_overrides.json@\"\"@@@",
"@@@STEP_LOG_END@package_overrides.json@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/fuchsia/tools/jiri/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/jiri",
"run-hooks",
"-vv",
"-time",
"-timefile",
"/path/to/tmp/",
"-j=8",
"-attempts=3",
"-hook-timeout=9"
],
"cwd": "[START_DIR]/fuchsia",
"env": {
"HOME": "[START_DIR]/fuchsia",
"INFRA_RECIPES": "1"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.jiri run-hooks",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text[timing_stats]@@@",
"@@@STEP_LOG_END@raw_io.output_text[stderr]@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/fuchsia/tools/jiri/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/jiri",
"project",
"-vv",
"-time",
"-timefile",
"/path/to/tmp/",
"-j=8",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.source-info",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text[timing_stats]@@@",
"@@@STEP_LOG_LINE@json.output@[]@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@STEP_LOG_END@raw_io.output_text[stderr]@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/fuchsia/tools/jiri/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/jiri",
"snapshot",
"-vv",
"-time",
"-timefile",
"/path/to/tmp/",
"-j=8",
"[CLEANUP]/jiri_snapshot.xml"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.jiri snapshot",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text[timing_stats]@@@",
"@@@STEP_LOG_END@raw_io.output_text[stderr]@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/jiri_snapshot.xml",
"/path/to/tmp/"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.read snapshot",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@jiri_snapshot.xml@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/fuchsia/tools/jiri/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/jiri",
"check-clean",
"-vv",
"-time",
"-timefile",
"/path/to/tmp/",
"-j=8"
],
"cwd": "[START_DIR]/fuchsia",
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.jiri check-clean",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text[timing_stats]@@@",
"@@@STEP_LOG_END@raw_io.output_text[stderr]@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/fuchsia/tools/jiri/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/jiri",
"project",
"-vv",
"-time",
"-timefile",
"/path/to/tmp/",
"-j=8",
"-json-output",
"/path/to/tmp/json",
"integration"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "jiri project",
"~followup_annotations": [
"@@@STEP_LOG_END@raw_io.output_text[timing_stats]@@@",
"@@@STEP_LOG_LINE@json.output@[@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"branches\": [@@@",
"@@@STEP_LOG_LINE@json.output@ \"(HEAD detached at c22471f)\"@@@",
"@@@STEP_LOG_LINE@json.output@ ],@@@",
"@@@STEP_LOG_LINE@json.output@ \"current_branch\": \"\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"name\": \"integration\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"path\": \"[START_DIR]/fuchsia/integration\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"relativePath\": \"integration\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"remote\": \"https://fuchsia.googlesource.com/integration\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"c22471f4e3f842ae18dd9adec82ed9eb78ed1127\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@]@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@STEP_LOG_END@raw_io.output_text[stderr]@@@"
]
},
{
"cmd": [
"git",
"describe",
"--tags",
"--exact-match",
"2d72510e447ab60a9728aeea2362d8be2cbd7789"
],
"cwd": "[START_DIR]/fuchsia/integration",
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "map ref to release version",
"timeout": 300.0
},
{
"cmd": [
"git",
"ls-remote",
"--heads",
"https://fuchsia.googlesource.com/integration",
"refs/heads/main"
],
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "git ls-remote",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_LOG_LINE@stdout@h3ll0\trefs/heads/refs/heads/main@@@",
"@@@STEP_LOG_END@stdout@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--jobs",
"4",
"origin",
"h3ll0"
],
"cwd": "[START_DIR]/fuchsia/integration",
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "git fetch",
"timeout": 1200.0
},
{
"cmd": [
"git",
"--no-pager",
"tag",
"--merged",
"h3ll0"
],
"cwd": "[START_DIR]/fuchsia/integration",
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "get release versions on h3ll0",
"timeout": 600.0
},
{
"cmd": [],
"name": "SDK build",
"~followup_annotations": [
"@@@STEP_LINK@builder-subbuild@https://ci.chromium.org/b/123@@@",
"@@@SET_BUILD_PROPERTY@checkout_info@{\"manifest\": \"foo\"}@@@"
]
},
{
"cmd": [
"bb",
"batch",
"-host",
"cr-buildbucket.appspot.com"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "SDK build.schedule",
"stdin": "{\"requests\": [{\"scheduleBuild\": {\"builder\": {\"bucket\": \"ci\", \"builder\": \"builder-subbuild\", \"project\": \"fuchsia\"}, \"experimental\": \"NO\", \"experiments\": {\"luci.buildbucket.parent_tracking\": false}, \"fields\": \"builder,createTime,createdBy,critical,endTime,id,infra,input,number,output,startTime,status,updateTime\", \"gitilesCommit\": {\"host\": \"fuchsia.googlesource.com\", \"id\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\", \"project\": \"fuchsia\", \"ref\": \"refs/heads/releases/foo\"}, \"properties\": {\"sdk_id\": \"0.20191018.0.1\"}, \"requestId\": \"8945511751514863184-00000000-0000-0000-0000-000000001337\", \"swarming\": {\"parentRunId\": \"fake-task-id\"}, \"tags\": [{\"key\": \"hide-in-gerrit\", \"value\": \"subbuild\"}, {\"key\": \"parent_buildbucket_id\", \"value\": \"8945511751514863184\"}, {\"key\": \"skip-retry-in-gerrit\", \"value\": \"subbuild\"}, {\"key\": \"user_agent\", \"value\": \"recipe\"}]}}]}",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"responses\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"scheduleBuild\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"builder\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"bucket\": \"ci\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"builder\": \"builder-subbuild\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"project\": \"fuchsia\"@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ \"id\": \"123\"@@@",
"@@@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@@@",
"@@@STEP_LOG_LINE@request@{@@@",
"@@@STEP_LOG_LINE@request@ \"requests\": [@@@",
"@@@STEP_LOG_LINE@request@ {@@@",
"@@@STEP_LOG_LINE@request@ \"scheduleBuild\": {@@@",
"@@@STEP_LOG_LINE@request@ \"builder\": {@@@",
"@@@STEP_LOG_LINE@request@ \"bucket\": \"ci\",@@@",
"@@@STEP_LOG_LINE@request@ \"builder\": \"builder-subbuild\",@@@",
"@@@STEP_LOG_LINE@request@ \"project\": \"fuchsia\"@@@",
"@@@STEP_LOG_LINE@request@ },@@@",
"@@@STEP_LOG_LINE@request@ \"experimental\": \"NO\",@@@",
"@@@STEP_LOG_LINE@request@ \"experiments\": {@@@",
"@@@STEP_LOG_LINE@request@ \"luci.buildbucket.parent_tracking\": false@@@",
"@@@STEP_LOG_LINE@request@ },@@@",
"@@@STEP_LOG_LINE@request@ \"fields\": \"builder,createTime,createdBy,critical,endTime,id,infra,input,number,output,startTime,status,updateTime\",@@@",
"@@@STEP_LOG_LINE@request@ \"gitilesCommit\": {@@@",
"@@@STEP_LOG_LINE@request@ \"host\": \"fuchsia.googlesource.com\",@@@",
"@@@STEP_LOG_LINE@request@ \"id\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\",@@@",
"@@@STEP_LOG_LINE@request@ \"project\": \"fuchsia\",@@@",
"@@@STEP_LOG_LINE@request@ \"ref\": \"refs/heads/releases/foo\"@@@",
"@@@STEP_LOG_LINE@request@ },@@@",
"@@@STEP_LOG_LINE@request@ \"properties\": {@@@",
"@@@STEP_LOG_LINE@request@ \"sdk_id\": \"0.20191018.0.1\"@@@",
"@@@STEP_LOG_LINE@request@ },@@@",
"@@@STEP_LOG_LINE@request@ \"requestId\": \"8945511751514863184-00000000-0000-0000-0000-000000001337\",@@@",
"@@@STEP_LOG_LINE@request@ \"swarming\": {@@@",
"@@@STEP_LOG_LINE@request@ \"parentRunId\": \"fake-task-id\"@@@",
"@@@STEP_LOG_LINE@request@ },@@@",
"@@@STEP_LOG_LINE@request@ \"tags\": [@@@",
"@@@STEP_LOG_LINE@request@ {@@@",
"@@@STEP_LOG_LINE@request@ \"key\": \"hide-in-gerrit\",@@@",
"@@@STEP_LOG_LINE@request@ \"value\": \"subbuild\"@@@",
"@@@STEP_LOG_LINE@request@ },@@@",
"@@@STEP_LOG_LINE@request@ {@@@",
"@@@STEP_LOG_LINE@request@ \"key\": \"parent_buildbucket_id\",@@@",
"@@@STEP_LOG_LINE@request@ \"value\": \"8945511751514863184\"@@@",
"@@@STEP_LOG_LINE@request@ },@@@",
"@@@STEP_LOG_LINE@request@ {@@@",
"@@@STEP_LOG_LINE@request@ \"key\": \"skip-retry-in-gerrit\",@@@",
"@@@STEP_LOG_LINE@request@ \"value\": \"subbuild\"@@@",
"@@@STEP_LOG_LINE@request@ },@@@",
"@@@STEP_LOG_LINE@request@ {@@@",
"@@@STEP_LOG_LINE@request@ \"key\": \"user_agent\",@@@",
"@@@STEP_LOG_LINE@request@ \"value\": \"recipe\"@@@",
"@@@STEP_LOG_LINE@request@ }@@@",
"@@@STEP_LOG_LINE@request@ ]@@@",
"@@@STEP_LOG_LINE@request@ }@@@",
"@@@STEP_LOG_LINE@request@ }@@@",
"@@@STEP_LOG_LINE@request@ ]@@@",
"@@@STEP_LOG_LINE@request@}@@@",
"@@@STEP_LOG_END@request@@@",
"@@@STEP_LINK@123@https://cr-buildbucket.appspot.com/build/123@@@"
]
},
{
"cmd": [],
"name": "SDK build.collect",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"bb",
"collect",
"-host",
"cr-buildbucket.appspot.com",
"-interval",
"20s",
"123"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "SDK build.collect.wait",
"timeout": 86400.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"bb",
"batch",
"-host",
"cr-buildbucket.appspot.com"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "SDK build.collect.get",
"stdin": "{\"requests\": [{\"getBuild\": {\"fields\": \"builder,createTime,createdBy,critical,endTime,id,infra,input,number,output,startTime,status,summaryMarkdown,updateTime\", \"id\": \"123\"}}]}",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"responses\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"getBuild\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"builder\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"bucket\": \"ci\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"builder\": \"builder-subbuild\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"project\": \"fuchsia\"@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ \"createTime\": \"2018-05-25T23:50:17Z\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"createdBy\": \"user:luci-scheduler@appspot.gserviceaccount.com\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"id\": \"123\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"infra\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"backend\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"task\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"id\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"id\": \"abc123\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ \"resultdb\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"invocation\": \"invocations/build:123\"@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"priority\": 30@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ \"input\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"gitilesCommit\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"host\": \"chromium.googlesource.com\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"id\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"project\": \"fuchsia\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"ref\": \"refs/heads/main\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ \"output\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"bazel_sdk_cas_digest\": \"cas-digest\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"checkout_info\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"manifest\": \"foo\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ \"status\": \"SUCCESS\"@@@",
"@@@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@@@",
"@@@STEP_LOG_LINE@request@{@@@",
"@@@STEP_LOG_LINE@request@ \"requests\": [@@@",
"@@@STEP_LOG_LINE@request@ {@@@",
"@@@STEP_LOG_LINE@request@ \"getBuild\": {@@@",
"@@@STEP_LOG_LINE@request@ \"fields\": \"builder,createTime,createdBy,critical,endTime,id,infra,input,number,output,startTime,status,summaryMarkdown,updateTime\",@@@",
"@@@STEP_LOG_LINE@request@ \"id\": \"123\"@@@",
"@@@STEP_LOG_LINE@request@ }@@@",
"@@@STEP_LOG_LINE@request@ }@@@",
"@@@STEP_LOG_LINE@request@ ]@@@",
"@@@STEP_LOG_LINE@request@}@@@",
"@@@STEP_LOG_END@request@@@",
"@@@STEP_LINK@123@https://cr-buildbucket.appspot.com/build/123@@@"
]
},
{
"cmd": [],
"name": "SDK build.check SDK build status",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "SDK build.check SDK build status.builder-subbuild",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LINK@123@https://cr-buildbucket.appspot.com/build/123@@@"
]
},
{
"cmd": [],
"name": "fetch sdk artifacts"
},
{
"cmd": [],
"name": "fetch bazel SDK artifacts"
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"RECIPE_MODULE[recipe_engine::cas]/resources/infra.sha1",
"/path/to/tmp/"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "fetch bazel SDK artifacts.read infra revision",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@infra.sha1@git_revision:mock_infra_git_revision@@@",
"@@@STEP_LOG_END@infra.sha1@@@"
]
},
{
"cmd": [],
"name": "fetch bazel SDK artifacts.install infra/tools/luci/cas",
"~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",
"0o777",
"[START_DIR]/cipd_tool/infra/tools/luci/cas/33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "fetch bazel SDK artifacts.install infra/tools/luci/cas.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/infra/tools/luci/cas/33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee",
"-ensure-file",
"infra/tools/luci/cas/${platform} git_revision:mock_infra_git_revision",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "fetch bazel SDK artifacts.install infra/tools/luci/cas.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-git_revision:moc\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/cas/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/infra/tools/luci/cas/33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee/cas",
"download",
"-cas-instance",
"projects/example-cas-server/instances/default_instance",
"-digest",
"cas-digest",
"-dir",
"[CLEANUP]/bazel_sdk_cas_digest"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "fetch bazel SDK artifacts.download",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "upload bazel SDK"
},
{
"cmd": [],
"name": "upload bazel SDK.cipd",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@SET_BUILD_PROPERTY@git_revision@\"2d72510e447ab60a9728aeea2362d8be2cbd7789\"@@@",
"@@@SET_BUILD_PROPERTY@instance_id@\"40-chars-fake-of-the-package-instance_id\"@@@",
"@@@SET_BUILD_PROPERTY@package@\"fuchsia/sdk/core/fuchsia-bazel-rules/linux-amd64\"@@@"
]
},
{
"cmd": [
"cipd",
"pkg-build",
"-pkg-def",
"{\"data\": [{\"dir\": \".\", \"exclude\": []}, {\"version_file\": \".versions/fuchsia-bazel-rules.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"fuchsia/sdk/core/fuchsia-bazel-rules/linux-amd64\", \"root\": \"[CLEANUP]/bazel_sdk_cas_digest\"}",
"-out",
"[CLEANUP]/cipd-util-build_tmp_1/fuchsia-bazel-rules.pkg",
"-hash-algo",
"sha256",
"-json-output",
"/path/to/tmp/json"
],
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "upload bazel SDK.cipd.build fuchsia/sdk/core/fuchsia-bazel-rules/linux-amd64",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/sdk/core/fuchsia-bazel-rules/linux-amd64\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"cipd",
"search",
"fuchsia/sdk/core/fuchsia-bazel-rules/linux-amd64",
"-tag",
"git_revision:2d72510e447ab60a9728aeea2362d8be2cbd7789",
"-json-output",
"/path/to/tmp/json"
],
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "upload bazel SDK.cipd.cipd search fuchsia/sdk/core/fuchsia-bazel-rules/linux-amd64 git_revision:2d72510e447ab60a9728aeea2362d8be2cbd7789",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": []@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"cipd",
"pkg-register",
"[CLEANUP]/cipd-util-build_tmp_1/fuchsia-bazel-rules.pkg",
"-ref",
"latest",
"-tag",
"git_revision:2d72510e447ab60a9728aeea2362d8be2cbd7789",
"-tag",
"jiri_snapshot:0.20191018.0.1",
"-tag",
"version:0.20191018.0.1",
"-metadata",
"bbid:8945511751514863184",
"-metadata",
"jiri_snapshot:0.20191018.0.1",
"-metadata",
"version:0.20191018.0.1",
"-json-output",
"/path/to/tmp/json"
],
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "upload bazel SDK.cipd.register fuchsia/sdk/core/fuchsia-bazel-rules/linux-amd64",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/sdk/core/fuchsia-bazel-rules/linux-amd64\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@STEP_LINK@fuchsia/sdk/core/fuchsia-bazel-rules/linux-amd64@https://chrome-infra-packages.appspot.com/p/fuchsia/sdk/core/fuchsia-bazel-rules/linux-amd64/+/40-chars-fake-of-the-package-instance_id@@@"
]
},
{
"name": "$result"
}
]