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:2019-09-06", 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:2019-09\", @@@", 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 "python", 243 "-u", 244 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 245 "[CACHE]\\windows_sdk\\win_sdk\\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@ \"..\", @@@", 267 "@@@STEP_LOG_LINE@json.output@ \"..\", @@@", 268 "@@@STEP_LOG_LINE@json.output@ \"win_sdk\", @@@", 269 "@@@STEP_LOG_LINE@json.output@ \"bin\", @@@", 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_LINE@json.output@}@@@", 281 "@@@STEP_LOG_END@json.output@@@" 282 ] 283 }, 284 { 285 "cmd": [], 286 "name": "debug" 287 }, 288 { 289 "cmd": [], 290 "name": "debug.windows-amd64", 291 "~followup_annotations": [ 292 "@@@STEP_NEST_LEVEL@1@@@" 293 ] 294 }, 295 { 296 "cmd": [ 297 "python", 298 "-u", 299 "[START_DIR]\\gn\\build\\gen.py", 300 "-d" 301 ], 302 "cwd": "[START_DIR]\\gn", 303 "env": { 304 "VSINSTALLDIR": "[CACHE]\\windows_sdk" 305 }, 306 "env_prefixes": { 307 "PATH": [ 308 "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" 309 ] 310 }, 311 "luci_context": { 312 "realm": { 313 "name": "gn:try" 314 }, 315 "resultdb": { 316 "current_invocation": { 317 "name": "invocations/build:8945511751514863184", 318 "update_token": "token" 319 }, 320 "hostname": "rdbhost" 321 } 322 }, 323 "name": "debug.windows-amd64.generate", 324 "~followup_annotations": [ 325 "@@@STEP_NEST_LEVEL@2@@@" 326 ] 327 }, 328 { 329 "cmd": [ 330 "[START_DIR]\\cipd\\ninja", 331 "-C", 332 "[START_DIR]\\gn\\out" 333 ], 334 "cwd": "[START_DIR]\\gn", 335 "env": { 336 "VSINSTALLDIR": "[CACHE]\\windows_sdk" 337 }, 338 "env_prefixes": { 339 "PATH": [ 340 "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" 341 ] 342 }, 343 "luci_context": { 344 "realm": { 345 "name": "gn:try" 346 }, 347 "resultdb": { 348 "current_invocation": { 349 "name": "invocations/build:8945511751514863184", 350 "update_token": "token" 351 }, 352 "hostname": "rdbhost" 353 } 354 }, 355 "name": "debug.windows-amd64.build", 356 "~followup_annotations": [ 357 "@@@STEP_NEST_LEVEL@2@@@" 358 ] 359 }, 360 { 361 "cmd": [ 362 "[START_DIR]\\gn\\out\\gn_unittests" 363 ], 364 "cwd": "[START_DIR]\\gn", 365 "env": { 366 "VSINSTALLDIR": "[CACHE]\\windows_sdk" 367 }, 368 "env_prefixes": { 369 "PATH": [ 370 "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" 371 ] 372 }, 373 "luci_context": { 374 "realm": { 375 "name": "gn:try" 376 }, 377 "resultdb": { 378 "current_invocation": { 379 "name": "invocations/build:8945511751514863184", 380 "update_token": "token" 381 }, 382 "hostname": "rdbhost" 383 } 384 }, 385 "name": "debug.windows-amd64.test", 386 "~followup_annotations": [ 387 "@@@STEP_NEST_LEVEL@2@@@" 388 ] 389 }, 390 { 391 "cmd": [], 392 "name": "release" 393 }, 394 { 395 "cmd": [], 396 "name": "release.windows-amd64", 397 "~followup_annotations": [ 398 "@@@STEP_NEST_LEVEL@1@@@" 399 ] 400 }, 401 { 402 "cmd": [ 403 "python", 404 "-u", 405 "[START_DIR]\\gn\\build\\gen.py", 406 "--use-lto", 407 "--use-icf" 408 ], 409 "cwd": "[START_DIR]\\gn", 410 "env": { 411 "VSINSTALLDIR": "[CACHE]\\windows_sdk" 412 }, 413 "env_prefixes": { 414 "PATH": [ 415 "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" 416 ] 417 }, 418 "luci_context": { 419 "realm": { 420 "name": "gn:try" 421 }, 422 "resultdb": { 423 "current_invocation": { 424 "name": "invocations/build:8945511751514863184", 425 "update_token": "token" 426 }, 427 "hostname": "rdbhost" 428 } 429 }, 430 "name": "release.windows-amd64.generate", 431 "~followup_annotations": [ 432 "@@@STEP_NEST_LEVEL@2@@@" 433 ] 434 }, 435 { 436 "cmd": [ 437 "[START_DIR]\\cipd\\ninja", 438 "-C", 439 "[START_DIR]\\gn\\out" 440 ], 441 "cwd": "[START_DIR]\\gn", 442 "env": { 443 "VSINSTALLDIR": "[CACHE]\\windows_sdk" 444 }, 445 "env_prefixes": { 446 "PATH": [ 447 "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" 448 ] 449 }, 450 "luci_context": { 451 "realm": { 452 "name": "gn:try" 453 }, 454 "resultdb": { 455 "current_invocation": { 456 "name": "invocations/build:8945511751514863184", 457 "update_token": "token" 458 }, 459 "hostname": "rdbhost" 460 } 461 }, 462 "name": "release.windows-amd64.build", 463 "~followup_annotations": [ 464 "@@@STEP_NEST_LEVEL@2@@@" 465 ] 466 }, 467 { 468 "cmd": [ 469 "[START_DIR]\\gn\\out\\gn_unittests" 470 ], 471 "cwd": "[START_DIR]\\gn", 472 "env": { 473 "VSINSTALLDIR": "[CACHE]\\windows_sdk" 474 }, 475 "env_prefixes": { 476 "PATH": [ 477 "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" 478 ] 479 }, 480 "luci_context": { 481 "realm": { 482 "name": "gn:try" 483 }, 484 "resultdb": { 485 "current_invocation": { 486 "name": "invocations/build:8945511751514863184", 487 "update_token": "token" 488 }, 489 "hostname": "rdbhost" 490 } 491 }, 492 "name": "release.windows-amd64.test", 493 "~followup_annotations": [ 494 "@@@STEP_NEST_LEVEL@2@@@" 495 ] 496 }, 497 { 498 "cmd": [], 499 "name": "release.windows-amd64.upload", 500 "~followup_annotations": [ 501 "@@@STEP_NEST_LEVEL@2@@@" 502 ] 503 }, 504 { 505 "cmd": [ 506 "vpython", 507 "-u", 508 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", 509 "--json-output", 510 "/path/to/tmp/json", 511 "copy", 512 "RECIPE_MODULE[recipe_engine::cas]\\resources\\infra.sha1", 513 "/path/to/tmp/" 514 ], 515 "cwd": "[START_DIR]\\gn", 516 "env": { 517 "VSINSTALLDIR": "[CACHE]\\windows_sdk" 518 }, 519 "env_prefixes": { 520 "PATH": [ 521 "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" 522 ] 523 }, 524 "infra_step": true, 525 "luci_context": { 526 "realm": { 527 "name": "gn:try" 528 }, 529 "resultdb": { 530 "current_invocation": { 531 "name": "invocations/build:8945511751514863184", 532 "update_token": "token" 533 }, 534 "hostname": "rdbhost" 535 } 536 }, 537 "name": "release.windows-amd64.upload.read infra revision", 538 "~followup_annotations": [ 539 "@@@STEP_NEST_LEVEL@3@@@", 540 "@@@STEP_LOG_LINE@infra.sha1@git_revision:mock_infra_git_revision@@@", 541 "@@@STEP_LOG_END@infra.sha1@@@" 542 ] 543 }, 544 { 545 "cmd": [], 546 "name": "release.windows-amd64.upload.install infra/tools/luci/cas", 547 "~followup_annotations": [ 548 "@@@STEP_NEST_LEVEL@3@@@" 549 ] 550 }, 551 { 552 "cmd": [ 553 "vpython", 554 "-u", 555 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", 556 "--json-output", 557 "/path/to/tmp/json", 558 "ensure-directory", 559 "--mode", 560 "0777", 561 "[START_DIR]\\cipd_tool\\infra\\tools\\luci\\cas\\git_revision%3Amock_infra_git_revision" 562 ], 563 "cwd": "[START_DIR]\\gn", 564 "env": { 565 "VSINSTALLDIR": "[CACHE]\\windows_sdk" 566 }, 567 "env_prefixes": { 568 "PATH": [ 569 "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" 570 ] 571 }, 572 "infra_step": true, 573 "luci_context": { 574 "realm": { 575 "name": "gn:try" 576 }, 577 "resultdb": { 578 "current_invocation": { 579 "name": "invocations/build:8945511751514863184", 580 "update_token": "token" 581 }, 582 "hostname": "rdbhost" 583 } 584 }, 585 "name": "release.windows-amd64.upload.install infra/tools/luci/cas.ensure package directory", 586 "~followup_annotations": [ 587 "@@@STEP_NEST_LEVEL@4@@@" 588 ] 589 }, 590 { 591 "cmd": [ 592 "cipd.bat", 593 "ensure", 594 "-root", 595 "[START_DIR]\\cipd_tool\\infra\\tools\\luci\\cas\\git_revision%3Amock_infra_git_revision", 596 "-ensure-file", 597 "infra/tools/luci/cas/${platform} git_revision:mock_infra_git_revision", 598 "-max-threads", 599 "0", 600 "-json-output", 601 "/path/to/tmp/json" 602 ], 603 "cwd": "[START_DIR]\\gn", 604 "env": { 605 "VSINSTALLDIR": "[CACHE]\\windows_sdk" 606 }, 607 "env_prefixes": { 608 "PATH": [ 609 "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" 610 ] 611 }, 612 "infra_step": true, 613 "luci_context": { 614 "realm": { 615 "name": "gn:try" 616 }, 617 "resultdb": { 618 "current_invocation": { 619 "name": "invocations/build:8945511751514863184", 620 "update_token": "token" 621 }, 622 "hostname": "rdbhost" 623 } 624 }, 625 "name": "release.windows-amd64.upload.install infra/tools/luci/cas.ensure_installed", 626 "~followup_annotations": [ 627 "@@@STEP_NEST_LEVEL@4@@@", 628 "@@@STEP_LOG_LINE@json.output@{@@@", 629 "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", 630 "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", 631 "@@@STEP_LOG_LINE@json.output@ {@@@", 632 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-git_revision:moc\", @@@", 633 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/cas/resolved-platform\"@@@", 634 "@@@STEP_LOG_LINE@json.output@ }@@@", 635 "@@@STEP_LOG_LINE@json.output@ ]@@@", 636 "@@@STEP_LOG_LINE@json.output@ }@@@", 637 "@@@STEP_LOG_LINE@json.output@}@@@", 638 "@@@STEP_LOG_END@json.output@@@" 639 ] 640 }, 641 { 642 "cmd": [ 643 "[START_DIR]\\cipd_tool\\infra\\tools\\luci\\cas\\git_revision%3Amock_infra_git_revision\\cas", 644 "archive", 645 "-cas-instance", 646 "projects/example-cas-server/instances/default_instance", 647 "-dump-digest", 648 "/path/to/tmp/", 649 "-paths", 650 "[START_DIR]\\gn\\out:gn.exe" 651 ], 652 "cwd": "[START_DIR]\\gn", 653 "env": { 654 "VSINSTALLDIR": "[CACHE]\\windows_sdk" 655 }, 656 "env_prefixes": { 657 "PATH": [ 658 "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" 659 ] 660 }, 661 "infra_step": true, 662 "luci_context": { 663 "realm": { 664 "name": "gn:try" 665 }, 666 "resultdb": { 667 "current_invocation": { 668 "name": "invocations/build:8945511751514863184", 669 "update_token": "token" 670 }, 671 "hostname": "rdbhost" 672 } 673 }, 674 "name": "release.windows-amd64.upload.upload binary to CAS", 675 "~followup_annotations": [ 676 "@@@STEP_NEST_LEVEL@3@@@", 677 "@@@STEP_LINK@CAS UI@https://cas-viewer.appspot.com/projects/example-cas-server/instances/default_instance/blobs/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/0/tree@@@" 678 ] 679 }, 680 { 681 "cmd": [ 682 "taskkill.exe", 683 "/f", 684 "/t", 685 "/im", 686 "mspdbsrv.exe" 687 ], 688 "luci_context": { 689 "realm": { 690 "name": "gn:try" 691 }, 692 "resultdb": { 693 "current_invocation": { 694 "name": "invocations/build:8945511751514863184", 695 "update_token": "token" 696 }, 697 "hostname": "rdbhost" 698 } 699 }, 700 "name": "taskkill mspdbsrv" 701 }, 702 { 703 "name": "$result" 704 } 705]