blob: 302c7e397ca209236ca8f4ae6cc50a217f52699f [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/pigweed', 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.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"init"
],
"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.git init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"remote",
"add",
"origin",
"https://pigweed.googlesource.com/pigweed/pigweed"
],
"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.git remote",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"config",
"fetch.uriprotocols",
"https"
],
"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.set fetch.uriprotocols",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.cache",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"",
"[CACHE]/git/.GUARD_FILE"
],
"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.cache.write guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_END@.GUARD_FILE@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed"
],
"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.cache.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"init",
"--bare"
],
"cwd": "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed",
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.cache.git init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"remote.origin.url",
"https://pigweed.googlesource.com/pigweed/pigweed"
],
"cwd": "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed",
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.cache.remote set-url",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"fetch.uriprotocols",
"https"
],
"cwd": "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed",
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.cache.set fetch.uriprotocols",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"--replace-all",
"remote.origin.fetch",
"+refs/heads/*:refs/heads/*",
"\\+refs/heads/\\*:.*"
],
"cwd": "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed",
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.cache.replace fetch configs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--prune",
"--tags",
"origin"
],
"cwd": "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed",
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout pigweed.cache.git fetch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/checkout/.git/objects/info"
],
"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.cache.makedirs object/info",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed/objects\n",
"[START_DIR]/checkout/.git/objects/info/alternates"
],
"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.cache.alternates",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@alternates@[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed/objects@@@",
"@@@STEP_LOG_END@alternates@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"remove",
"[CACHE]/git/.GUARD_FILE"
],
"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.cache.remove guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--tags",
"origin",
"main",
"--recurse-submodules"
],
"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.git fetch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"checkout",
"-f",
"FETCH_HEAD"
],
"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.git checkout",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"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.git rev-parse",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"clean",
"-f",
"-d",
"-x"
],
"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.git clean",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.submodule",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"submodule",
"sync"
],
"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.submodule.git submodule sync",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--init",
"--recursive"
],
"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.submodule.git submodule update",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"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 rev-parse (2)",
"~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/pigweed/+/2d72510e447ab60a9728aeea2362d8be2cbd7789@@@"
]
},
{
"cmd": [
"git",
"fetch",
"https://pigweed.googlesource.com/pigweed/pigweed",
"2d72510e447ab60a9728aeea2362d8be2cbd7789",
"--no-recurse-submodules"
],
"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.apply pigweed:1234.git fetch patch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"checkout",
"--force",
"-b",
"working",
"FETCH_HEAD"
],
"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.apply pigweed:1234.git checkout patch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"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.apply pigweed:1234.git rev-parse",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--init",
"--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.apply pigweed:1234.git submodule update",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"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.git submodule status",
"~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/pigweed', 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.git log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"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.git log.[START_DIR]/checkout",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.base",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@SET_BUILD_PROPERTY@got_revision@\"HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_\"@@@",
"@@@SET_BUILD_PROPERTY@got_revision_type@\"submitted_commit_hash\"@@@"
]
},
{
"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": [
"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": "get steps from programs"
},
{
"cmd": [
"foo",
"--directory",
"[START_DIR]/checkout",
"--loglevel",
"debug",
"presubmit",
"--package-root",
"[CACHE]",
"--output-directory",
"[START_DIR]/presubmit",
"--program",
"full",
"--only-list-steps"
],
"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": "get steps from programs.full",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "full_0"
},
{
"cmd": [
"foo",
"--directory",
"[START_DIR]/checkout",
"--loglevel",
"debug",
"presubmit",
"--package-root",
"[CACHE]",
"--output-directory",
"[START_DIR]/presubmit",
"--step",
"full_0"
],
"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": "full_0.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/full_0/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": "full_0.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/full_0/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": "full_0.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": "full_0.longest build steps",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "full_0.longest build steps.long",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_SUMMARY_TEXT@5.0s@@@"
]
},
{
"cmd": [],
"name": "full_0.longest build steps.medium",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_SUMMARY_TEXT@3.0s@@@"
]
},
{
"cmd": [],
"name": "full_0.longest build steps.short",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_SUMMARY_TEXT@1.0s@@@"
]
},
{
"cmd": [],
"name": "full_0.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/full_0/ninja.log",
"[START_DIR]/presubmit/full_0/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": "full_0.copy.ninja.log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "full_1"
},
{
"cmd": [
"foo",
"--directory",
"[START_DIR]/checkout",
"--loglevel",
"debug",
"presubmit",
"--package-root",
"[CACHE]",
"--output-directory",
"[START_DIR]/presubmit",
"--step",
"full_1"
],
"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": "full_1.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/full_1/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": "full_1.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/full_1/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": "full_1.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": "full_1.longest build steps",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "full_1.longest build steps.long",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_SUMMARY_TEXT@5.0s@@@"
]
},
{
"cmd": [],
"name": "full_1.longest build steps.medium",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_SUMMARY_TEXT@3.0s@@@"
]
},
{
"cmd": [],
"name": "full_1.longest build steps.short",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_SUMMARY_TEXT@1.0s@@@"
]
},
{
"cmd": [],
"name": "full_1.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/full_1/ninja.log",
"[START_DIR]/presubmit/full_1/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": "full_1.copy.ninja.log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "binary sizes full_0"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/presubmit/full_0/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 full_0.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 full_1"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/presubmit/full_1/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 full_1.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@{\"full_0.target\": 12345, \"full_0.target.budget\": 12346, \"full_1.target\": 12345, \"full_1.target.budget\": 12346}@@@"
]
},
{
"name": "$result"
}
]