blob: 96c7a5d60f9d6ceb3fb242d190d78bc3b825f20b [file] [log] [blame]
[
{
"cmd": [],
"name": "checkout pigweed",
"~followup_annotations": [
"@@@STEP_LINK@applied pigweed:1234@https://pigweed-review.googlesource.com/c/1234@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.change data",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.change data.process gitiles commit",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.change data.process gitiles commit.ensure gerrit",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"RECIPE_MODULE[fuchsia::gerrit]/resources/tool_manifest.json",
"/path/to/tmp/json"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.change data.process gitiles commit.ensure gerrit.read manifest",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@{@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/gerrit\",@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@ \"version\": \"version:pinned-version\"@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@}@@@",
"@@@STEP_LOG_END@tool_manifest.json@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.change data.process gitiles commit.ensure gerrit.install path/to/gerrit",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CACHE]/cipd/path/to/gerrit/version%3Apinned-version"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.change data.process gitiles commit.ensure gerrit.install path/to/gerrit.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@5@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CACHE]/cipd/path/to/gerrit/version%3Apinned-version",
"-ensure-file",
"path/to/gerrit version:pinned-version",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.change data.process gitiles commit.ensure gerrit.install path/to/gerrit.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@5@@@",
"@@@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/gerrit\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"[CACHE]/cipd/path/to/gerrit/version%3Apinned-version/gerrit",
"change-query",
"-host",
"https://pigweed-review.googlesource.com",
"-input",
"{\"params\": {\"q\": \"commit:2d72510e447ab60a9728aeea2362d8be2cbd7789\"}}",
"-output",
"/path/to/tmp/json"
],
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.change data.process gitiles commit.number",
"timeout": 30,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@STEP_LOG_LINE@json.output@[@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"_number\": \"1234\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"branch\": \"main\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@]@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@STEP_LOG_LINE@json.input@{@@@",
"@@@STEP_LOG_LINE@json.input@ \"params\": {@@@",
"@@@STEP_LOG_LINE@json.input@ \"q\": \"commit:2d72510e447ab60a9728aeea2362d8be2cbd7789\"@@@",
"@@@STEP_LOG_LINE@json.input@ }@@@",
"@@@STEP_LOG_LINE@json.input@}@@@",
"@@@STEP_LOG_END@json.input@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.change data.changes",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.change data.changes.pigweed:1234",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@STEP_SUMMARY_TEXT@_Change(number=1234, remote='https://pigweed.googlesource.com/pigweed/manifest', ref='2d72510e447ab60a9728aeea2362d8be2cbd7789', rebase=False, branch='main', gerrit_name='pigweed', submitted=True, base=None, base_type=None)@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/checkout"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.mkdir checkout",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"RECIPE_MODULE[pigweed::repo]/resources/repo",
"init",
"--manifest-url",
"https://pigweed.googlesource.com/pigweed/manifest",
"--groups",
"all",
"--manifest-branch",
"main",
"--manifest-name",
"default.xml"
],
"cwd": "[START_DIR]/checkout",
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.repo init",
"timeout": 20,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"find",
".repo/",
"-type",
"f",
"-name",
"*.lock",
"-print",
"-delete"
],
"cwd": "[START_DIR]/checkout",
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.clear repo locks",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"RECIPE_MODULE[pigweed::repo]/resources/repo",
"forall",
"--ignore-missing",
"-j",
"32",
"-c",
"find",
".git/",
"-type",
"f",
"-name",
"*.lock",
"-print",
"-delete"
],
"cwd": "[START_DIR]/checkout",
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.clear git locks",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.apply pigweed:1234",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@gerrit@https://pigweed-review.googlesource.com/c/1234@@@",
"@@@STEP_LINK@gitiles@https://pigweed.googlesource.com/pigweed/manifest/+/2d72510e447ab60a9728aeea2362d8be2cbd7789@@@"
]
},
{
"cmd": [
"git",
"fetch",
"https://pigweed.googlesource.com/pigweed/manifest",
"2d72510e447ab60a9728aeea2362d8be2cbd7789",
"--no-recurse-submodules"
],
"cwd": "[START_DIR]/checkout/.repo/manifests",
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.apply pigweed:1234.git fetch patch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"checkout",
"--force",
"-b",
"working",
"FETCH_HEAD"
],
"cwd": "[START_DIR]/checkout/.repo/manifests",
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.apply pigweed:1234.git checkout patch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/checkout/.repo/manifests",
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.apply pigweed:1234.git rev-parse",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--init",
"--recursive"
],
"cwd": "[START_DIR]/checkout/.repo/manifests",
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.apply pigweed:1234.git submodule update",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"branch",
"--set-upstream-to=origin/main"
],
"cwd": "[START_DIR]/checkout/.repo/manifests",
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.apply pigweed:1234.git branch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.read manifest",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@raw@<?xml version=\"1.0\" encoding=\"UTF-8\"?>@@@",
"@@@STEP_LOG_LINE@raw@<manifest>@@@",
"@@@STEP_LOG_LINE@raw@ <remote@@@",
"@@@STEP_LOG_LINE@raw@ name=\"default_remote\"@@@",
"@@@STEP_LOG_LINE@raw@ fetch=\"sso://default\"@@@",
"@@@STEP_LOG_LINE@raw@ />@@@",
"@@@STEP_LOG_LINE@raw@@@@",
"@@@STEP_LOG_LINE@raw@ <remote@@@",
"@@@STEP_LOG_LINE@raw@ name=\"pigweed_remote\"@@@",
"@@@STEP_LOG_LINE@raw@ revision=\"main\"@@@",
"@@@STEP_LOG_LINE@raw@ fetch=\"..\"@@@",
"@@@STEP_LOG_LINE@raw@ review=\"https://pigweed.googlesource.com\"@@@",
"@@@STEP_LOG_LINE@raw@ />@@@",
"@@@STEP_LOG_LINE@raw@@@@",
"@@@STEP_LOG_LINE@raw@ <remote@@@",
"@@@STEP_LOG_LINE@raw@ name=\"pigweed-internal_remote\"@@@",
"@@@STEP_LOG_LINE@raw@ revision=\"main\"@@@",
"@@@STEP_LOG_LINE@raw@ fetch=\"https://pigweed-internal.googlesource.com\"@@@",
"@@@STEP_LOG_LINE@raw@ review=\"https://pigweed-internal.googlesource.com\"@@@",
"@@@STEP_LOG_LINE@raw@ />@@@",
"@@@STEP_LOG_LINE@raw@@@@",
"@@@STEP_LOG_LINE@raw@ <remote@@@",
"@@@STEP_LOG_LINE@raw@ name=\"prefixed\"@@@",
"@@@STEP_LOG_LINE@raw@ fetch=\"https://foo.googlesource.com/prefix\"@@@",
"@@@STEP_LOG_LINE@raw@ review=\"https://foo.googlesource.com/prefix\"@@@",
"@@@STEP_LOG_LINE@raw@ />@@@",
"@@@STEP_LOG_LINE@raw@@@@",
"@@@STEP_LOG_LINE@raw@ <default@@@",
"@@@STEP_LOG_LINE@raw@ remote=\"default_remote\"@@@",
"@@@STEP_LOG_LINE@raw@ revision=\"main\"@@@",
"@@@STEP_LOG_LINE@raw@ />@@@",
"@@@STEP_LOG_LINE@raw@@@@",
"@@@STEP_LOG_LINE@raw@ <project@@@",
"@@@STEP_LOG_LINE@raw@ name=\"default_name\"@@@",
"@@@STEP_LOG_LINE@raw@ path=\"default_path\"@@@",
"@@@STEP_LOG_LINE@raw@ />@@@",
"@@@STEP_LOG_LINE@raw@@@@",
"@@@STEP_LOG_LINE@raw@ <project@@@",
"@@@STEP_LOG_LINE@raw@ name=\"pigweed_name\"@@@",
"@@@STEP_LOG_LINE@raw@ path=\"pigweed_path\"@@@",
"@@@STEP_LOG_LINE@raw@ remote=\"pigweed_remote\"@@@",
"@@@STEP_LOG_LINE@raw@ revision=\"main\"@@@",
"@@@STEP_LOG_LINE@raw@ />@@@",
"@@@STEP_LOG_LINE@raw@@@@",
"@@@STEP_LOG_LINE@raw@ <project@@@",
"@@@STEP_LOG_LINE@raw@ name=\"pigweed-internal_name\"@@@",
"@@@STEP_LOG_LINE@raw@ path=\"pigweed-internal_path\"@@@",
"@@@STEP_LOG_LINE@raw@ remote=\"pigweed-internal_remote\"@@@",
"@@@STEP_LOG_LINE@raw@ />@@@",
"@@@STEP_LOG_LINE@raw@@@@",
"@@@STEP_LOG_LINE@raw@ <project@@@",
"@@@STEP_LOG_LINE@raw@ name=\"pinned\"@@@",
"@@@STEP_LOG_LINE@raw@ path=\"pinned\"@@@",
"@@@STEP_LOG_LINE@raw@ remote=\"pigweed_remote\"@@@",
"@@@STEP_LOG_LINE@raw@ revision=\"0123456789012345678901234567890123456789\"@@@",
"@@@STEP_LOG_LINE@raw@ upstream=\"main\"@@@",
"@@@STEP_LOG_LINE@raw@ />@@@",
"@@@STEP_LOG_LINE@raw@@@@",
"@@@STEP_LOG_LINE@raw@ <project@@@",
"@@@STEP_LOG_LINE@raw@ name=\"suffix\"@@@",
"@@@STEP_LOG_LINE@raw@ path=\"prefix/suffix\"@@@",
"@@@STEP_LOG_LINE@raw@ remote=\"prefixed\"@@@",
"@@@STEP_LOG_LINE@raw@ />@@@",
"@@@STEP_LOG_LINE@raw@</manifest>@@@",
"@@@STEP_LOG_END@raw@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/checkout/.repo/manifests/default.xml",
"/path/to/tmp/"
],
"cwd": "[START_DIR]/checkout",
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.read manifest.read file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@default.xml@<?xml version=\"1.0\" encoding=\"UTF-8\"?>@@@",
"@@@STEP_LOG_LINE@default.xml@<manifest>@@@",
"@@@STEP_LOG_LINE@default.xml@ <remote@@@",
"@@@STEP_LOG_LINE@default.xml@ name=\"default_remote\"@@@",
"@@@STEP_LOG_LINE@default.xml@ fetch=\"sso://default\"@@@",
"@@@STEP_LOG_LINE@default.xml@ />@@@",
"@@@STEP_LOG_LINE@default.xml@@@@",
"@@@STEP_LOG_LINE@default.xml@ <remote@@@",
"@@@STEP_LOG_LINE@default.xml@ name=\"pigweed_remote\"@@@",
"@@@STEP_LOG_LINE@default.xml@ revision=\"main\"@@@",
"@@@STEP_LOG_LINE@default.xml@ fetch=\"..\"@@@",
"@@@STEP_LOG_LINE@default.xml@ review=\"https://pigweed.googlesource.com\"@@@",
"@@@STEP_LOG_LINE@default.xml@ />@@@",
"@@@STEP_LOG_LINE@default.xml@@@@",
"@@@STEP_LOG_LINE@default.xml@ <remote@@@",
"@@@STEP_LOG_LINE@default.xml@ name=\"pigweed-internal_remote\"@@@",
"@@@STEP_LOG_LINE@default.xml@ revision=\"main\"@@@",
"@@@STEP_LOG_LINE@default.xml@ fetch=\"https://pigweed-internal.googlesource.com\"@@@",
"@@@STEP_LOG_LINE@default.xml@ review=\"https://pigweed-internal.googlesource.com\"@@@",
"@@@STEP_LOG_LINE@default.xml@ />@@@",
"@@@STEP_LOG_LINE@default.xml@@@@",
"@@@STEP_LOG_LINE@default.xml@ <remote@@@",
"@@@STEP_LOG_LINE@default.xml@ name=\"prefixed\"@@@",
"@@@STEP_LOG_LINE@default.xml@ fetch=\"https://foo.googlesource.com/prefix\"@@@",
"@@@STEP_LOG_LINE@default.xml@ review=\"https://foo.googlesource.com/prefix\"@@@",
"@@@STEP_LOG_LINE@default.xml@ />@@@",
"@@@STEP_LOG_LINE@default.xml@@@@",
"@@@STEP_LOG_LINE@default.xml@ <default@@@",
"@@@STEP_LOG_LINE@default.xml@ remote=\"default_remote\"@@@",
"@@@STEP_LOG_LINE@default.xml@ revision=\"main\"@@@",
"@@@STEP_LOG_LINE@default.xml@ />@@@",
"@@@STEP_LOG_LINE@default.xml@@@@",
"@@@STEP_LOG_LINE@default.xml@ <project@@@",
"@@@STEP_LOG_LINE@default.xml@ name=\"default_name\"@@@",
"@@@STEP_LOG_LINE@default.xml@ path=\"default_path\"@@@",
"@@@STEP_LOG_LINE@default.xml@ />@@@",
"@@@STEP_LOG_LINE@default.xml@@@@",
"@@@STEP_LOG_LINE@default.xml@ <project@@@",
"@@@STEP_LOG_LINE@default.xml@ name=\"pigweed_name\"@@@",
"@@@STEP_LOG_LINE@default.xml@ path=\"pigweed_path\"@@@",
"@@@STEP_LOG_LINE@default.xml@ remote=\"pigweed_remote\"@@@",
"@@@STEP_LOG_LINE@default.xml@ revision=\"main\"@@@",
"@@@STEP_LOG_LINE@default.xml@ />@@@",
"@@@STEP_LOG_LINE@default.xml@@@@",
"@@@STEP_LOG_LINE@default.xml@ <project@@@",
"@@@STEP_LOG_LINE@default.xml@ name=\"pigweed-internal_name\"@@@",
"@@@STEP_LOG_LINE@default.xml@ path=\"pigweed-internal_path\"@@@",
"@@@STEP_LOG_LINE@default.xml@ remote=\"pigweed-internal_remote\"@@@",
"@@@STEP_LOG_LINE@default.xml@ />@@@",
"@@@STEP_LOG_LINE@default.xml@@@@",
"@@@STEP_LOG_LINE@default.xml@ <project@@@",
"@@@STEP_LOG_LINE@default.xml@ name=\"pinned\"@@@",
"@@@STEP_LOG_LINE@default.xml@ path=\"pinned\"@@@",
"@@@STEP_LOG_LINE@default.xml@ remote=\"pigweed_remote\"@@@",
"@@@STEP_LOG_LINE@default.xml@ revision=\"0123456789012345678901234567890123456789\"@@@",
"@@@STEP_LOG_LINE@default.xml@ upstream=\"main\"@@@",
"@@@STEP_LOG_LINE@default.xml@ />@@@",
"@@@STEP_LOG_LINE@default.xml@@@@",
"@@@STEP_LOG_LINE@default.xml@ <project@@@",
"@@@STEP_LOG_LINE@default.xml@ name=\"suffix\"@@@",
"@@@STEP_LOG_LINE@default.xml@ path=\"prefix/suffix\"@@@",
"@@@STEP_LOG_LINE@default.xml@ remote=\"prefixed\"@@@",
"@@@STEP_LOG_LINE@default.xml@ />@@@",
"@@@STEP_LOG_LINE@default.xml@</manifest>@@@",
"@@@STEP_LOG_END@default.xml@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"{\"projects\": [{\"name\": \"default_name\", \"path\": \"default_path\", \"remote\": \"default_remote\", \"revision\": \"main\", \"upstream\": \"main\", \"url\": \"https://default.googlesource.com/default_name\"}, {\"name\": \"pigweed_name\", \"path\": \"pigweed_path\", \"remote\": \"pigweed_remote\", \"revision\": \"main\", \"upstream\": \"main\", \"url\": \"https://pigweed.googlesource.com/pigweed_name\"}, {\"name\": \"pigweed-internal_name\", \"path\": \"pigweed-internal_path\", \"remote\": \"pigweed-internal_remote\", \"revision\": \"main\", \"upstream\": \"main\", \"url\": \"https://pigweed-internal.googlesource.com/pigweed-internal_name\"}, {\"name\": \"pinned\", \"path\": \"pinned\", \"remote\": \"pigweed_remote\", \"revision\": \"0123456789012345678901234567890123456789\", \"upstream\": \"main\", \"url\": \"https://pigweed.googlesource.com/pinned\"}, {\"name\": \"suffix\", \"path\": \"prefix/suffix\", \"remote\": \"prefixed\", \"revision\": \"main\", \"upstream\": \"main\", \"url\": \"https://foo.googlesource.com/prefix/suffix\"}], \"remotes\": {\"default_remote\": {\"alias\": null, \"fetch\": {\"https\": \"https://default.googlesource.com\", \"url\": \"sso://default\"}, \"name\": \"default_remote\", \"review\": null, \"revision\": null}, \"pigweed-internal_remote\": {\"alias\": null, \"fetch\": {\"https\": \"https://pigweed-internal.googlesource.com\", \"url\": \"https://pigweed-internal.googlesource.com\"}, \"name\": \"pigweed-internal_remote\", \"review\": \"https://pigweed-internal.googlesource.com\", \"revision\": \"main\"}, \"pigweed_remote\": {\"alias\": null, \"fetch\": {\"https\": \"https://pigweed.googlesource.com\", \"url\": \"https://pigweed.googlesource.com\"}, \"name\": \"pigweed_remote\", \"review\": \"https://pigweed.googlesource.com\", \"revision\": \"main\"}, \"prefixed\": {\"alias\": null, \"fetch\": {\"https\": \"https://foo.googlesource.com/prefix\", \"url\": \"https://foo.googlesource.com/prefix\"}, \"name\": \"prefixed\", \"review\": \"https://foo.googlesource.com/prefix\", \"revision\": null}}}",
"[START_DIR]/manifest.json"
],
"cwd": "[START_DIR]/checkout",
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.read manifest.manifest json",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@manifest.json@{\"projects\": [{\"name\": \"default_name\", \"path\": \"default_path\", \"remote\": \"default_remote\", \"revision\": \"main\", \"upstream\": \"main\", \"url\": \"https://default.googlesource.com/default_name\"}, {\"name\": \"pigweed_name\", \"path\": \"pigweed_path\", \"remote\": \"pigweed_remote\", \"revision\": \"main\", \"upstream\": \"main\", \"url\": \"https://pigweed.googlesource.com/pigweed_name\"}, {\"name\": \"pigweed-internal_name\", \"path\": \"pigweed-internal_path\", \"remote\": \"pigweed-internal_remote\", \"revision\": \"main\", \"upstream\": \"main\", \"url\": \"https://pigweed-internal.googlesource.com/pigweed-internal_name\"}, {\"name\": \"pinned\", \"path\": \"pinned\", \"remote\": \"pigweed_remote\", \"revision\": \"0123456789012345678901234567890123456789\", \"upstream\": \"main\", \"url\": \"https://pigweed.googlesource.com/pinned\"}, {\"name\": \"suffix\", \"path\": \"prefix/suffix\", \"remote\": \"prefixed\", \"revision\": \"main\", \"upstream\": \"main\", \"url\": \"https://foo.googlesource.com/prefix/suffix\"}], \"remotes\": {\"default_remote\": {\"alias\": null, \"fetch\": {\"https\": \"https://default.googlesource.com\", \"url\": \"sso://default\"}, \"name\": \"default_remote\", \"review\": null, \"revision\": null}, \"pigweed-internal_remote\": {\"alias\": null, \"fetch\": {\"https\": \"https://pigweed-internal.googlesource.com\", \"url\": \"https://pigweed-internal.googlesource.com\"}, \"name\": \"pigweed-internal_remote\", \"review\": \"https://pigweed-internal.googlesource.com\", \"revision\": \"main\"}, \"pigweed_remote\": {\"alias\": null, \"fetch\": {\"https\": \"https://pigweed.googlesource.com\", \"url\": \"https://pigweed.googlesource.com\"}, \"name\": \"pigweed_remote\", \"review\": \"https://pigweed.googlesource.com\", \"revision\": \"main\"}, \"prefixed\": {\"alias\": null, \"fetch\": {\"https\": \"https://foo.googlesource.com/prefix\", \"url\": \"https://foo.googlesource.com/prefix\"}, \"name\": \"prefixed\", \"review\": \"https://foo.googlesource.com/prefix\", \"revision\": null}}}@@@",
"@@@STEP_LOG_END@manifest.json@@@"
]
},
{
"cmd": [
"git",
"config",
"--global",
"--add",
"url.https://default.googlesource.com/a.insteadof",
"sso://default"
],
"cwd": "[START_DIR]/checkout",
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.git insteadof sso://default",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"RECIPE_MODULE[pigweed::repo]/resources/repo",
"sync",
"--force-sync",
"--current-branch",
"--jobs",
"2"
],
"cwd": "[START_DIR]/checkout",
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.repo sync",
"timeout": 120,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"RECIPE_MODULE[pigweed::repo]/resources/repo",
"start",
"base",
"--all"
],
"cwd": "[START_DIR]/checkout",
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.repo start",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.status",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_SUMMARY_TEXT@applied [_Change(number=1234, remote='https://pigweed.googlesource.com/pigweed/manifest', ref='2d72510e447ab60a9728aeea2362d8be2cbd7789', rebase=False, branch='main', gerrit_name='pigweed', submitted=True, base='HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_', base_type='submitted_commit_hash')]\nnot applied []@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.root",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_SUMMARY_TEXT@root=[START_DIR]/checkout\nself._root=[START_DIR]/checkout\n@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"listdir",
"[START_DIR]/checkout"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.ls",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@listdir@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/snapshot"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.mkdir",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"RECIPE_MODULE[pigweed::repo]/resources/repo",
"manifest",
"-r"
],
"cwd": "[START_DIR]/checkout",
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.repo manifest",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@raw_io.output_text@<manifest></manifest>@@@",
"@@@STEP_LOG_END@raw_io.output_text@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"<manifest></manifest>",
"[START_DIR]/snapshot/manifest.xml"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.write manifest.xml",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@manifest.xml@<manifest></manifest>@@@",
"@@@STEP_LOG_END@manifest.xml@@@"
]
},
{
"cmd": [
"git",
"submodule",
"status",
"--recursive"
],
"cwd": "[START_DIR]/checkout",
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.submodule-status",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"submodule status filler text",
"[START_DIR]/snapshot/submodules.log"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.write submodule snapshot",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@submodules.log@submodule status filler text@@@",
"@@@STEP_LOG_END@submodules.log@@@"
]
},
{
"cmd": [
"git",
"log",
"--oneline",
"-n",
"10"
],
"cwd": "[START_DIR]/checkout",
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"",
"[START_DIR]/snapshot/git.log"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.write git log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@git.log@@@"
]
},
{
"cmd": [],
"name": "environment"
},
{
"cmd": [],
"name": "step"
},
{
"cmd": [
"python",
"-m",
"pw_cli",
"--directory",
"[START_DIR]/checkout",
"--loglevel",
"debug",
"presubmit",
"--package-root",
"[CACHE]",
"--output-directory",
"[START_DIR]/presubmit",
"--base",
"HEAD~1",
"--step",
"step"
],
"env": {
"BUILDBUCKET_ID": "8945511751514863184",
"BUILDBUCKET_NAME": "project:ci:builder",
"BUILD_NUMBER": "0",
"GOCACHE": "[CACHE]/go",
"PIP_CACHE_DIR": "[CACHE]/pip",
"PW_ENVIRONMENT_NO_ERROR_ON_UNRECOGNIZED": "1",
"PW_ENVSETUP_DISABLE_SPINNER": "1",
"PW_PRESUBMIT_DISABLE_SUBPROCESS_CAPTURE": "1",
"PW_PROJECT_ROOT": "[START_DIR]/checkout",
"PW_ROOT": "[START_DIR]/checkout",
"TEST_TMPDIR": "[CACHE]/bazel"
},
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "step.run",
"timeout": 30,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/presubmit/step/export"
],
"env": {
"BUILDBUCKET_ID": "8945511751514863184",
"BUILDBUCKET_NAME": "project:ci:builder",
"BUILD_NUMBER": "0",
"GOCACHE": "[CACHE]/go",
"PIP_CACHE_DIR": "[CACHE]/pip",
"PW_ENVIRONMENT_NO_ERROR_ON_UNRECOGNIZED": "1",
"PW_ENVSETUP_DISABLE_SPINNER": "1",
"PW_PRESUBMIT_DISABLE_SUBPROCESS_CAPTURE": "1",
"PW_PROJECT_ROOT": "[START_DIR]/checkout",
"PW_ROOT": "[START_DIR]/checkout",
"TEST_TMPDIR": "[CACHE]/bazel"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "step.mkdir export",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/presubmit/step/ninja.log",
"/path/to/tmp/"
],
"env": {
"BUILDBUCKET_ID": "8945511751514863184",
"BUILDBUCKET_NAME": "project:ci:builder",
"BUILD_NUMBER": "0",
"GOCACHE": "[CACHE]/go",
"PIP_CACHE_DIR": "[CACHE]/pip",
"PW_ENVIRONMENT_NO_ERROR_ON_UNRECOGNIZED": "1",
"PW_ENVSETUP_DISABLE_SPINNER": "1",
"PW_PRESUBMIT_DISABLE_SUBPROCESS_CAPTURE": "1",
"PW_PROJECT_ROOT": "[START_DIR]/checkout",
"PW_ROOT": "[START_DIR]/checkout",
"TEST_TMPDIR": "[CACHE]/bazel"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "step.ninja.log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@ninja.log@2000 5000 0 medium 0@@@",
"@@@STEP_LOG_LINE@ninja.log@3000 8000 0 long 0@@@",
"@@@STEP_LOG_LINE@ninja.log@malformed line@@@",
"@@@STEP_LOG_LINE@ninja.log@4000 5000 0 short 0@@@",
"@@@STEP_LOG_LINE@ninja.log@5000 x 0 malformed-end-time 0@@@",
"@@@STEP_LOG_END@ninja.log@@@"
]
},
{
"cmd": [],
"name": "step.longest build steps",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "step.longest build steps.long",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_SUMMARY_TEXT@5.0s@@@"
]
},
{
"cmd": [],
"name": "step.longest build steps.medium",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_SUMMARY_TEXT@3.0s@@@"
]
},
{
"cmd": [],
"name": "step.longest build steps.short",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_SUMMARY_TEXT@1.0s@@@"
]
},
{
"cmd": [],
"name": "step.copy",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/presubmit/step/ninja.log",
"[START_DIR]/presubmit/step/export/ninja.log"
],
"env": {
"BUILDBUCKET_ID": "8945511751514863184",
"BUILDBUCKET_NAME": "project:ci:builder",
"BUILD_NUMBER": "0",
"GOCACHE": "[CACHE]/go",
"PIP_CACHE_DIR": "[CACHE]/pip",
"PW_ENVIRONMENT_NO_ERROR_ON_UNRECOGNIZED": "1",
"PW_ENVSETUP_DISABLE_SPINNER": "1",
"PW_PRESUBMIT_DISABLE_SUBPROCESS_CAPTURE": "1",
"PW_PROJECT_ROOT": "[START_DIR]/checkout",
"PW_ROOT": "[START_DIR]/checkout",
"TEST_TMPDIR": "[CACHE]/bazel"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "step.copy.ninja.log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "binary sizes step"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/presubmit/step/export/binary_sizes.json",
"/path/to/tmp/"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "binary sizes step.read",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@binary_sizes.json@{@@@",
"@@@STEP_LOG_LINE@binary_sizes.json@ \"target\": 12345,@@@",
"@@@STEP_LOG_LINE@binary_sizes.json@ \"target.budget\": 12346@@@",
"@@@STEP_LOG_LINE@binary_sizes.json@}@@@",
"@@@STEP_LOG_END@binary_sizes.json@@@"
]
},
{
"cmd": [],
"name": "binary sizes",
"~followup_annotations": [
"@@@SET_BUILD_PROPERTY@binary_sizes@{\"target\": 12345, \"target.budget\": 12346}@@@"
]
},
{
"name": "$result"
}
]