1[ 2 { 3 "cmd": [ 4 "false" 5 ], 6 "env": { 7 "CHROME_HEADLESS": "1", 8 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 9 }, 10 "name": "fail", 11 "~followup_annotations": [ 12 "step returned non-zero exit code: 1", 13 "@@@STEP_FAILURE@@@" 14 ] 15 }, 16 { 17 "cmd": [ 18 "false" 19 ], 20 "env": { 21 "CHROME_HEADLESS": "1", 22 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 23 }, 24 "name": "fail again", 25 "~followup_annotations": [ 26 "step returned non-zero exit code: 1", 27 "@@@STEP_FAILURE@@@" 28 ] 29 }, 30 { 31 "cmd": [ 32 "echo", 33 "do the thing" 34 ], 35 "env": { 36 "CHROME_HEADLESS": "1", 37 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 38 }, 39 "name": "do a thing" 40 }, 41 { 42 "cmd": [ 43 "echo", 44 "0" 45 ], 46 "env": { 47 "CHROME_HEADLESS": "1", 48 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 49 }, 50 "name": "run 0" 51 }, 52 { 53 "cmd": [ 54 "python", 55 "-u", 56 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 57 "--json-output", 58 "/path/to/tmp/json", 59 "copy", 60 "myfile.txt", 61 "/path/to/tmp/" 62 ], 63 "infra_step": true, 64 "name": "read myfile.txt" 65 }, 66 { 67 "cmd": [ 68 "python", 69 "-u", 70 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 71 "--json-output", 72 "/path/to/tmp/json", 73 "copy", 74 "contents", 75 "myfile.txt" 76 ], 77 "infra_step": true, 78 "name": "write myfile.txt" 79 }, 80 { 81 "cmd": [ 82 "python", 83 "-u", 84 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 85 "--json-output", 86 "/path/to/tmp/json", 87 "rmtree", 88 "mydir" 89 ], 90 "infra_step": true, 91 "name": "rmtree mydir" 92 }, 93 { 94 "cmd": [ 95 "python", 96 "-u", 97 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 98 "--json-output", 99 "/path/to/tmp/json", 100 "copy", 101 "[START_DIR]/cache/work/skia/infra/bots/assets/my_asset/VERSION", 102 "/path/to/tmp/" 103 ], 104 "infra_step": true, 105 "name": "Get my_asset VERSION" 106 }, 107 { 108 "cmd": [ 109 "env" 110 ], 111 "env": { 112 "CHROME_HEADLESS": "1", 113 "PATH": "mydir:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 114 }, 115 "name": "env" 116 }, 117 { 118 "cmd": [ 119 "false" 120 ], 121 "env": { 122 "CHROME_HEADLESS": "1", 123 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 124 }, 125 "name": "retry fail", 126 "~followup_annotations": [ 127 "step returned non-zero exit code: 1", 128 "@@@STEP_FAILURE@@@" 129 ] 130 }, 131 { 132 "cmd": [ 133 "echo", 134 "between_attempt" 135 ], 136 "env": { 137 "CHROME_HEADLESS": "1", 138 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 139 }, 140 "name": "between_attempts #1" 141 }, 142 { 143 "cmd": [ 144 "false" 145 ], 146 "env": { 147 "CHROME_HEADLESS": "1", 148 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 149 }, 150 "name": "retry fail (attempt 2)", 151 "~followup_annotations": [ 152 "step returned non-zero exit code: 1", 153 "@@@STEP_FAILURE@@@" 154 ] 155 }, 156 { 157 "cmd": [ 158 "echo", 159 "between_attempt" 160 ], 161 "env": { 162 "CHROME_HEADLESS": "1", 163 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 164 }, 165 "name": "between_attempts #2" 166 }, 167 { 168 "cmd": [ 169 "false" 170 ], 171 "env": { 172 "CHROME_HEADLESS": "1", 173 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 174 }, 175 "name": "retry fail (attempt 3)", 176 "~followup_annotations": [ 177 "step returned non-zero exit code: 1", 178 "@@@STEP_FAILURE@@@" 179 ] 180 }, 181 { 182 "cmd": [ 183 "echo", 184 "between_attempt" 185 ], 186 "env": { 187 "CHROME_HEADLESS": "1", 188 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 189 }, 190 "name": "between_attempts #3" 191 }, 192 { 193 "cmd": [ 194 "false" 195 ], 196 "env": { 197 "CHROME_HEADLESS": "1", 198 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 199 }, 200 "name": "retry fail (attempt 4)", 201 "~followup_annotations": [ 202 "step returned non-zero exit code: 1", 203 "@@@STEP_FAILURE@@@" 204 ] 205 }, 206 { 207 "cmd": [ 208 "echo", 209 "between_attempt" 210 ], 211 "env": { 212 "CHROME_HEADLESS": "1", 213 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 214 }, 215 "name": "between_attempts #4" 216 }, 217 { 218 "cmd": [ 219 "false" 220 ], 221 "env": { 222 "CHROME_HEADLESS": "1", 223 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 224 }, 225 "name": "retry fail (attempt 5)", 226 "~followup_annotations": [ 227 "step returned non-zero exit code: 1", 228 "@@@STEP_FAILURE@@@" 229 ] 230 }, 231 { 232 "cmd": [ 233 "false" 234 ], 235 "env": { 236 "CHROME_HEADLESS": "1", 237 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 238 }, 239 "name": "retry success", 240 "~followup_annotations": [ 241 "step returned non-zero exit code: 1", 242 "@@@STEP_FAILURE@@@" 243 ] 244 }, 245 { 246 "cmd": [ 247 "echo", 248 "between_attempt" 249 ], 250 "env": { 251 "CHROME_HEADLESS": "1", 252 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 253 }, 254 "name": "between_attempts #1 (2)" 255 }, 256 { 257 "cmd": [ 258 "false" 259 ], 260 "env": { 261 "CHROME_HEADLESS": "1", 262 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 263 }, 264 "name": "retry success (attempt 2)", 265 "~followup_annotations": [ 266 "step returned non-zero exit code: 1", 267 "@@@STEP_FAILURE@@@" 268 ] 269 }, 270 { 271 "cmd": [ 272 "echo", 273 "between_attempt" 274 ], 275 "env": { 276 "CHROME_HEADLESS": "1", 277 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 278 }, 279 "name": "between_attempts #2 (2)" 280 }, 281 { 282 "cmd": [ 283 "false" 284 ], 285 "env": { 286 "CHROME_HEADLESS": "1", 287 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 288 }, 289 "name": "retry success (attempt 3)" 290 }, 291 { 292 "failure": { 293 "failure": { 294 "step": "" 295 }, 296 "humanReason": "Failed build steps: fail, fail again, retry fail, retry fail (attempt 2), retry fail (attempt 3), retry fail (attempt 4), retry fail (attempt 5)" 297 }, 298 "name": "$result" 299 } 300]