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:ci" 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 "2d72510e447ab60a9728aeea2362d8be2cbd7789" 37 ], 38 "cwd": "[START_DIR]\\gn", 39 "infra_step": true, 40 "luci_context": { 41 "realm": { 42 "name": "gn:ci" 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:ci" 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:ci" 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 "cipd.bat", 110 "ensure", 111 "-root", 112 "[START_DIR]\\cipd", 113 "-ensure-file", 114 "infra/ninja/${platform} version:1.8.2", 115 "-max-threads", 116 "0", 117 "-json-output", 118 "/path/to/tmp/json" 119 ], 120 "infra_step": true, 121 "luci_context": { 122 "realm": { 123 "name": "gn:ci" 124 }, 125 "resultdb": { 126 "current_invocation": { 127 "name": "invocations/build:8945511751514863184", 128 "update_token": "token" 129 }, 130 "hostname": "rdbhost" 131 } 132 }, 133 "name": "ensure_installed", 134 "~followup_annotations": [ 135 "@@@STEP_LOG_LINE@json.output@{@@@", 136 "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", 137 "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", 138 "@@@STEP_LOG_LINE@json.output@ {@@@", 139 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:1.8.2---\", @@@", 140 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/ninja/resolved-platform\"@@@", 141 "@@@STEP_LOG_LINE@json.output@ }@@@", 142 "@@@STEP_LOG_LINE@json.output@ ]@@@", 143 "@@@STEP_LOG_LINE@json.output@ }@@@", 144 "@@@STEP_LOG_LINE@json.output@}@@@", 145 "@@@STEP_LOG_END@json.output@@@" 146 ] 147 }, 148 { 149 "cmd": [ 150 "cipd.bat", 151 "ensure", 152 "-root", 153 "[CACHE]\\windows_sdk", 154 "-ensure-file", 155 "chrome_internal/third_party/sdk/windows uploaded:2019-09-06", 156 "-max-threads", 157 "0", 158 "-json-output", 159 "/path/to/tmp/json" 160 ], 161 "infra_step": true, 162 "luci_context": { 163 "realm": { 164 "name": "gn:ci" 165 }, 166 "resultdb": { 167 "current_invocation": { 168 "name": "invocations/build:8945511751514863184", 169 "update_token": "token" 170 }, 171 "hostname": "rdbhost" 172 } 173 }, 174 "name": "ensure_installed (2)", 175 "~followup_annotations": [ 176 "@@@STEP_LOG_LINE@json.output@{@@@", 177 "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", 178 "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", 179 "@@@STEP_LOG_LINE@json.output@ {@@@", 180 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-uploaded:2019-09\", @@@", 181 "@@@STEP_LOG_LINE@json.output@ \"package\": \"chrome_internal/third_party/sdk/windows\"@@@", 182 "@@@STEP_LOG_LINE@json.output@ }@@@", 183 "@@@STEP_LOG_LINE@json.output@ ]@@@", 184 "@@@STEP_LOG_LINE@json.output@ }@@@", 185 "@@@STEP_LOG_LINE@json.output@}@@@", 186 "@@@STEP_LOG_END@json.output@@@" 187 ] 188 }, 189 { 190 "cmd": [ 191 "python", 192 "-u", 193 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 194 "[CACHE]\\windows_sdk\\win_sdk\\bin\\SetEnv.x64.json", 195 "/path/to/tmp/json" 196 ], 197 "luci_context": { 198 "realm": { 199 "name": "gn:ci" 200 }, 201 "resultdb": { 202 "current_invocation": { 203 "name": "invocations/build:8945511751514863184", 204 "update_token": "token" 205 }, 206 "hostname": "rdbhost" 207 } 208 }, 209 "name": "read SetEnv.x64.json", 210 "~followup_annotations": [ 211 "@@@STEP_LOG_LINE@json.output@{@@@", 212 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@", 213 "@@@STEP_LOG_LINE@json.output@ \"PATH\": [@@@", 214 "@@@STEP_LOG_LINE@json.output@ [@@@", 215 "@@@STEP_LOG_LINE@json.output@ \"..\", @@@", 216 "@@@STEP_LOG_LINE@json.output@ \"..\", @@@", 217 "@@@STEP_LOG_LINE@json.output@ \"win_sdk\", @@@", 218 "@@@STEP_LOG_LINE@json.output@ \"bin\", @@@", 219 "@@@STEP_LOG_LINE@json.output@ \"x64\"@@@", 220 "@@@STEP_LOG_LINE@json.output@ ]@@@", 221 "@@@STEP_LOG_LINE@json.output@ ], @@@", 222 "@@@STEP_LOG_LINE@json.output@ \"VSINSTALLDIR\": [@@@", 223 "@@@STEP_LOG_LINE@json.output@ [@@@", 224 "@@@STEP_LOG_LINE@json.output@ \"..\", @@@", 225 "@@@STEP_LOG_LINE@json.output@ \"..\\\\\"@@@", 226 "@@@STEP_LOG_LINE@json.output@ ]@@@", 227 "@@@STEP_LOG_LINE@json.output@ ]@@@", 228 "@@@STEP_LOG_LINE@json.output@ }@@@", 229 "@@@STEP_LOG_LINE@json.output@}@@@", 230 "@@@STEP_LOG_END@json.output@@@" 231 ] 232 }, 233 { 234 "cmd": [], 235 "name": "debug" 236 }, 237 { 238 "cmd": [], 239 "name": "debug.windows-amd64", 240 "~followup_annotations": [ 241 "@@@STEP_NEST_LEVEL@1@@@" 242 ] 243 }, 244 { 245 "cmd": [ 246 "python", 247 "-u", 248 "[START_DIR]\\gn\\build\\gen.py", 249 "-d" 250 ], 251 "cwd": "[START_DIR]\\gn", 252 "env": { 253 "VSINSTALLDIR": "[CACHE]\\windows_sdk" 254 }, 255 "env_prefixes": { 256 "PATH": [ 257 "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" 258 ] 259 }, 260 "luci_context": { 261 "realm": { 262 "name": "gn:ci" 263 }, 264 "resultdb": { 265 "current_invocation": { 266 "name": "invocations/build:8945511751514863184", 267 "update_token": "token" 268 }, 269 "hostname": "rdbhost" 270 } 271 }, 272 "name": "debug.windows-amd64.generate", 273 "~followup_annotations": [ 274 "@@@STEP_NEST_LEVEL@2@@@" 275 ] 276 }, 277 { 278 "cmd": [ 279 "[START_DIR]\\cipd\\ninja", 280 "-C", 281 "[START_DIR]\\gn\\out" 282 ], 283 "cwd": "[START_DIR]\\gn", 284 "env": { 285 "VSINSTALLDIR": "[CACHE]\\windows_sdk" 286 }, 287 "env_prefixes": { 288 "PATH": [ 289 "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" 290 ] 291 }, 292 "luci_context": { 293 "realm": { 294 "name": "gn:ci" 295 }, 296 "resultdb": { 297 "current_invocation": { 298 "name": "invocations/build:8945511751514863184", 299 "update_token": "token" 300 }, 301 "hostname": "rdbhost" 302 } 303 }, 304 "name": "debug.windows-amd64.build", 305 "~followup_annotations": [ 306 "@@@STEP_NEST_LEVEL@2@@@" 307 ] 308 }, 309 { 310 "cmd": [ 311 "[START_DIR]\\gn\\out\\gn_unittests" 312 ], 313 "cwd": "[START_DIR]\\gn", 314 "env": { 315 "VSINSTALLDIR": "[CACHE]\\windows_sdk" 316 }, 317 "env_prefixes": { 318 "PATH": [ 319 "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" 320 ] 321 }, 322 "luci_context": { 323 "realm": { 324 "name": "gn:ci" 325 }, 326 "resultdb": { 327 "current_invocation": { 328 "name": "invocations/build:8945511751514863184", 329 "update_token": "token" 330 }, 331 "hostname": "rdbhost" 332 } 333 }, 334 "name": "debug.windows-amd64.test", 335 "~followup_annotations": [ 336 "@@@STEP_NEST_LEVEL@2@@@" 337 ] 338 }, 339 { 340 "cmd": [], 341 "name": "release" 342 }, 343 { 344 "cmd": [], 345 "name": "release.windows-amd64", 346 "~followup_annotations": [ 347 "@@@STEP_NEST_LEVEL@1@@@" 348 ] 349 }, 350 { 351 "cmd": [ 352 "python", 353 "-u", 354 "[START_DIR]\\gn\\build\\gen.py", 355 "--use-lto", 356 "--use-icf" 357 ], 358 "cwd": "[START_DIR]\\gn", 359 "env": { 360 "VSINSTALLDIR": "[CACHE]\\windows_sdk" 361 }, 362 "env_prefixes": { 363 "PATH": [ 364 "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" 365 ] 366 }, 367 "luci_context": { 368 "realm": { 369 "name": "gn:ci" 370 }, 371 "resultdb": { 372 "current_invocation": { 373 "name": "invocations/build:8945511751514863184", 374 "update_token": "token" 375 }, 376 "hostname": "rdbhost" 377 } 378 }, 379 "name": "release.windows-amd64.generate", 380 "~followup_annotations": [ 381 "@@@STEP_NEST_LEVEL@2@@@" 382 ] 383 }, 384 { 385 "cmd": [ 386 "[START_DIR]\\cipd\\ninja", 387 "-C", 388 "[START_DIR]\\gn\\out" 389 ], 390 "cwd": "[START_DIR]\\gn", 391 "env": { 392 "VSINSTALLDIR": "[CACHE]\\windows_sdk" 393 }, 394 "env_prefixes": { 395 "PATH": [ 396 "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" 397 ] 398 }, 399 "luci_context": { 400 "realm": { 401 "name": "gn:ci" 402 }, 403 "resultdb": { 404 "current_invocation": { 405 "name": "invocations/build:8945511751514863184", 406 "update_token": "token" 407 }, 408 "hostname": "rdbhost" 409 } 410 }, 411 "name": "release.windows-amd64.build", 412 "~followup_annotations": [ 413 "@@@STEP_NEST_LEVEL@2@@@" 414 ] 415 }, 416 { 417 "cmd": [ 418 "[START_DIR]\\gn\\out\\gn_unittests" 419 ], 420 "cwd": "[START_DIR]\\gn", 421 "env": { 422 "VSINSTALLDIR": "[CACHE]\\windows_sdk" 423 }, 424 "env_prefixes": { 425 "PATH": [ 426 "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" 427 ] 428 }, 429 "luci_context": { 430 "realm": { 431 "name": "gn:ci" 432 }, 433 "resultdb": { 434 "current_invocation": { 435 "name": "invocations/build:8945511751514863184", 436 "update_token": "token" 437 }, 438 "hostname": "rdbhost" 439 } 440 }, 441 "name": "release.windows-amd64.test", 442 "~followup_annotations": [ 443 "@@@STEP_NEST_LEVEL@2@@@" 444 ] 445 }, 446 { 447 "cmd": [], 448 "name": "release.windows-amd64.upload", 449 "~followup_annotations": [ 450 "@@@STEP_NEST_LEVEL@2@@@" 451 ] 452 }, 453 { 454 "cmd": [ 455 "cipd.bat", 456 "pkg-build", 457 "-pkg-def", 458 "{\"data\": [{\"file\": \"gn.exe\"}, {\"version_file\": \".versions/gn.exe.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"gn/gn/windows-amd64\", \"root\": \"[START_DIR]\\\\gn\\\\out\"}", 459 "-out", 460 "[CLEANUP]\\gn.cipd", 461 "-hash-algo", 462 "sha256", 463 "-json-output", 464 "/path/to/tmp/json" 465 ], 466 "cwd": "[START_DIR]\\gn", 467 "env": { 468 "VSINSTALLDIR": "[CACHE]\\windows_sdk" 469 }, 470 "env_prefixes": { 471 "PATH": [ 472 "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" 473 ] 474 }, 475 "luci_context": { 476 "realm": { 477 "name": "gn:ci" 478 }, 479 "resultdb": { 480 "current_invocation": { 481 "name": "invocations/build:8945511751514863184", 482 "update_token": "token" 483 }, 484 "hostname": "rdbhost" 485 } 486 }, 487 "name": "release.windows-amd64.upload.build gn/gn/windows-amd64", 488 "~followup_annotations": [ 489 "@@@STEP_NEST_LEVEL@3@@@", 490 "@@@STEP_LOG_LINE@json.output@{@@@", 491 "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", 492 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", 493 "@@@STEP_LOG_LINE@json.output@ \"package\": \"gn/gn/windows-amd64\"@@@", 494 "@@@STEP_LOG_LINE@json.output@ }@@@", 495 "@@@STEP_LOG_LINE@json.output@}@@@", 496 "@@@STEP_LOG_END@json.output@@@" 497 ] 498 }, 499 { 500 "cmd": [ 501 "taskkill.exe", 502 "/f", 503 "/t", 504 "/im", 505 "mspdbsrv.exe" 506 ], 507 "luci_context": { 508 "realm": { 509 "name": "gn:ci" 510 }, 511 "resultdb": { 512 "current_invocation": { 513 "name": "invocations/build:8945511751514863184", 514 "update_token": "token" 515 }, 516 "hostname": "rdbhost" 517 } 518 }, 519 "name": "taskkill mspdbsrv" 520 }, 521 { 522 "name": "$result" 523 } 524]