1[ 2 { 3 "cmd": [], 4 "name": "Prepare git" 5 }, 6 { 7 "cmd": [ 8 "git", 9 "config", 10 "--get", 11 "user.name" 12 ], 13 "infra_step": true, 14 "luci_context": { 15 "realm": { 16 "name": "crosvm:ci" 17 }, 18 "resultdb": { 19 "current_invocation": { 20 "name": "invocations/build:8945511751514863184", 21 "update_token": "token" 22 }, 23 "hostname": "rdbhost" 24 } 25 }, 26 "name": "Prepare git.git config user.name", 27 "~followup_annotations": [ 28 "@@@STEP_NEST_LEVEL@1@@@" 29 ] 30 }, 31 { 32 "cmd": [ 33 "git", 34 "config", 35 "--get", 36 "user.email" 37 ], 38 "infra_step": true, 39 "luci_context": { 40 "realm": { 41 "name": "crosvm:ci" 42 }, 43 "resultdb": { 44 "current_invocation": { 45 "name": "invocations/build:8945511751514863184", 46 "update_token": "token" 47 }, 48 "hostname": "rdbhost" 49 } 50 }, 51 "name": "Prepare git.git config user.email", 52 "~followup_annotations": [ 53 "@@@STEP_NEST_LEVEL@1@@@" 54 ] 55 }, 56 { 57 "cmd": [ 58 "git", 59 "config", 60 "--global", 61 "user.name", 62 "Crosvm Bot" 63 ], 64 "infra_step": true, 65 "luci_context": { 66 "realm": { 67 "name": "crosvm:ci" 68 }, 69 "resultdb": { 70 "current_invocation": { 71 "name": "invocations/build:8945511751514863184", 72 "update_token": "token" 73 }, 74 "hostname": "rdbhost" 75 } 76 }, 77 "name": "Prepare git.Set git config: user.name", 78 "~followup_annotations": [ 79 "@@@STEP_NEST_LEVEL@1@@@" 80 ] 81 }, 82 { 83 "cmd": [ 84 "git", 85 "config", 86 "--global", 87 "user.email", 88 "crosvm-bot@crosvm-infra.iam.gserviceaccount.com" 89 ], 90 "infra_step": true, 91 "luci_context": { 92 "realm": { 93 "name": "crosvm:ci" 94 }, 95 "resultdb": { 96 "current_invocation": { 97 "name": "invocations/build:8945511751514863184", 98 "update_token": "token" 99 }, 100 "hostname": "rdbhost" 101 } 102 }, 103 "name": "Prepare git.Set git config: user.email", 104 "~followup_annotations": [ 105 "@@@STEP_NEST_LEVEL@1@@@" 106 ] 107 }, 108 { 109 "cmd": [ 110 "git", 111 "config", 112 "--global", 113 "--replace-all", 114 "credential.helper", 115 "gcloud.sh" 116 ], 117 "infra_step": true, 118 "luci_context": { 119 "realm": { 120 "name": "crosvm:ci" 121 }, 122 "resultdb": { 123 "current_invocation": { 124 "name": "invocations/build:8945511751514863184", 125 "update_token": "token" 126 }, 127 "hostname": "rdbhost" 128 } 129 }, 130 "name": "Prepare git.Set git config: credential.helper", 131 "~followup_annotations": [ 132 "@@@STEP_NEST_LEVEL@1@@@" 133 ] 134 }, 135 { 136 "cmd": [], 137 "name": "Prepare source", 138 "~followup_annotations": [ 139 "@@@STEP_WARNINGS@@@" 140 ] 141 }, 142 { 143 "cmd": [ 144 "vpython3", 145 "-u", 146 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 147 "--json-output", 148 "/path/to/tmp/json", 149 "ensure-directory", 150 "--mode", 151 "0777", 152 "[CACHE]/builder" 153 ], 154 "infra_step": true, 155 "luci_context": { 156 "realm": { 157 "name": "crosvm:ci" 158 }, 159 "resultdb": { 160 "current_invocation": { 161 "name": "invocations/build:8945511751514863184", 162 "update_token": "token" 163 }, 164 "hostname": "rdbhost" 165 } 166 }, 167 "name": "Prepare source.Ensure builder_cache exists", 168 "~followup_annotations": [ 169 "@@@STEP_NEST_LEVEL@1@@@" 170 ] 171 }, 172 { 173 "cmd": [ 174 "vpython3", 175 "-u", 176 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", 177 "--spec-path", 178 "cache_dir = '[CACHE]/git'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'crosvm', 'url': 'https://chromium.googlesource.com/crosvm/crosvm'}]", 179 "--revision_mapping_file", 180 "{\"got_revision\": \"crosvm\"}", 181 "--git-cache-dir", 182 "[CACHE]/git", 183 "--cleanup-dir", 184 "[CLEANUP]/bot_update", 185 "--output_json", 186 "/path/to/tmp/json", 187 "--revision", 188 "crosvm@2d72510e447ab60a9728aeea2362d8be2cbd7789", 189 "--refs", 190 "refs/heads/main" 191 ], 192 "cwd": "[CACHE]/builder", 193 "env": { 194 "DEPOT_TOOLS_REPORT_BUILD": "crosvm/ci/builder/8945511751514863184", 195 "GIT_HTTP_LOW_SPEED_LIMIT": "102400", 196 "GIT_HTTP_LOW_SPEED_TIME": "1800" 197 }, 198 "env_suffixes": { 199 "DEPOT_TOOLS_UPDATE": [ 200 "0" 201 ], 202 "PATH": [ 203 "RECIPE_REPO[depot_tools]" 204 ] 205 }, 206 "infra_step": true, 207 "luci_context": { 208 "realm": { 209 "name": "crosvm:ci" 210 }, 211 "resultdb": { 212 "current_invocation": { 213 "name": "invocations/build:8945511751514863184", 214 "update_token": "token" 215 }, 216 "hostname": "rdbhost" 217 } 218 }, 219 "name": "Prepare source.bot_update", 220 "~followup_annotations": [ 221 "@@@STEP_NEST_LEVEL@1@@@", 222 "@@@STEP_TEXT@Some step text@@@", 223 "@@@STEP_LOG_LINE@json.output@{@@@", 224 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", 225 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", 226 "@@@STEP_LOG_LINE@json.output@ \"crosvm\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\"@@@", 227 "@@@STEP_LOG_LINE@json.output@ }, @@@", 228 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", 229 "@@@STEP_LOG_LINE@json.output@ \"crosvm\": {@@@", 230 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/crosvm.git\", @@@", 231 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\"@@@", 232 "@@@STEP_LOG_LINE@json.output@ }@@@", 233 "@@@STEP_LOG_LINE@json.output@ }, @@@", 234 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", 235 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"crosvm\", @@@", 236 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", 237 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\", @@@", 238 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/main@{#119844}\"@@@", 239 "@@@STEP_LOG_LINE@json.output@ }, @@@", 240 "@@@STEP_LOG_LINE@json.output@ \"root\": \"crosvm\", @@@", 241 "@@@STEP_LOG_LINE@json.output@ \"source_manifest\": {@@@", 242 "@@@STEP_LOG_LINE@json.output@ \"directories\": {@@@", 243 "@@@STEP_LOG_LINE@json.output@ \"crosvm\": {@@@", 244 "@@@STEP_LOG_LINE@json.output@ \"git_checkout\": {@@@", 245 "@@@STEP_LOG_LINE@json.output@ \"repo_url\": \"https://fake.org/crosvm.git\", @@@", 246 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\"@@@", 247 "@@@STEP_LOG_LINE@json.output@ }@@@", 248 "@@@STEP_LOG_LINE@json.output@ }@@@", 249 "@@@STEP_LOG_LINE@json.output@ }, @@@", 250 "@@@STEP_LOG_LINE@json.output@ \"version\": 0@@@", 251 "@@@STEP_LOG_LINE@json.output@ }, @@@", 252 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", 253 "@@@STEP_LOG_LINE@json.output@}@@@", 254 "@@@STEP_LOG_END@json.output@@@", 255 "@@@SET_BUILD_PROPERTY@got_revision@\"2d72510e447ab60a9728aeea2362d8be2cbd7789\"@@@", 256 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/main@{#119844}\"@@@" 257 ] 258 }, 259 { 260 "cmd": [], 261 "name": "Prepare source.Sync submodules", 262 "~followup_annotations": [ 263 "@@@STEP_NEST_LEVEL@1@@@", 264 "@@@STEP_TEXT@Repaired submodules.@@@", 265 "@@@STEP_WARNINGS@@@" 266 ] 267 }, 268 { 269 "cmd": [ 270 "git", 271 "submodule", 272 "update", 273 "--force", 274 "--init" 275 ], 276 "cwd": "[CACHE]/builder/crosvm", 277 "infra_step": true, 278 "luci_context": { 279 "realm": { 280 "name": "crosvm:ci" 281 }, 282 "resultdb": { 283 "current_invocation": { 284 "name": "invocations/build:8945511751514863184", 285 "update_token": "token" 286 }, 287 "hostname": "rdbhost" 288 } 289 }, 290 "name": "Prepare source.Sync submodules.Init / Update submodules", 291 "~followup_annotations": [ 292 "@@@STEP_NEST_LEVEL@2@@@", 293 "@@@STEP_EXCEPTION@@@" 294 ] 295 }, 296 { 297 "cmd": [ 298 "git", 299 "submodule", 300 "deinit", 301 "--force", 302 "--all" 303 ], 304 "cwd": "[CACHE]/builder/crosvm", 305 "infra_step": true, 306 "luci_context": { 307 "realm": { 308 "name": "crosvm:ci" 309 }, 310 "resultdb": { 311 "current_invocation": { 312 "name": "invocations/build:8945511751514863184", 313 "update_token": "token" 314 }, 315 "hostname": "rdbhost" 316 } 317 }, 318 "name": "Prepare source.Sync submodules.De-init submodules", 319 "~followup_annotations": [ 320 "@@@STEP_NEST_LEVEL@2@@@" 321 ] 322 }, 323 { 324 "cmd": [ 325 "git", 326 "submodule", 327 "update", 328 "--force", 329 "--init" 330 ], 331 "cwd": "[CACHE]/builder/crosvm", 332 "infra_step": true, 333 "luci_context": { 334 "realm": { 335 "name": "crosvm:ci" 336 }, 337 "resultdb": { 338 "current_invocation": { 339 "name": "invocations/build:8945511751514863184", 340 "update_token": "token" 341 }, 342 "hostname": "rdbhost" 343 } 344 }, 345 "name": "Prepare source.Sync submodules.Re-init / Update submodules", 346 "~followup_annotations": [ 347 "@@@STEP_NEST_LEVEL@2@@@" 348 ] 349 }, 350 { 351 "cmd": [ 352 "git", 353 "repack", 354 "-a" 355 ], 356 "cwd": "[CACHE]/builder/crosvm", 357 "infra_step": true, 358 "luci_context": { 359 "realm": { 360 "name": "crosvm:ci" 361 }, 362 "resultdb": { 363 "current_invocation": { 364 "name": "invocations/build:8945511751514863184", 365 "update_token": "token" 366 }, 367 "hostname": "rdbhost" 368 } 369 }, 370 "name": "Prepare source.Repack repository", 371 "~followup_annotations": [ 372 "@@@STEP_NEST_LEVEL@1@@@" 373 ] 374 }, 375 { 376 "cmd": [ 377 "git", 378 "rev-parse", 379 "HEAD" 380 ], 381 "cwd": "[CACHE]/builder/crosvm", 382 "luci_context": { 383 "realm": { 384 "name": "crosvm:ci" 385 }, 386 "resultdb": { 387 "current_invocation": { 388 "name": "invocations/build:8945511751514863184", 389 "update_token": "token" 390 }, 391 "hostname": "rdbhost" 392 } 393 }, 394 "name": "Get git sha" 395 }, 396 { 397 "name": "$result" 398 } 399]