blob: 5479a9873b24e20f45cba10a98c33fc65a6088e2 [file] [log] [blame]
[
{
"cmd": [],
"name": "resolve base commit"
},
{
"cmd": [],
"name": "resolve base commit.ensure gerrit",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"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": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "resolve base commit.ensure gerrit.read manifest",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@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": "resolve base commit.ensure gerrit.install path/to/gerrit",
"~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]/cipd_tool/path/to/gerrit/version%3Apinned-version"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "resolve base commit.ensure gerrit.install path/to/gerrit.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/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": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "resolve base commit.ensure gerrit.install path/to/gerrit.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:pinned-v\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"path/to/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": [
"[START_DIR]/cipd_tool/path/to/gerrit/version%3Apinned-version/gerrit",
"change-detail",
"-host",
"https://fuchsia-review.googlesource.com",
"-input",
"{\"change_id\": \"123456\"}",
"-output",
"/path/to/tmp/json"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "resolve base commit.get gerrit details",
"timeout": 600,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"branch\": \"main\"@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@STEP_LOG_LINE@json.input@{@@@",
"@@@STEP_LOG_LINE@json.input@ \"change_id\": \"123456\"@@@",
"@@@STEP_LOG_LINE@json.input@}@@@",
"@@@STEP_LOG_END@json.input@@@",
"@@@STEP_LINK@gerrit link@https://fuchsia-review.googlesource.com/q/123456@@@"
]
},
{
"cmd": [
"git",
"ls-remote",
"--heads",
"https://fuchsia.googlesource.com/infra/recipes",
"refs/heads/main"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "resolve base commit.git ls-remote",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout",
"~followup_annotations": [
"@@@SET_BUILD_PROPERTY@checkout_info@{\"base_manifest_revision\": \"h3ll0\", \"manifest\": \"manifest/minimal\", \"manifest_remote\": \"https://fuchsia.googlesource.com/infra/recipes\", \"patches\": [{\"base_revision\": \"abc123\", \"host\": \"https://fuchsia-review.googlesource.com\", \"project\": \"infra/recipes\", \"ref\": \"refs/changes/00/100/7\"}]}@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.ensure checkout dir",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/path/to/gerrit/version%3Apinned-version/gerrit",
"change-detail",
"-host",
"https://fuchsia-review.googlesource.com",
"-input",
"{\"change_id\": \"infra/recipes~123456\", \"params\": {\"o\": [\"ALL_REVISIONS\"]}}",
"-output",
"/path/to/tmp/json"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.get change details",
"timeout": 600,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"branch\": \"main\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revisions\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"a1b2c3\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"_number\": 7, @@@",
"@@@STEP_LOG_LINE@json.output@ \"ref\": \"refs/changes/00/100/7\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"d4e5f6\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"_number\": 3, @@@",
"@@@STEP_LOG_LINE@json.output@ \"ref\": \"refs/changes/00/100/3\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"g7h8i9\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"_number\": 9, @@@",
"@@@STEP_LOG_LINE@json.output@ \"ref\": \"refs/changes/00/100/9\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@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@ \"change_id\": \"infra/recipes~123456\", @@@",
"@@@STEP_LOG_LINE@json.input@ \"params\": {@@@",
"@@@STEP_LOG_LINE@json.input@ \"o\": [@@@",
"@@@STEP_LOG_LINE@json.input@ \"ALL_REVISIONS\"@@@",
"@@@STEP_LOG_LINE@json.input@ ]@@@",
"@@@STEP_LOG_LINE@json.input@ }@@@",
"@@@STEP_LOG_LINE@json.input@}@@@",
"@@@STEP_LOG_END@json.input@@@",
"@@@STEP_LINK@gerrit link@https://fuchsia-review.googlesource.com/q/infra/recipes~123456@@@"
]
},
{
"cmd": [
"git",
"ls-remote",
"--heads",
"https://fuchsia.googlesource.com/infra/recipes",
"main"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.resolve head of 'main' branch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout.ensure jiri",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"RECIPE_MODULE[fuchsia::jiri]/resources/tool_manifest.json",
"/path/to/tmp/json"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.ensure jiri.read manifest",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@{@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/jiri\",@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@ \"version\": \"version:pinned-version\"@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@}@@@",
"@@@STEP_LOG_END@tool_manifest.json@@@"
]
},
{
"cmd": [],
"name": "checkout.ensure jiri.install path/to/jiri",
"~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]/cipd_tool/path/to/jiri/version%3Apinned-version"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.ensure jiri.install path/to/jiri.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version",
"-ensure-file",
"path/to/jiri version:pinned-version",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.ensure jiri.install path/to/jiri.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:pinned-v\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"path/to/jiri\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version/jiri",
"init",
"-vv",
"-time",
"-j=8",
"-analytics-opt=false",
"-rewrite-sso-to-https=true",
"-cache",
"[CACHE]/git",
"[START_DIR]"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.jiri init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version/jiri",
"import",
"-vv",
"-time",
"-j=8",
"-revision",
"h3ll0",
"manifest/minimal",
"https://fuchsia.googlesource.com/infra/recipes"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.jiri import",
"~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"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.write guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version/jiri",
"update",
"-vv",
"-time",
"-j=8",
"-autoupdate=false",
"-attempts=1",
"-gc=true",
"-run-hooks=false",
"-fetch-packages=false"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.jiri update",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"remove",
"[CACHE]/git/.GUARD_FILE"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.remove guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version/jiri",
"patch",
"-vv",
"-time",
"-j=8",
"-host",
"https://fuchsia-review.googlesource.com",
"-project",
"infra/recipes",
"-delete=true",
"-force=true",
"-rebase=true",
"-rebase-branch",
"main",
"refs/changes/00/100/7"
],
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.jiri patch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version/jiri",
"project",
"-vv",
"-time",
"-j=8",
"-json-output",
"/path/to/tmp/json",
"infra/recipes"
],
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.jiri project",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@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\": \"infra/recipes\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"path\": \"[START_DIR]/infra/recipes\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"relativePath\": \"infra/recipes\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"remote\": \"https://fuchsia.googlesource.com/infra/recipes\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"c22471f4e3f842ae18dd9adec82ed9eb78ed1127\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@]@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"origin/main"
],
"cwd": "[START_DIR]/infra/recipes",
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.git rev-parse",
"~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]/infra/recipes/patches.json",
"/path/to/tmp/"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.read patches.json",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_TEXT@no patch file found@@@",
"@@@STEP_LOG_LINE@patches.json@\"\"@@@",
"@@@STEP_LOG_END@patches.json@@@"
]
},
{
"cmd": [
"git",
"log",
"-n",
"10"
],
"cwd": "[START_DIR]/infra/recipes",
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.git log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version/jiri",
"run-hooks",
"-vv",
"-time",
"-j=8",
"-attempts=3",
"-local-manifest=true"
],
"env": {
"HOME": "[START_DIR]",
"INFRA_RECIPES": "1"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.jiri run-hooks",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/infra/recipes/scripts/cleanup_deps.py",
"--check",
"--json-output",
"/path/to/tmp/json"
],
"cwd": "[START_DIR]/infra/recipes",
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "check deps",
"~followup_annotations": [
"@@@STEP_LOG_LINE@json.output@[]@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"[START_DIR]/infra/recipes/recipes.py",
"lint",
"--allowlist",
"^pipes$"
],
"cwd": "[START_DIR]/infra/recipes",
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "lint"
},
{
"cmd": [
"[START_DIR]/infra/recipes/recipes.py",
"test",
"run"
],
"cwd": "[START_DIR]/infra/recipes",
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "test"
},
{
"cmd": [],
"name": "fetch fuchsia alternate-commit-queue.cfg"
},
{
"cmd": [
"luci-auth",
"token",
"-lifetime",
"3m"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "fetch fuchsia alternate-commit-queue.cfg.get access token for default account",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py",
"--url",
"https://luci-config.appspot.com/_ah/api/config/v1/config_sets/projects/fuchsia/config/alternate-commit-queue.cfg",
"--status-json",
"/path/to/tmp/json",
"--outfile",
"/path/to/tmp/json",
"--headers-json",
"{\"Authorization\": \"Bearer extra.secret.token.should.not.be.logged\"}"
],
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "fetch fuchsia alternate-commit-queue.cfg.get",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "all tryjobs",
"~followup_annotations": [
"@@@STEP_LOG_LINE@tryjobs@fuchsia/try/secret-tryjob@@@",
"@@@STEP_LOG_END@tryjobs@@@"
]
},
{
"cmd": [],
"name": "get_affected_recipes",
"~followup_annotations": [
"@@@STEP_LOG_LINE@all recipes@fuchsia@@@",
"@@@STEP_LOG_LINE@all recipes@recipes@@@",
"@@@STEP_LOG_END@all recipes@@@",
"@@@STEP_LOG_LINE@changed files (raw)@recipes/fuchsia.py@@@",
"@@@STEP_LOG_LINE@changed files (raw)@recipes/foo@@@",
"@@@STEP_LOG_LINE@changed files (raw)@recipes/non_expected_json_file.json@@@",
"@@@STEP_LOG_LINE@changed files (raw)@recipe_modules/foo/examples/full.expected/bar.json@@@",
"@@@STEP_LOG_LINE@changed files (raw)@recipe_modules/foo/examples/full.py@@@",
"@@@STEP_LOG_LINE@changed files (raw)@recipe_modules/foo/test_api.py@@@",
"@@@STEP_LOG_END@changed files (raw)@@@",
"@@@STEP_LOG_LINE@changed files (filtered)@recipes/fuchsia.py@@@",
"@@@STEP_LOG_LINE@changed files (filtered)@recipes/foo@@@",
"@@@STEP_LOG_LINE@changed files (filtered)@recipes/non_expected_json_file.json@@@",
"@@@STEP_LOG_END@changed files (filtered)@@@",
"@@@STEP_LOG_LINE@affected recipes@none@@@",
"@@@STEP_LOG_END@affected recipes@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"listdir",
"[START_DIR]/infra/recipes/recipes",
"--recursive"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "get_affected_recipes.ls-recipes",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@listdir@[START_DIR]/infra/recipes/recipes/foo@@@",
"@@@STEP_LOG_LINE@listdir@[START_DIR]/infra/recipes/recipes/fuchsia.py@@@",
"@@@STEP_LOG_LINE@listdir@[START_DIR]/infra/recipes/recipes/recipes.py@@@",
"@@@STEP_LOG_LINE@listdir@[START_DIR]/infra/recipes/recipes/sdk.expected@@@",
"@@@STEP_LOG_END@listdir@@@"
]
},
{
"cmd": [
"git",
"diff-tree",
"--no-commit-id",
"--name-only",
"-r",
"-z",
"HEAD"
],
"cwd": "[START_DIR]/infra/recipes",
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "get_affected_recipes.git diff-tree",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@files@recipes/fuchsia.py@@@",
"@@@STEP_LOG_LINE@files@recipes/foo@@@",
"@@@STEP_LOG_LINE@files@recipes/non_expected_json_file.json@@@",
"@@@STEP_LOG_LINE@files@recipe_modules/foo/examples/full.expected/bar.json@@@",
"@@@STEP_LOG_LINE@files@recipe_modules/foo/examples/full.py@@@",
"@@@STEP_LOG_LINE@files@recipe_modules/foo/test_api.py@@@",
"@@@STEP_LOG_END@files@@@"
]
},
{
"cmd": [
"[START_DIR]/infra/recipes/recipes.py",
"analyze",
"{\"files\": [\"recipes/fuchsia.py\", \"recipes/foo\", \"recipes/non_expected_json_file.json\"], \"recipes\": [\"fuchsia\", \"recipes\"]}",
"/path/to/tmp/json"
],
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "get_affected_recipes.recipes-analyze",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"error\": \"\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"invalidRecipes\": [], @@@",
"@@@STEP_LOG_LINE@json.output@ \"recipes\": [@@@",
"@@@STEP_LOG_LINE@json.output@ \"none\"@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [],
"name": "get builders",
"~followup_annotations": [
"@@@STEP_SUMMARY_TEXT@selected 0 builds@@@"
]
},
{
"cmd": [],
"name": "get builders.fuchsia/try/secret-tryjob",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_SUMMARY_TEXT@skipped@@@",
"@@@STEP_LOG_LINE@recipe_used@docs@@@",
"@@@STEP_LOG_END@recipe_used@@@"
]
},
{
"cmd": [
"bb",
"ls",
"-host",
"cr-buildbucket.appspot.com",
"-json",
"-nopage",
"-n",
"1",
"-fields",
"builder,create_time,created_by,critical,end_time,id,input,number,output,start_time,status,update_time",
"-predicate",
"{\"builder\": {\"bucket\": \"try\", \"builder\": \"secret-tryjob\", \"project\": \"fuchsia\"}, \"status\": \"SUCCESS\"}"
],
"cwd": "[START_DIR]/infra/recipes",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:try"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "get builders.fuchsia/try/secret-tryjob.buildbucket.search",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@raw_io.output_text@{\"builder\": {\"bucket\": \"try\", \"builder\": \"fuchsia/try/secret-tryjob\", \"project\": \"fuchsia\"}, \"endTime\": \"2012-05-13T12:53:20Z\", \"id\": \"100\", \"input\": {\"gerritChanges\": [{\"host\": \"fuchsia-review.googlesource.com\", \"project\": \"fuchsia\"}], \"properties\": {\"recipe\": \"docs\"}}, \"status\": \"SUCCESS\"}@@@",
"@@@STEP_LOG_END@raw_io.output_text@@@",
"@@@STEP_LINK@100@https://cr-buildbucket.appspot.com/build/100@@@"
]
},
{
"name": "$result"
}
]