1[ 2 { 3 "cmd": [], 4 "name": "git" 5 }, 6 { 7 "cmd": [ 8 "git", 9 "init", 10 "[START_DIR]\\gn" 11 ], 12 "infra_step": true, 13 "luci_context": { 14 "realm": { 15 "name": "gn:try" 16 }, 17 "resultdb": { 18 "current_invocation": { 19 "name": "invocations/build:8945511751514863184", 20 "update_token": "token" 21 }, 22 "hostname": "rdbhost" 23 } 24 }, 25 "name": "git.init", 26 "~followup_annotations": [ 27 "@@@STEP_NEST_LEVEL@1@@@" 28 ] 29 }, 30 { 31 "cmd": [ 32 "git", 33 "fetch", 34 "--tags", 35 "https://gn.googlesource.com/gn", 36 "" 37 ], 38 "cwd": "[START_DIR]\\gn", 39 "infra_step": true, 40 "luci_context": { 41 "realm": { 42 "name": "gn:try" 43 }, 44 "resultdb": { 45 "current_invocation": { 46 "name": "invocations/build:8945511751514863184", 47 "update_token": "token" 48 }, 49 "hostname": "rdbhost" 50 } 51 }, 52 "name": "git.fetch", 53 "~followup_annotations": [ 54 "@@@STEP_NEST_LEVEL@1@@@" 55 ] 56 }, 57 { 58 "cmd": [ 59 "git", 60 "checkout", 61 "FETCH_HEAD" 62 ], 63 "cwd": "[START_DIR]\\gn", 64 "infra_step": true, 65 "luci_context": { 66 "realm": { 67 "name": "gn:try" 68 }, 69 "resultdb": { 70 "current_invocation": { 71 "name": "invocations/build:8945511751514863184", 72 "update_token": "token" 73 }, 74 "hostname": "rdbhost" 75 } 76 }, 77 "name": "git.checkout", 78 "~followup_annotations": [ 79 "@@@STEP_NEST_LEVEL@1@@@" 80 ] 81 }, 82 { 83 "cmd": [ 84 "git", 85 "rev-parse", 86 "HEAD" 87 ], 88 "cwd": "[START_DIR]\\gn", 89 "infra_step": true, 90 "luci_context": { 91 "realm": { 92 "name": "gn:try" 93 }, 94 "resultdb": { 95 "current_invocation": { 96 "name": "invocations/build:8945511751514863184", 97 "update_token": "token" 98 }, 99 "hostname": "rdbhost" 100 } 101 }, 102 "name": "git.rev-parse", 103 "~followup_annotations": [ 104 "@@@STEP_NEST_LEVEL@1@@@" 105 ] 106 }, 107 { 108 "cmd": [ 109 "git", 110 "fetch", 111 "https://gn.googlesource.com/gn", 112 "refs/changes/56/123456/7" 113 ], 114 "cwd": "[START_DIR]\\gn", 115 "infra_step": true, 116 "luci_context": { 117 "realm": { 118 "name": "gn:try" 119 }, 120 "resultdb": { 121 "current_invocation": { 122 "name": "invocations/build:8945511751514863184", 123 "update_token": "token" 124 }, 125 "hostname": "rdbhost" 126 } 127 }, 128 "name": "git.fetch 123456/7", 129 "~followup_annotations": [ 130 "@@@STEP_NEST_LEVEL@1@@@" 131 ] 132 }, 133 { 134 "cmd": [ 135 "git", 136 "checkout", 137 "FETCH_HEAD" 138 ], 139 "cwd": "[START_DIR]\\gn", 140 "infra_step": true, 141 "luci_context": { 142 "realm": { 143 "name": "gn:try" 144 }, 145 "resultdb": { 146 "current_invocation": { 147 "name": "invocations/build:8945511751514863184", 148 "update_token": "token" 149 }, 150 "hostname": "rdbhost" 151 } 152 }, 153 "name": "git.checkout 123456/7", 154 "~followup_annotations": [ 155 "@@@STEP_NEST_LEVEL@1@@@" 156 ] 157 }, 158 { 159 "cmd": [ 160 "cipd.bat", 161 "ensure", 162 "-root", 163 "[START_DIR]\\cipd", 164 "-ensure-file", 165 "infra/ninja/${platform} version:1.8.2", 166 "-max-threads", 167 "0", 168 "-json-output", 169 "/path/to/tmp/json" 170 ], 171 "infra_step": true, 172 "luci_context": { 173 "realm": { 174 "name": "gn:try" 175 }, 176 "resultdb": { 177 "current_invocation": { 178 "name": "invocations/build:8945511751514863184", 179 "update_token": "token" 180 }, 181 "hostname": "rdbhost" 182 } 183 }, 184 "name": "ensure_installed", 185 "~followup_annotations": [ 186 "@@@STEP_LOG_LINE@json.output@{@@@", 187 "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", 188 "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", 189 "@@@STEP_LOG_LINE@json.output@ {@@@", 190 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:1.8.2---\",@@@", 191 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/ninja/resolved-platform\"@@@", 192 "@@@STEP_LOG_LINE@json.output@ }@@@", 193 "@@@STEP_LOG_LINE@json.output@ ]@@@", 194 "@@@STEP_LOG_LINE@json.output@ }@@@", 195 "@@@STEP_LOG_LINE@json.output@}@@@", 196 "@@@STEP_LOG_END@json.output@@@" 197 ] 198 }, 199 { 200 "cmd": [ 201 "cipd.bat", 202 "ensure", 203 "-root", 204 "[CACHE]\\windows_sdk", 205 "-ensure-file", 206 "chrome_internal/third_party/sdk/windows uploaded:2024-01-11", 207 "-max-threads", 208 "0", 209 "-json-output", 210 "/path/to/tmp/json" 211 ], 212 "infra_step": true, 213 "luci_context": { 214 "realm": { 215 "name": "gn:try" 216 }, 217 "resultdb": { 218 "current_invocation": { 219 "name": "invocations/build:8945511751514863184", 220 "update_token": "token" 221 }, 222 "hostname": "rdbhost" 223 } 224 }, 225 "name": "ensure_installed (2)", 226 "~followup_annotations": [ 227 "@@@STEP_LOG_LINE@json.output@{@@@", 228 "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", 229 "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", 230 "@@@STEP_LOG_LINE@json.output@ {@@@", 231 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-uploaded:2024-01\",@@@", 232 "@@@STEP_LOG_LINE@json.output@ \"package\": \"chrome_internal/third_party/sdk/windows\"@@@", 233 "@@@STEP_LOG_LINE@json.output@ }@@@", 234 "@@@STEP_LOG_LINE@json.output@ ]@@@", 235 "@@@STEP_LOG_LINE@json.output@ }@@@", 236 "@@@STEP_LOG_LINE@json.output@}@@@", 237 "@@@STEP_LOG_END@json.output@@@" 238 ] 239 }, 240 { 241 "cmd": [ 242 "python3", 243 "-u", 244 "RECIPE_MODULE[recipe_engine::json]\\resources\\read.py", 245 "[CACHE]\\windows_sdk\\Windows Kits\\10\\bin\\SetEnv.x64.json", 246 "/path/to/tmp/json" 247 ], 248 "luci_context": { 249 "realm": { 250 "name": "gn:try" 251 }, 252 "resultdb": { 253 "current_invocation": { 254 "name": "invocations/build:8945511751514863184", 255 "update_token": "token" 256 }, 257 "hostname": "rdbhost" 258 } 259 }, 260 "name": "read SetEnv.x64.json", 261 "~followup_annotations": [ 262 "@@@STEP_LOG_LINE@json.output@{@@@", 263 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@", 264 "@@@STEP_LOG_LINE@json.output@ \"PATH\": [@@@", 265 "@@@STEP_LOG_LINE@json.output@ [@@@", 266 "@@@STEP_LOG_LINE@json.output@ \"Windows Kits\",@@@", 267 "@@@STEP_LOG_LINE@json.output@ \"10\",@@@", 268 "@@@STEP_LOG_LINE@json.output@ \"bin\",@@@", 269 "@@@STEP_LOG_LINE@json.output@ \"10.0.19041.0\",@@@", 270 "@@@STEP_LOG_LINE@json.output@ \"x64\"@@@", 271 "@@@STEP_LOG_LINE@json.output@ ]@@@", 272 "@@@STEP_LOG_LINE@json.output@ ],@@@", 273 "@@@STEP_LOG_LINE@json.output@ \"VSINSTALLDIR\": [@@@", 274 "@@@STEP_LOG_LINE@json.output@ [@@@", 275 "@@@STEP_LOG_LINE@json.output@ \".\\\\\"@@@", 276 "@@@STEP_LOG_LINE@json.output@ ]@@@", 277 "@@@STEP_LOG_LINE@json.output@ ]@@@", 278 "@@@STEP_LOG_LINE@json.output@ }@@@", 279 "@@@STEP_LOG_LINE@json.output@}@@@", 280 "@@@STEP_LOG_END@json.output@@@" 281 ] 282 }, 283 { 284 "cmd": [], 285 "name": "debug" 286 }, 287 { 288 "cmd": [], 289 "name": "debug.windows-amd64", 290 "~followup_annotations": [ 291 "@@@STEP_NEST_LEVEL@1@@@" 292 ] 293 }, 294 { 295 "cmd": [ 296 "python3", 297 "-u", 298 "[START_DIR]\\gn\\build\\gen.py", 299 "-d" 300 ], 301 "cwd": "[START_DIR]\\gn", 302 "env": { 303 "VSINSTALLDIR": "[CACHE]\\windows_sdk\\.\\" 304 }, 305 "env_prefixes": { 306 "PATH": [ 307 "[CACHE]\\windows_sdk\\Windows Kits\\10\\bin\\10.0.19041.0\\x64" 308 ] 309 }, 310 "luci_context": { 311 "realm": { 312 "name": "gn:try" 313 }, 314 "resultdb": { 315 "current_invocation": { 316 "name": "invocations/build:8945511751514863184", 317 "update_token": "token" 318 }, 319 "hostname": "rdbhost" 320 } 321 }, 322 "name": "debug.windows-amd64.generate", 323 "~followup_annotations": [ 324 "@@@STEP_NEST_LEVEL@2@@@" 325 ] 326 }, 327 { 328 "cmd": [ 329 "[START_DIR]\\cipd\\ninja", 330 "-C", 331 "[START_DIR]\\gn\\out" 332 ], 333 "cwd": "[START_DIR]\\gn", 334 "env": { 335 "VSINSTALLDIR": "[CACHE]\\windows_sdk\\.\\" 336 }, 337 "env_prefixes": { 338 "PATH": [ 339 "[CACHE]\\windows_sdk\\Windows Kits\\10\\bin\\10.0.19041.0\\x64" 340 ] 341 }, 342 "luci_context": { 343 "realm": { 344 "name": "gn:try" 345 }, 346 "resultdb": { 347 "current_invocation": { 348 "name": "invocations/build:8945511751514863184", 349 "update_token": "token" 350 }, 351 "hostname": "rdbhost" 352 } 353 }, 354 "name": "debug.windows-amd64.build", 355 "~followup_annotations": [ 356 "@@@STEP_NEST_LEVEL@2@@@" 357 ] 358 }, 359 { 360 "cmd": [ 361 "[START_DIR]\\gn\\out\\gn_unittests" 362 ], 363 "cwd": "[START_DIR]\\gn", 364 "env": { 365 "VSINSTALLDIR": "[CACHE]\\windows_sdk\\.\\" 366 }, 367 "env_prefixes": { 368 "PATH": [ 369 "[CACHE]\\windows_sdk\\Windows Kits\\10\\bin\\10.0.19041.0\\x64" 370 ] 371 }, 372 "luci_context": { 373 "realm": { 374 "name": "gn:try" 375 }, 376 "resultdb": { 377 "current_invocation": { 378 "name": "invocations/build:8945511751514863184", 379 "update_token": "token" 380 }, 381 "hostname": "rdbhost" 382 } 383 }, 384 "name": "debug.windows-amd64.test", 385 "~followup_annotations": [ 386 "@@@STEP_NEST_LEVEL@2@@@" 387 ] 388 }, 389 { 390 "cmd": [], 391 "name": "release" 392 }, 393 { 394 "cmd": [], 395 "name": "release.windows-amd64", 396 "~followup_annotations": [ 397 "@@@STEP_NEST_LEVEL@1@@@" 398 ] 399 }, 400 { 401 "cmd": [ 402 "python3", 403 "-u", 404 "[START_DIR]\\gn\\build\\gen.py", 405 "--use-lto", 406 "--use-icf" 407 ], 408 "cwd": "[START_DIR]\\gn", 409 "env": { 410 "VSINSTALLDIR": "[CACHE]\\windows_sdk\\.\\" 411 }, 412 "env_prefixes": { 413 "PATH": [ 414 "[CACHE]\\windows_sdk\\Windows Kits\\10\\bin\\10.0.19041.0\\x64" 415 ] 416 }, 417 "luci_context": { 418 "realm": { 419 "name": "gn:try" 420 }, 421 "resultdb": { 422 "current_invocation": { 423 "name": "invocations/build:8945511751514863184", 424 "update_token": "token" 425 }, 426 "hostname": "rdbhost" 427 } 428 }, 429 "name": "release.windows-amd64.generate", 430 "~followup_annotations": [ 431 "@@@STEP_NEST_LEVEL@2@@@" 432 ] 433 }, 434 { 435 "cmd": [ 436 "[START_DIR]\\cipd\\ninja", 437 "-C", 438 "[START_DIR]\\gn\\out" 439 ], 440 "cwd": "[START_DIR]\\gn", 441 "env": { 442 "VSINSTALLDIR": "[CACHE]\\windows_sdk\\.\\" 443 }, 444 "env_prefixes": { 445 "PATH": [ 446 "[CACHE]\\windows_sdk\\Windows Kits\\10\\bin\\10.0.19041.0\\x64" 447 ] 448 }, 449 "luci_context": { 450 "realm": { 451 "name": "gn:try" 452 }, 453 "resultdb": { 454 "current_invocation": { 455 "name": "invocations/build:8945511751514863184", 456 "update_token": "token" 457 }, 458 "hostname": "rdbhost" 459 } 460 }, 461 "name": "release.windows-amd64.build", 462 "~followup_annotations": [ 463 "@@@STEP_NEST_LEVEL@2@@@" 464 ] 465 }, 466 { 467 "cmd": [ 468 "[START_DIR]\\gn\\out\\gn_unittests" 469 ], 470 "cwd": "[START_DIR]\\gn", 471 "env": { 472 "VSINSTALLDIR": "[CACHE]\\windows_sdk\\.\\" 473 }, 474 "env_prefixes": { 475 "PATH": [ 476 "[CACHE]\\windows_sdk\\Windows Kits\\10\\bin\\10.0.19041.0\\x64" 477 ] 478 }, 479 "luci_context": { 480 "realm": { 481 "name": "gn:try" 482 }, 483 "resultdb": { 484 "current_invocation": { 485 "name": "invocations/build:8945511751514863184", 486 "update_token": "token" 487 }, 488 "hostname": "rdbhost" 489 } 490 }, 491 "name": "release.windows-amd64.test", 492 "~followup_annotations": [ 493 "@@@STEP_NEST_LEVEL@2@@@" 494 ] 495 }, 496 { 497 "cmd": [], 498 "name": "release.windows-amd64.upload", 499 "~followup_annotations": [ 500 "@@@STEP_NEST_LEVEL@2@@@" 501 ] 502 }, 503 { 504 "cmd": [ 505 "vpython3", 506 "-u", 507 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", 508 "--json-output", 509 "/path/to/tmp/json", 510 "copy", 511 "RECIPE_MODULE[recipe_engine::cas]\\resources\\infra.sha1", 512 "/path/to/tmp/" 513 ], 514 "cwd": "[START_DIR]\\gn", 515 "env": { 516 "VSINSTALLDIR": "[CACHE]\\windows_sdk\\.\\" 517 }, 518 "env_prefixes": { 519 "PATH": [ 520 "[CACHE]\\windows_sdk\\Windows Kits\\10\\bin\\10.0.19041.0\\x64" 521 ] 522 }, 523 "infra_step": true, 524 "luci_context": { 525 "realm": { 526 "name": "gn:try" 527 }, 528 "resultdb": { 529 "current_invocation": { 530 "name": "invocations/build:8945511751514863184", 531 "update_token": "token" 532 }, 533 "hostname": "rdbhost" 534 } 535 }, 536 "name": "release.windows-amd64.upload.read infra revision", 537 "~followup_annotations": [ 538 "@@@STEP_NEST_LEVEL@3@@@", 539 "@@@STEP_LOG_LINE@infra.sha1@git_revision:mock_infra_git_revision@@@", 540 "@@@STEP_LOG_END@infra.sha1@@@" 541 ] 542 }, 543 { 544 "cmd": [], 545 "name": "release.windows-amd64.upload.install infra/tools/luci/cas", 546 "~followup_annotations": [ 547 "@@@STEP_NEST_LEVEL@3@@@" 548 ] 549 }, 550 { 551 "cmd": [ 552 "vpython3", 553 "-u", 554 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", 555 "--json-output", 556 "/path/to/tmp/json", 557 "ensure-directory", 558 "--mode", 559 "0777", 560 "[START_DIR]\\cipd_tool\\infra\\tools\\luci\\cas\\33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee" 561 ], 562 "cwd": "[START_DIR]\\gn", 563 "env": { 564 "VSINSTALLDIR": "[CACHE]\\windows_sdk\\.\\" 565 }, 566 "env_prefixes": { 567 "PATH": [ 568 "[CACHE]\\windows_sdk\\Windows Kits\\10\\bin\\10.0.19041.0\\x64" 569 ] 570 }, 571 "infra_step": true, 572 "luci_context": { 573 "realm": { 574 "name": "gn:try" 575 }, 576 "resultdb": { 577 "current_invocation": { 578 "name": "invocations/build:8945511751514863184", 579 "update_token": "token" 580 }, 581 "hostname": "rdbhost" 582 } 583 }, 584 "name": "release.windows-amd64.upload.install infra/tools/luci/cas.ensure package directory", 585 "~followup_annotations": [ 586 "@@@STEP_NEST_LEVEL@4@@@" 587 ] 588 }, 589 { 590 "cmd": [ 591 "cipd.bat", 592 "ensure", 593 "-root", 594 "[START_DIR]\\cipd_tool\\infra\\tools\\luci\\cas\\33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee", 595 "-ensure-file", 596 "infra/tools/luci/cas/${platform} git_revision:mock_infra_git_revision", 597 "-max-threads", 598 "0", 599 "-json-output", 600 "/path/to/tmp/json" 601 ], 602 "cwd": "[START_DIR]\\gn", 603 "env": { 604 "VSINSTALLDIR": "[CACHE]\\windows_sdk\\.\\" 605 }, 606 "env_prefixes": { 607 "PATH": [ 608 "[CACHE]\\windows_sdk\\Windows Kits\\10\\bin\\10.0.19041.0\\x64" 609 ] 610 }, 611 "infra_step": true, 612 "luci_context": { 613 "realm": { 614 "name": "gn:try" 615 }, 616 "resultdb": { 617 "current_invocation": { 618 "name": "invocations/build:8945511751514863184", 619 "update_token": "token" 620 }, 621 "hostname": "rdbhost" 622 } 623 }, 624 "name": "release.windows-amd64.upload.install infra/tools/luci/cas.ensure_installed", 625 "~followup_annotations": [ 626 "@@@STEP_NEST_LEVEL@4@@@", 627 "@@@STEP_LOG_LINE@json.output@{@@@", 628 "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", 629 "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", 630 "@@@STEP_LOG_LINE@json.output@ {@@@", 631 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-git_revision:moc\",@@@", 632 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/cas/resolved-platform\"@@@", 633 "@@@STEP_LOG_LINE@json.output@ }@@@", 634 "@@@STEP_LOG_LINE@json.output@ ]@@@", 635 "@@@STEP_LOG_LINE@json.output@ }@@@", 636 "@@@STEP_LOG_LINE@json.output@}@@@", 637 "@@@STEP_LOG_END@json.output@@@" 638 ] 639 }, 640 { 641 "cmd": [ 642 "[START_DIR]\\cipd_tool\\infra\\tools\\luci\\cas\\33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee\\cas", 643 "archive", 644 "-log-level", 645 "info", 646 "-cas-instance", 647 "projects/example-cas-server/instances/default_instance", 648 "-dump-digest", 649 "/path/to/tmp/", 650 "-paths-json", 651 "[[\"[START_DIR]\\\\gn\\\\out\", \"gn.exe\"]]" 652 ], 653 "cwd": "[START_DIR]\\gn", 654 "env": { 655 "VSINSTALLDIR": "[CACHE]\\windows_sdk\\.\\" 656 }, 657 "env_prefixes": { 658 "PATH": [ 659 "[CACHE]\\windows_sdk\\Windows Kits\\10\\bin\\10.0.19041.0\\x64" 660 ] 661 }, 662 "infra_step": true, 663 "luci_context": { 664 "realm": { 665 "name": "gn:try" 666 }, 667 "resultdb": { 668 "current_invocation": { 669 "name": "invocations/build:8945511751514863184", 670 "update_token": "token" 671 }, 672 "hostname": "rdbhost" 673 } 674 }, 675 "name": "release.windows-amd64.upload.upload binary to CAS", 676 "~followup_annotations": [ 677 "@@@STEP_NEST_LEVEL@3@@@", 678 "@@@STEP_LINK@CAS UI@https://cas-viewer.appspot.com/projects/example-cas-server/instances/default_instance/blobs/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/0/tree@@@" 679 ] 680 }, 681 { 682 "cmd": [ 683 "taskkill.exe", 684 "/f", 685 "/t", 686 "/im", 687 "mspdbsrv.exe" 688 ], 689 "env": { 690 "VSINSTALLDIR": "[CACHE]\\windows_sdk\\.\\" 691 }, 692 "env_prefixes": { 693 "PATH": [ 694 "[CACHE]\\windows_sdk\\Windows Kits\\10\\bin\\10.0.19041.0\\x64" 695 ] 696 }, 697 "luci_context": { 698 "realm": { 699 "name": "gn:try" 700 }, 701 "resultdb": { 702 "current_invocation": { 703 "name": "invocations/build:8945511751514863184", 704 "update_token": "token" 705 }, 706 "hostname": "rdbhost" 707 } 708 }, 709 "name": "taskkill mspdbsrv" 710 }, 711 { 712 "name": "$result" 713 } 714]