1 [ 2 { 3 "cmd": [ 4 "python", 5 "-u", 6 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 7 "[START_DIR]/skia/infra/bots/assets/skp/VERSION", 8 "/path/to/tmp/" 9 ], 10 "infra_step": true, 11 "name": "Get downloaded SKP VERSION" 12 }, 13 { 14 "cmd": [ 15 "python", 16 "-u", 17 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 18 "42", 19 "[START_DIR]/tmp/SKP_VERSION" 20 ], 21 "infra_step": true, 22 "name": "write SKP_VERSION" 23 }, 24 { 25 "cmd": [ 26 "python", 27 "-u", 28 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 29 "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", 30 "/path/to/tmp/" 31 ], 32 "infra_step": true, 33 "name": "Get downloaded skimage VERSION" 34 }, 35 { 36 "cmd": [ 37 "python", 38 "-u", 39 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 40 "42", 41 "[START_DIR]/tmp/SK_IMAGE_VERSION" 42 ], 43 "infra_step": true, 44 "name": "write SK_IMAGE_VERSION" 45 }, 46 { 47 "cmd": [ 48 "python", 49 "-u", 50 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 51 "[START_DIR]/skia/infra/bots/assets/svg/VERSION", 52 "/path/to/tmp/" 53 ], 54 "infra_step": true, 55 "name": "Get downloaded SVG VERSION" 56 }, 57 { 58 "cmd": [ 59 "python", 60 "-u", 61 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 62 "42", 63 "[START_DIR]/tmp/SVG_VERSION" 64 ], 65 "infra_step": true, 66 "name": "write SVG_VERSION" 67 }, 68 { 69 "cmd": [ 70 "python", 71 "-u", 72 "RECIPE_MODULE[build::file]/resources/fileutil.py", 73 "rmtree", 74 "[CUSTOM_[SWARM_OUT_DIR]]/dm" 75 ], 76 "env": { 77 "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" 78 }, 79 "infra_step": true, 80 "name": "rmtree dm" 81 }, 82 { 83 "cmd": [ 84 "python", 85 "-u", 86 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", 87 "[CUSTOM_[SWARM_OUT_DIR]]/dm", 88 "511" 89 ], 90 "infra_step": true, 91 "name": "makedirs dm", 92 "~followup_annotations": [ 93 "@@@STEP_LOG_LINE (a] python.inline@@@@", 94 "@@@STEP_LOG_LINE (a] python.inline@import sys, os@@@", 95 "@@@STEP_LOG_LINE (a] python.inline@path = sys.argv[1]@@@", 96 "@@@STEP_LOG_LINE (a] python.inline@mode = int(sys.argv[2])@@@", 97 "@@@STEP_LOG_LINE (a] python.inline@if not os.path.isdir(path):@@@", 98 "@@@STEP_LOG_LINE (a] python.inline@ if os.path.exists(path):@@@", 99 "@@@STEP_LOG_LINE (a] python.inline@ print \"%s exists but is not a dir\" % path@@@", 100 "@@@STEP_LOG_LINE (a] python.inline@ sys.exit(1)@@@", 101 "@@@STEP_LOG_LINE (a] python.inline@ os.makedirs(path, mode)@@@", 102 "@@@STEP_LOG_END (a] python.inline@@@" 103 ] 104 }, 105 { 106 "cmd": [ 107 "python", 108 "-u", 109 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", 110 "[START_DIR]/tmp", 111 "511" 112 ], 113 "infra_step": true, 114 "name": "makedirs tmp_dir", 115 "~followup_annotations": [ 116 "@@@STEP_LOG_LINE (a] python.inline@@@@", 117 "@@@STEP_LOG_LINE (a] python.inline@import sys, os@@@", 118 "@@@STEP_LOG_LINE (a] python.inline@path = sys.argv[1]@@@", 119 "@@@STEP_LOG_LINE (a] python.inline@mode = int(sys.argv[2])@@@", 120 "@@@STEP_LOG_LINE (a] python.inline@if not os.path.isdir(path):@@@", 121 "@@@STEP_LOG_LINE (a] python.inline@ if os.path.exists(path):@@@", 122 "@@@STEP_LOG_LINE (a] python.inline@ print \"%s exists but is not a dir\" % path@@@", 123 "@@@STEP_LOG_LINE (a] python.inline@ sys.exit(1)@@@", 124 "@@@STEP_LOG_LINE (a] python.inline@ os.makedirs(path, mode)@@@", 125 "@@@STEP_LOG_END (a] python.inline@@@" 126 ] 127 }, 128 { 129 "cmd": [ 130 "python", 131 "-u", 132 "\nimport contextlib\nimport math\nimport socket\nimport sys\nimport time\nimport urllib2\n\nHASHES_URL = 'https://gold.skia.org/_/hashes'\nRETRIES = 5\nTIMEOUT = 60\nWAIT_BASE = 15\n\nsocket.setdefaulttimeout(TIMEOUT)\nfor retry in range(RETRIES):\n try:\n with contextlib.closing(\n urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w:\n hashes = w.read()\n with open(sys.argv[1], 'w') as f:\n f.write(hashes)\n break\n except Exception as e:\n print 'Failed to get uninteresting hashes from %s:' % HASHES_URL\n print e\n if retry == RETRIES:\n raise\n waittime = WAIT_BASE * math.pow(2, retry)\n print 'Retry in %d seconds.' % waittime\n time.sleep(waittime)\n", 133 "[START_DIR]/tmp/uninteresting_hashes.txt" 134 ], 135 "env": { 136 "BUILDTYPE": "Debug", 137 "CHROME_HEADLESS": "1", 138 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", 139 "SKIA_OUT": "[START_DIR]/out" 140 }, 141 "infra_step": true, 142 "name": "get uninteresting hashes", 143 "~followup_annotations": [ 144 "@@@STEP_LOG_LINE (a] python.inline@@@@", 145 "@@@STEP_LOG_LINE (a] python.inline@import contextlib@@@", 146 "@@@STEP_LOG_LINE (a] python.inline@import math@@@", 147 "@@@STEP_LOG_LINE (a] python.inline@import socket@@@", 148 "@@@STEP_LOG_LINE (a] python.inline@import sys@@@", 149 "@@@STEP_LOG_LINE (a] python.inline@import time@@@", 150 "@@@STEP_LOG_LINE (a] python.inline@import urllib2@@@", 151 "@@@STEP_LOG_LINE (a] python.inline@@@@", 152 "@@@STEP_LOG_LINE (a] python.inline@HASHES_URL = 'https://gold.skia.org/_/hashes'@@@", 153 "@@@STEP_LOG_LINE (a] python.inline@RETRIES = 5@@@", 154 "@@@STEP_LOG_LINE (a] python.inline@TIMEOUT = 60@@@", 155 "@@@STEP_LOG_LINE (a] python.inline@WAIT_BASE = 15@@@", 156 "@@@STEP_LOG_LINE (a] python.inline@@@@", 157 "@@@STEP_LOG_LINE (a] python.inline@socket.setdefaulttimeout(TIMEOUT)@@@", 158 "@@@STEP_LOG_LINE (a] python.inline@for retry in range(RETRIES):@@@", 159 "@@@STEP_LOG_LINE (a] python.inline@ try:@@@", 160 "@@@STEP_LOG_LINE (a] python.inline@ with contextlib.closing(@@@", 161 "@@@STEP_LOG_LINE (a] python.inline@ urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w:@@@", 162 "@@@STEP_LOG_LINE (a] python.inline@ hashes = w.read()@@@", 163 "@@@STEP_LOG_LINE (a] python.inline@ with open(sys.argv[1], 'w') as f:@@@", 164 "@@@STEP_LOG_LINE (a] python.inline@ f.write(hashes)@@@", 165 "@@@STEP_LOG_LINE (a] python.inline@ break@@@", 166 "@@@STEP_LOG_LINE (a] python.inline@ except Exception as e:@@@", 167 "@@@STEP_LOG_LINE (a] python.inline@ print 'Failed to get uninteresting hashes from %s:' % HASHES_URL@@@", 168 "@@@STEP_LOG_LINE (a] python.inline@ print e@@@", 169 "@@@STEP_LOG_LINE (a] python.inline@ if retry == RETRIES:@@@", 170 "@@@STEP_LOG_LINE (a] python.inline@ raise@@@", 171 "@@@STEP_LOG_LINE (a] python.inline@ waittime = WAIT_BASE * math.pow(2, retry)@@@", 172 "@@@STEP_LOG_LINE (a] python.inline@ print 'Retry in %d seconds.' % waittime@@@", 173 "@@@STEP_LOG_LINE (a] python.inline@ time.sleep(waittime)@@@", 174 "@@@STEP_LOG_END (a] python.inline@@@" 175 ] 176 }, 177 { 178 "cmd": [ 179 "[START_DIR]/out/Debug/dm", 180 "--undefok", 181 "--resourcePath", 182 "[START_DIR]/skia/resources", 183 "--skps", 184 "[START_DIR]/skp", 185 "--images", 186 "[START_DIR]/skimage/dm", 187 "--colorImages", 188 "[START_DIR]/skimage/colorspace", 189 "--nameByHash", 190 "--properties", 191 "gitHash", 192 "abc123", 193 "master", 194 "client.skia", 195 "builder", 196 "Test-Mac-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Debug", 197 "build_number", 198 "5", 199 "--svgs", 200 "[START_DIR]/svg", 201 "--key", 202 "arch", 203 "x86_64", 204 "compiler", 205 "Clang", 206 "configuration", 207 "Debug", 208 "cpu_or_gpu", 209 "GPU", 210 "cpu_or_gpu_value", 211 "GeForce320M", 212 "model", 213 "MacMini4.1", 214 "os", 215 "Mac", 216 "--uninterestingHashesFile", 217 "[START_DIR]/tmp/uninteresting_hashes.txt", 218 "--writePath", 219 "[CUSTOM_[SWARM_OUT_DIR]]/dm", 220 "--nocpu", 221 "--randomProcessorTest", 222 "--config", 223 "8888", 224 "srgb", 225 "pdf", 226 "gl", 227 "gldft", 228 "glsrgb", 229 "glmsaa8", 230 "serialize-8888", 231 "tiles_rt-8888", 232 "pic-8888", 233 "--src", 234 "tests", 235 "gm", 236 "image", 237 "colorImage", 238 "svg", 239 "--blacklist", 240 "glsrgb", 241 "image", 242 "_", 243 "_", 244 "8888", 245 "image", 246 "_", 247 "_", 248 "_", 249 "image", 250 "gen_platf", 251 "rgba32abf.bmp", 252 "_", 253 "image", 254 "gen_platf", 255 "rgb24prof.bmp", 256 "_", 257 "image", 258 "gen_platf", 259 "rgb24lprof.bmp", 260 "_", 261 "image", 262 "gen_platf", 263 "8bpp-pixeldata-cropped.bmp", 264 "_", 265 "image", 266 "gen_platf", 267 "4bpp-pixeldata-cropped.bmp", 268 "_", 269 "image", 270 "gen_platf", 271 "32bpp-pixeldata-cropped.bmp", 272 "_", 273 "image", 274 "gen_platf", 275 "24bpp-pixeldata-cropped.bmp", 276 "_", 277 "image", 278 "gen_platf", 279 "frame_larger_than_image.gif", 280 "_", 281 "image", 282 "gen_platf", 283 "inc0.png", 284 "_", 285 "image", 286 "gen_platf", 287 "inc1.png", 288 "_", 289 "image", 290 "gen_platf", 291 "inc2.png", 292 "_", 293 "image", 294 "gen_platf", 295 "inc3.png", 296 "_", 297 "image", 298 "gen_platf", 299 "inc4.png", 300 "_", 301 "image", 302 "gen_platf", 303 "inc5.png", 304 "_", 305 "image", 306 "gen_platf", 307 "inc6.png", 308 "_", 309 "image", 310 "gen_platf", 311 "inc7.png", 312 "_", 313 "image", 314 "gen_platf", 315 "inc8.png", 316 "_", 317 "image", 318 "gen_platf", 319 "inc9.png", 320 "_", 321 "image", 322 "gen_platf", 323 "inc10.png", 324 "_", 325 "image", 326 "gen_platf", 327 "inc11.png", 328 "_", 329 "image", 330 "gen_platf", 331 "inc12.png", 332 "_", 333 "image", 334 "gen_platf", 335 "inc13.png", 336 "_", 337 "image", 338 "gen_platf", 339 "inc14.png", 340 "serialize-8888", 341 "gm", 342 "_", 343 "bleed_image", 344 "serialize-8888", 345 "gm", 346 "_", 347 "c_gms", 348 "serialize-8888", 349 "gm", 350 "_", 351 "colortype", 352 "serialize-8888", 353 "gm", 354 "_", 355 "colortype_xfermodes", 356 "serialize-8888", 357 "gm", 358 "_", 359 "drawfilter", 360 "serialize-8888", 361 "gm", 362 "_", 363 "fontmgr_bounds_0.75_0", 364 "serialize-8888", 365 "gm", 366 "_", 367 "fontmgr_bounds_1_-0.25", 368 "serialize-8888", 369 "gm", 370 "_", 371 "fontmgr_bounds", 372 "serialize-8888", 373 "gm", 374 "_", 375 "fontmgr_match", 376 "serialize-8888", 377 "gm", 378 "_", 379 "fontmgr_iter", 380 "serialize-8888", 381 "gm", 382 "_", 383 "imagemasksubset", 384 "serialize-8888", 385 "gm", 386 "_", 387 "bitmapfilters", 388 "serialize-8888", 389 "gm", 390 "_", 391 "bitmapshaders", 392 "serialize-8888", 393 "gm", 394 "_", 395 "bleed", 396 "serialize-8888", 397 "gm", 398 "_", 399 "bleed_alpha_bmp", 400 "serialize-8888", 401 "gm", 402 "_", 403 "bleed_alpha_bmp_shader", 404 "serialize-8888", 405 "gm", 406 "_", 407 "convex_poly_clip", 408 "serialize-8888", 409 "gm", 410 "_", 411 "extractalpha", 412 "serialize-8888", 413 "gm", 414 "_", 415 "filterbitmap_checkerboard_32_32_g8", 416 "serialize-8888", 417 "gm", 418 "_", 419 "filterbitmap_image_mandrill_64", 420 "serialize-8888", 421 "gm", 422 "_", 423 "shadows", 424 "serialize-8888", 425 "gm", 426 "_", 427 "simpleaaclip_aaclip", 428 "serialize-8888", 429 "gm", 430 "_", 431 "composeshader_bitmap", 432 "serialize-8888", 433 "gm", 434 "_", 435 "scaled_tilemodes_npot", 436 "serialize-8888", 437 "gm", 438 "_", 439 "scaled_tilemodes", 440 "serialize-8888", 441 "gm", 442 "_", 443 "typefacerendering_pfaMac", 444 "serialize-8888", 445 "gm", 446 "_", 447 "parsedpaths", 448 "serialize-8888", 449 "gm", 450 "_", 451 "ImageGeneratorExternal_rect", 452 "serialize-8888", 453 "gm", 454 "_", 455 "ImageGeneratorExternal_shader", 456 "serialize-8888", 457 "gm", 458 "_", 459 "shadow_utils", 460 "pic-8888", 461 "gm", 462 "_", 463 "drawfilter", 464 "pic-8888", 465 "gm", 466 "_", 467 "image-cacherator-from-picture", 468 "serialize-8888", 469 "gm", 470 "_", 471 "image-cacherator-from-picture", 472 "pic-8888", 473 "gm", 474 "_", 475 "image-cacherator-from-raster", 476 "serialize-8888", 477 "gm", 478 "_", 479 "image-cacherator-from-raster", 480 "pic-8888", 481 "gm", 482 "_", 483 "image-cacherator-from-ctable", 484 "serialize-8888", 485 "gm", 486 "_", 487 "image-cacherator-from-ctable", 488 "pic-8888", 489 "gm", 490 "_", 491 "gamut", 492 "serialize-8888", 493 "gm", 494 "_", 495 "gamut", 496 "pic-8888", 497 "gm", 498 "_", 499 "complexclip4_bw", 500 "serialize-8888", 501 "gm", 502 "_", 503 "complexclip4_bw", 504 "pic-8888", 505 "gm", 506 "_", 507 "complexclip4_aa", 508 "serialize-8888", 509 "gm", 510 "_", 511 "complexclip4_aa", 512 "tiles_rt-8888", 513 "gm", 514 "_", 515 "complexclip4_bw", 516 "tiles_rt-8888", 517 "gm", 518 "_", 519 "complexclip4_aa", 520 "_", 521 "image", 522 "_", 523 "interlaced1.png", 524 "_", 525 "image", 526 "_", 527 "interlaced2.png", 528 "_", 529 "image", 530 "_", 531 "interlaced3.png", 532 "_", 533 "image", 534 "_", 535 ".arw", 536 "_", 537 "image", 538 "_", 539 ".cr2", 540 "_", 541 "image", 542 "_", 543 ".dng", 544 "_", 545 "image", 546 "_", 547 ".nef", 548 "_", 549 "image", 550 "_", 551 ".nrw", 552 "_", 553 "image", 554 "_", 555 ".orf", 556 "_", 557 "image", 558 "_", 559 ".raf", 560 "_", 561 "image", 562 "_", 563 ".rw2", 564 "_", 565 "image", 566 "_", 567 ".pef", 568 "_", 569 "image", 570 "_", 571 ".srw", 572 "_", 573 "image", 574 "_", 575 ".ARW", 576 "_", 577 "image", 578 "_", 579 ".CR2", 580 "_", 581 "image", 582 "_", 583 ".DNG", 584 "_", 585 "image", 586 "_", 587 ".NEF", 588 "_", 589 "image", 590 "_", 591 ".NRW", 592 "_", 593 "image", 594 "_", 595 ".ORF", 596 "_", 597 "image", 598 "_", 599 ".RAF", 600 "_", 601 "image", 602 "_", 603 ".RW2", 604 "_", 605 "image", 606 "_", 607 ".PEF", 608 "_", 609 "image", 610 "_", 611 ".SRW", 612 "_", 613 "image", 614 "_", 615 "abnormal.wbmp", 616 "glmsaa8", 617 "gm", 618 "_", 619 "blurcircles" 620 ], 621 "env": { 622 "BUILDTYPE": "Debug", 623 "CHROME_HEADLESS": "1", 624 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", 625 "SKIA_OUT": "[START_DIR]/out" 626 }, 627 "name": "dm" 628 }, 629 { 630 "name": "$result", 631 "recipe_result": null, 632 "status_code": 0 633 } 634 ]