blob: 60415f6ce2aa3890f9e3a143fdb6eb478e06e177 [file] [log] [blame]
[
{
"cmd": [
"git",
"ls-remote",
"--heads",
"https://pigweed.googlesource.com/pigweed/pigweed",
"main"
],
"name": "git ls-remote",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_LOG_LINE@stdout@h3ll0\trefs/heads/main@@@",
"@@@STEP_LOG_END@stdout@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/checkout/WORKSPACE",
"/path/to/tmp/"
],
"infra_step": true,
"name": "read old WORKSPACE",
"~followup_annotations": [
"@@@STEP_LOG_LINE@WORKSPACE@@@@",
"@@@STEP_LOG_LINE@WORKSPACE@git_repository(@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ name = \"other-repo\"@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ remote = \"https://pigweed.googlesource.com/other/repo.git\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ commit = \"invalid commit line won't be found\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@)@@@",
"@@@STEP_LOG_LINE@WORKSPACE@@@@",
"@@@STEP_LOG_LINE@WORKSPACE@git_repository(@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ module_name = \"pigweed\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ # ROLL: Multiple@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ # ROLL: roll@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ # ROLL: comment@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ # ROLL: lines!@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ commit = \"1111111111111111111111111111111111111111\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ remote = \"https://pigweed.googlesource.com/pigweed/pigweed.git\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ git_repository_attribute_test = \"ignored\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ strip_prefix = \"pw_toolchain_bazel\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@)@@@",
"@@@STEP_LOG_LINE@WORKSPACE@@@@",
"@@@STEP_LOG_LINE@WORKSPACE@git_repository(@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ name = \"missing final quote/comma so will miss this line@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ remote = \"https://pigweed.googlesource.com/third/repo.git\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ commit = \"2222222222222222222222222222222222222222\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@)@@@",
"@@@STEP_LOG_END@WORKSPACE@@@"
]
},
{
"cmd": [],
"name": "found other remote 'https://pigweed.googlesource.com/other/repo.git'",
"~followup_annotations": [
"@@@STEP_LOG_LINE@lines@2 @@@",
"@@@STEP_LOG_LINE@lines@3 @@@",
"@@@STEP_LOG_LINE@lines@4 @@@",
"@@@STEP_LOG_LINE@lines@5 @@@",
"@@@STEP_LOG_LINE@lines@6 @@@",
"@@@STEP_LOG_LINE@lines@7 @@@",
"@@@STEP_LOG_LINE@lines@8 @@@",
"@@@STEP_LOG_LINE@lines@9 @@@",
"@@@STEP_LOG_LINE@lines@10 git_repository(@@@",
"@@@STEP_LOG_LINE@lines@11 name = \"other-repo\"@@@",
"@@@STEP_LOG_LINE@lines@12 remote = \"https://pigweed.googlesource.com/other/repo.git\",@@@",
"@@@STEP_LOG_LINE@lines@13 commit = \"invalid commit line won't be found\",@@@",
"@@@STEP_LOG_LINE@lines@14 )@@@",
"@@@STEP_LOG_LINE@lines@15 @@@",
"@@@STEP_LOG_LINE@lines@16 git_repository(@@@",
"@@@STEP_LOG_LINE@lines@17 module_name = \"pigweed\",@@@",
"@@@STEP_LOG_LINE@lines@18 # ROLL: Multiple@@@",
"@@@STEP_LOG_LINE@lines@19 # ROLL: roll@@@",
"@@@STEP_LOG_LINE@lines@20 # ROLL: comment@@@",
"@@@STEP_LOG_LINE@lines@21 # ROLL: lines!@@@",
"@@@STEP_LOG_LINE@lines@22 commit = \"1111111111111111111111111111111111111111\",@@@",
"@@@STEP_LOG_END@lines@@@"
]
},
{
"cmd": [],
"name": "found equivalent remote 'https://pigweed.googlesource.com/pigweed/pigweed.git'",
"~followup_annotations": [
"@@@STEP_LOG_LINE@lines@13 commit = \"invalid commit line won't be found\",@@@",
"@@@STEP_LOG_LINE@lines@14 )@@@",
"@@@STEP_LOG_LINE@lines@15 @@@",
"@@@STEP_LOG_LINE@lines@16 git_repository(@@@",
"@@@STEP_LOG_LINE@lines@17 module_name = \"pigweed\",@@@",
"@@@STEP_LOG_LINE@lines@18 # ROLL: Multiple@@@",
"@@@STEP_LOG_LINE@lines@19 # ROLL: roll@@@",
"@@@STEP_LOG_LINE@lines@20 # ROLL: comment@@@",
"@@@STEP_LOG_LINE@lines@21 # ROLL: lines!@@@",
"@@@STEP_LOG_LINE@lines@22 commit = \"1111111111111111111111111111111111111111\",@@@",
"@@@STEP_LOG_LINE@lines@23 remote = \"https://pigweed.googlesource.com/pigweed/pigweed.git\",@@@",
"@@@STEP_LOG_LINE@lines@24 git_repository_attribute_test = \"ignored\",@@@",
"@@@STEP_LOG_LINE@lines@25 strip_prefix = \"pw_toolchain_bazel\",@@@",
"@@@STEP_LOG_LINE@lines@26 )@@@",
"@@@STEP_LOG_LINE@lines@27 @@@",
"@@@STEP_LOG_LINE@lines@28 git_repository(@@@",
"@@@STEP_LOG_LINE@lines@29 name = \"missing final quote/comma so will miss this line@@@",
"@@@STEP_LOG_LINE@lines@30 remote = \"https://pigweed.googlesource.com/third/repo.git\",@@@",
"@@@STEP_LOG_LINE@lines@31 commit = \"2222222222222222222222222222222222222222\",@@@",
"@@@STEP_LOG_LINE@lines@32 )@@@",
"@@@STEP_LOG_LINE@lines@33 @@@",
"@@@STEP_LOG_END@lines@@@"
]
},
{
"cmd": [],
"name": "found other remote 'https://pigweed.googlesource.com/third/repo.git'",
"~followup_annotations": [
"@@@STEP_LOG_LINE@lines@20 # ROLL: comment@@@",
"@@@STEP_LOG_LINE@lines@21 # ROLL: lines!@@@",
"@@@STEP_LOG_LINE@lines@22 commit = \"1111111111111111111111111111111111111111\",@@@",
"@@@STEP_LOG_LINE@lines@23 remote = \"https://pigweed.googlesource.com/pigweed/pigweed.git\",@@@",
"@@@STEP_LOG_LINE@lines@24 git_repository_attribute_test = \"ignored\",@@@",
"@@@STEP_LOG_LINE@lines@25 strip_prefix = \"pw_toolchain_bazel\",@@@",
"@@@STEP_LOG_LINE@lines@26 )@@@",
"@@@STEP_LOG_LINE@lines@27 @@@",
"@@@STEP_LOG_LINE@lines@28 git_repository(@@@",
"@@@STEP_LOG_LINE@lines@29 name = \"missing final quote/comma so will miss this line@@@",
"@@@STEP_LOG_LINE@lines@30 remote = \"https://pigweed.googlesource.com/third/repo.git\",@@@",
"@@@STEP_LOG_LINE@lines@31 commit = \"2222222222222222222222222222222222222222\",@@@",
"@@@STEP_LOG_LINE@lines@32 )@@@",
"@@@STEP_LOG_LINE@lines@33 @@@",
"@@@STEP_LOG_LINE@lines@34 @@@",
"@@@STEP_LOG_LINE@lines@35 @@@",
"@@@STEP_LOG_LINE@lines@36 @@@",
"@@@STEP_LOG_LINE@lines@37 @@@",
"@@@STEP_LOG_LINE@lines@38 @@@",
"@@@STEP_LOG_LINE@lines@39 @@@",
"@@@STEP_LOG_LINE@lines@40 @@@",
"@@@STEP_LOG_END@lines@@@"
]
},
{
"cmd": [],
"name": "lines",
"~followup_annotations": [
"@@@STEP_LOG_LINE@0_center@23@@@",
"@@@STEP_LOG_END@0_center@@@",
"@@@STEP_LOG_LINE@1_orig@13 commit = \"invalid commit line won't be found\",@@@",
"@@@STEP_LOG_LINE@1_orig@14 )@@@",
"@@@STEP_LOG_LINE@1_orig@15 @@@",
"@@@STEP_LOG_LINE@1_orig@16 git_repository(@@@",
"@@@STEP_LOG_LINE@1_orig@17 module_name = \"pigweed\",@@@",
"@@@STEP_LOG_LINE@1_orig@18 # ROLL: Multiple@@@",
"@@@STEP_LOG_LINE@1_orig@19 # ROLL: roll@@@",
"@@@STEP_LOG_LINE@1_orig@20 # ROLL: comment@@@",
"@@@STEP_LOG_LINE@1_orig@21 # ROLL: lines!@@@",
"@@@STEP_LOG_LINE@1_orig@22 commit = \"1111111111111111111111111111111111111111\",@@@",
"@@@STEP_LOG_LINE@1_orig@23 remote = \"https://pigweed.googlesource.com/pigweed/pigweed.git\",@@@",
"@@@STEP_LOG_LINE@1_orig@24 git_repository_attribute_test = \"ignored\",@@@",
"@@@STEP_LOG_LINE@1_orig@25 strip_prefix = \"pw_toolchain_bazel\",@@@",
"@@@STEP_LOG_LINE@1_orig@26 )@@@",
"@@@STEP_LOG_LINE@1_orig@27 @@@",
"@@@STEP_LOG_LINE@1_orig@28 git_repository(@@@",
"@@@STEP_LOG_LINE@1_orig@29 name = \"missing final quote/comma so will miss this line@@@",
"@@@STEP_LOG_LINE@1_orig@30 remote = \"https://pigweed.googlesource.com/third/repo.git\",@@@",
"@@@STEP_LOG_LINE@1_orig@31 commit = \"2222222222222222222222222222222222222222\",@@@",
"@@@STEP_LOG_LINE@1_orig@32 )@@@",
"@@@STEP_LOG_LINE@1_orig@33 @@@",
"@@@STEP_LOG_END@1_orig@@@",
"@@@STEP_LOG_LINE@2_trimmed@15 @@@",
"@@@STEP_LOG_LINE@2_trimmed@16 git_repository(@@@",
"@@@STEP_LOG_LINE@2_trimmed@17 module_name = \"pigweed\",@@@",
"@@@STEP_LOG_LINE@2_trimmed@18 # ROLL: Multiple@@@",
"@@@STEP_LOG_LINE@2_trimmed@19 # ROLL: roll@@@",
"@@@STEP_LOG_LINE@2_trimmed@20 # ROLL: comment@@@",
"@@@STEP_LOG_LINE@2_trimmed@21 # ROLL: lines!@@@",
"@@@STEP_LOG_LINE@2_trimmed@22 commit = \"1111111111111111111111111111111111111111\",@@@",
"@@@STEP_LOG_LINE@2_trimmed@23 remote = \"https://pigweed.googlesource.com/pigweed/pigweed.git\",@@@",
"@@@STEP_LOG_LINE@2_trimmed@24 git_repository_attribute_test = \"ignored\",@@@",
"@@@STEP_LOG_LINE@2_trimmed@25 strip_prefix = \"pw_toolchain_bazel\",@@@",
"@@@STEP_LOG_LINE@2_trimmed@26 )@@@",
"@@@STEP_LOG_END@2_trimmed@@@",
"@@@STEP_LOG_LINE@3_sorted@23 remote = \"https://pigweed.googlesource.com/pigweed/pigweed.git\",@@@",
"@@@STEP_LOG_LINE@3_sorted@22 commit = \"1111111111111111111111111111111111111111\",@@@",
"@@@STEP_LOG_LINE@3_sorted@24 git_repository_attribute_test = \"ignored\",@@@",
"@@@STEP_LOG_LINE@3_sorted@21 # ROLL: lines!@@@",
"@@@STEP_LOG_LINE@3_sorted@25 strip_prefix = \"pw_toolchain_bazel\",@@@",
"@@@STEP_LOG_LINE@3_sorted@20 # ROLL: comment@@@",
"@@@STEP_LOG_LINE@3_sorted@26 )@@@",
"@@@STEP_LOG_LINE@3_sorted@19 # ROLL: roll@@@",
"@@@STEP_LOG_LINE@3_sorted@18 # ROLL: Multiple@@@",
"@@@STEP_LOG_LINE@3_sorted@17 module_name = \"pigweed\",@@@",
"@@@STEP_LOG_LINE@3_sorted@16 git_repository(@@@",
"@@@STEP_LOG_LINE@3_sorted@15 @@@",
"@@@STEP_LOG_END@3_sorted@@@"
]
},
{
"cmd": [],
"name": "ensure infra/tools/luci/gitiles/${platform}"
},
{
"cmd": [],
"name": "ensure infra/tools/luci/gitiles/${platform}.get packages",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"RECIPE_MODULE[fuchsia::gitiles]/resources/cipd.ensure",
"/path/to/tmp/"
],
"infra_step": true,
"name": "ensure infra/tools/luci/gitiles/${platform}.get packages.read ensure file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@cipd.ensure@infra/tools/luci/gitiles/${platform} version:pinned-version@@@",
"@@@STEP_LOG_END@cipd.ensure@@@"
]
},
{
"cmd": [],
"name": "ensure infra/tools/luci/gitiles/${platform}.install infra/tools/luci/gitiles",
"~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/gitiles/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07"
],
"infra_step": true,
"name": "ensure infra/tools/luci/gitiles/${platform}.install infra/tools/luci/gitiles.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/infra/tools/luci/gitiles/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07",
"-ensure-file",
"infra/tools/luci/gitiles/${platform} version:pinned-version",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "ensure infra/tools/luci/gitiles/${platform}.install infra/tools/luci/gitiles.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-version:pinned-v\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/gitiles/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/gitiles/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/gitiles",
"log",
"-json-output",
"/path/to/tmp/json",
"https://pigweed.googlesource.com/pigweed/pigweed",
"1111111111111111111111111111111111111111..h3ll0"
],
"infra_step": true,
"name": "log pigweed",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_LOG_LINE@json.output@[]@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [],
"name": "detected backwards roll",
"~followup_annotations": [
"@@@STEP_TEXT@Detected backwards roll: expected 1111111 to precede h3ll0 in git history@@@"
]
},
{
"cmd": [],
"name": "commit message",
"~followup_annotations": [
"@@@STEP_SUMMARY_TEXT@roll:@@@"
]
},
{
"name": "$result"
}
]