| [ |
| { |
| "cmd": [ |
| "git", |
| "ls-remote", |
| "--heads", |
| "https://pigweed.googlesource.com/foo", |
| "main" |
| ], |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "git ls-remote", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@stdout@h3ll0\trefs/heads/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/bar/WORKSPACE", |
| "/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": "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 other 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": "could not find remote https://pigweed.googlesource.com/foo in [START_DIR]/checkout/bar/WORKSPACE" |
| }, |
| { |
| "cmd": [], |
| "name": "failed to update commit hash", |
| "~followup_annotations": [ |
| "@@@STEP_FAILURE@@@" |
| ] |
| }, |
| { |
| "failure": { |
| "failure": {}, |
| "humanReason": "Step('failed to update commit hash') (retcode: 0)" |
| }, |
| "name": "$result" |
| } |
| ] |