1 [ 2 { 3 "cmd": [ 4 "python", 5 "-u", 6 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", 7 "--json-output", 8 "/path/to/tmp/json", 9 "copy", 10 "[START_DIR]\\skia\\infra\\bots\\assets\\skp\\VERSION", 11 "/path/to/tmp/" 12 ], 13 "infra_step": true, 14 "name": "Get downloaded SKP VERSION" 15 }, 16 { 17 "cmd": [ 18 "python", 19 "-u", 20 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", 21 "--json-output", 22 "/path/to/tmp/json", 23 "copy", 24 "42", 25 "[START_DIR]\\tmp\\SKP_VERSION" 26 ], 27 "infra_step": true, 28 "name": "write SKP_VERSION" 29 }, 30 { 31 "cmd": [ 32 "python", 33 "-u", 34 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", 35 "--json-output", 36 "/path/to/tmp/json", 37 "copy", 38 "[START_DIR]\\skia\\infra\\bots\\assets\\skimage\\VERSION", 39 "/path/to/tmp/" 40 ], 41 "infra_step": true, 42 "name": "Get downloaded skimage VERSION" 43 }, 44 { 45 "cmd": [ 46 "python", 47 "-u", 48 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", 49 "--json-output", 50 "/path/to/tmp/json", 51 "copy", 52 "42", 53 "[START_DIR]\\tmp\\SK_IMAGE_VERSION" 54 ], 55 "infra_step": true, 56 "name": "write SK_IMAGE_VERSION" 57 }, 58 { 59 "cmd": [ 60 "python", 61 "-u", 62 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", 63 "--json-output", 64 "/path/to/tmp/json", 65 "copy", 66 "[START_DIR]\\skia\\infra\\bots\\assets\\svg\\VERSION", 67 "/path/to/tmp/" 68 ], 69 "infra_step": true, 70 "name": "Get downloaded SVG VERSION" 71 }, 72 { 73 "cmd": [ 74 "python", 75 "-u", 76 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", 77 "--json-output", 78 "/path/to/tmp/json", 79 "copy", 80 "42", 81 "[START_DIR]\\tmp\\SVG_VERSION" 82 ], 83 "infra_step": true, 84 "name": "write SVG_VERSION" 85 }, 86 { 87 "cmd": [ 88 "python", 89 "-u", 90 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", 91 "--json-output", 92 "/path/to/tmp/json", 93 "ensure-directory", 94 "--mode", 95 "0777", 96 "[START_DIR]\\tmp" 97 ], 98 "infra_step": true, 99 "name": "makedirs tmp_dir" 100 }, 101 { 102 "cmd": [ 103 "python", 104 "-u", 105 "\nimport contextlib\nimport math\nimport socket\nimport sys\nimport time\nimport urllib2\n\nHASHES_URL = 'https://storage.googleapis.com/skia-infra-gm/hash_files/gold-prod-hashes.txt'\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", 106 "[START_DIR]\\tmp\\uninteresting_hashes.txt" 107 ], 108 "env": { 109 "BUILDTYPE": "Debug_x64", 110 "CHROME_HEADLESS": "1", 111 "PATH": "<PATH>;RECIPE_PACKAGE_REPO[depot_tools]", 112 "SKIA_OUT": "[START_DIR]\\out" 113 }, 114 "infra_step": true, 115 "name": "get uninteresting hashes", 116 "~followup_annotations": [ 117 "@@@STEP_LOG_LINE (a] python.inline@@@@", 118 "@@@STEP_LOG_LINE (a] python.inline@import contextlib@@@", 119 "@@@STEP_LOG_LINE (a] python.inline@import math@@@", 120 "@@@STEP_LOG_LINE (a] python.inline@import socket@@@", 121 "@@@STEP_LOG_LINE (a] python.inline@import sys@@@", 122 "@@@STEP_LOG_LINE (a] python.inline@import time@@@", 123 "@@@STEP_LOG_LINE (a] python.inline@import urllib2@@@", 124 "@@@STEP_LOG_LINE (a] python.inline@@@@", 125 "@@@STEP_LOG_LINE (a] python.inline@HASHES_URL = 'https://storage.googleapis.com/skia-infra-gm/hash_files/gold-prod-hashes.txt'@@@", 126 "@@@STEP_LOG_LINE (a] python.inline@RETRIES = 5@@@", 127 "@@@STEP_LOG_LINE (a] python.inline@TIMEOUT = 60@@@", 128 "@@@STEP_LOG_LINE (a] python.inline@WAIT_BASE = 15@@@", 129 "@@@STEP_LOG_LINE (a] python.inline@@@@", 130 "@@@STEP_LOG_LINE (a] python.inline@socket.setdefaulttimeout(TIMEOUT)@@@", 131 "@@@STEP_LOG_LINE (a] python.inline@for retry in range(RETRIES):@@@", 132 "@@@STEP_LOG_LINE (a] python.inline@ try:@@@", 133 "@@@STEP_LOG_LINE (a] python.inline@ with contextlib.closing(@@@", 134 "@@@STEP_LOG_LINE (a] python.inline@ urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w:@@@", 135 "@@@STEP_LOG_LINE (a] python.inline@ hashes = w.read()@@@", 136 "@@@STEP_LOG_LINE (a] python.inline@ with open(sys.argv[1], 'w') as f:@@@", 137 "@@@STEP_LOG_LINE (a] python.inline@ f.write(hashes)@@@", 138 "@@@STEP_LOG_LINE (a] python.inline@ break@@@", 139 "@@@STEP_LOG_LINE (a] python.inline@ except Exception as e:@@@", 140 "@@@STEP_LOG_LINE (a] python.inline@ print 'Failed to get uninteresting hashes from %s:' % HASHES_URL@@@", 141 "@@@STEP_LOG_LINE (a] python.inline@ print e@@@", 142 "@@@STEP_LOG_LINE (a] python.inline@ if retry == RETRIES:@@@", 143 "@@@STEP_LOG_LINE (a] python.inline@ raise@@@", 144 "@@@STEP_LOG_LINE (a] python.inline@ waittime = WAIT_BASE * math.pow(2, retry)@@@", 145 "@@@STEP_LOG_LINE (a] python.inline@ print 'Retry in %d seconds.' % waittime@@@", 146 "@@@STEP_LOG_LINE (a] python.inline@ time.sleep(waittime)@@@", 147 "@@@STEP_LOG_END (a] python.inline@@@" 148 ] 149 }, 150 { 151 "cmd": [ 152 "python", 153 "-u", 154 "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n" 155 ], 156 "name": "get swarming bot id", 157 "stdout": "/path/to/tmp/", 158 "~followup_annotations": [ 159 "@@@STEP_LOG_LINE (a] python.inline@import os@@@", 160 "@@@STEP_LOG_LINE (a] python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@", 161 "@@@STEP_LOG_END (a] python.inline@@@" 162 ] 163 }, 164 { 165 "cmd": [ 166 "python", 167 "-u", 168 "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n" 169 ], 170 "name": "get swarming task id", 171 "stdout": "/path/to/tmp/", 172 "~followup_annotations": [ 173 "@@@STEP_LOG_LINE (a] python.inline@import os@@@", 174 "@@@STEP_LOG_LINE (a] python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@", 175 "@@@STEP_LOG_END (a] python.inline@@@" 176 ] 177 }, 178 { 179 "cmd": [ 180 "[START_DIR]\\out\\Debug_x64\\dm", 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 "builder", 194 "Test-Win10-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Debug-All-Vulkan", 195 "buildbucket_build_id", 196 "123454321", 197 "swarming_bot_id", 198 "skia-bot-123", 199 "swarming_task_id", 200 "123456", 201 "--svgs", 202 "[START_DIR]\\svg", 203 "--key", 204 "arch", 205 "x86_64", 206 "compiler", 207 "Clang", 208 "configuration", 209 "Debug", 210 "cpu_or_gpu", 211 "GPU", 212 "cpu_or_gpu_value", 213 "IntelIris540", 214 "extra_config", 215 "Vulkan", 216 "model", 217 "NUC6i5SYK", 218 "os", 219 "Win10", 220 "--uninterestingHashesFile", 221 "[START_DIR]\\tmp\\uninteresting_hashes.txt", 222 "--writePath", 223 "[CUSTOM_[SWARM_OUT_DIR]]\\dm", 224 "--dont_write", 225 "pdf", 226 "--randomProcessorTest", 227 "--nocpu", 228 "--config", 229 "vk", 230 "--src", 231 "tests", 232 "gm", 233 "image", 234 "colorImage", 235 "svg", 236 "--blacklist", 237 "_", 238 "svg", 239 "_", 240 "svgparse_", 241 "_", 242 "image", 243 "gen_platf", 244 "pal8os2v2.bmp", 245 "_", 246 "image", 247 "gen_platf", 248 "pal8os2v2-16.bmp", 249 "_", 250 "image", 251 "gen_platf", 252 "rgba32abf.bmp", 253 "_", 254 "image", 255 "gen_platf", 256 "rgb24prof.bmp", 257 "_", 258 "image", 259 "gen_platf", 260 "rgb24lprof.bmp", 261 "_", 262 "image", 263 "gen_platf", 264 "8bpp-pixeldata-cropped.bmp", 265 "_", 266 "image", 267 "gen_platf", 268 "4bpp-pixeldata-cropped.bmp", 269 "_", 270 "image", 271 "gen_platf", 272 "32bpp-pixeldata-cropped.bmp", 273 "_", 274 "image", 275 "gen_platf", 276 "24bpp-pixeldata-cropped.bmp", 277 "_", 278 "image", 279 "gen_platf", 280 "testimgari.jpg", 281 "_", 282 "image", 283 "gen_platf", 284 "rle8-height-negative.bmp", 285 "_", 286 "image", 287 "gen_platf", 288 "rle4-height-negative.bmp", 289 "_", 290 "image", 291 "_", 292 "interlaced1.png", 293 "_", 294 "image", 295 "_", 296 "interlaced2.png", 297 "_", 298 "image", 299 "_", 300 "interlaced3.png", 301 "_", 302 "image", 303 "_", 304 ".arw", 305 "_", 306 "image", 307 "_", 308 ".cr2", 309 "_", 310 "image", 311 "_", 312 ".dng", 313 "_", 314 "image", 315 "_", 316 ".nef", 317 "_", 318 "image", 319 "_", 320 ".nrw", 321 "_", 322 "image", 323 "_", 324 ".orf", 325 "_", 326 "image", 327 "_", 328 ".raf", 329 "_", 330 "image", 331 "_", 332 ".rw2", 333 "_", 334 "image", 335 "_", 336 ".pef", 337 "_", 338 "image", 339 "_", 340 ".srw", 341 "_", 342 "image", 343 "_", 344 ".ARW", 345 "_", 346 "image", 347 "_", 348 ".CR2", 349 "_", 350 "image", 351 "_", 352 ".DNG", 353 "_", 354 "image", 355 "_", 356 ".NEF", 357 "_", 358 "image", 359 "_", 360 ".NRW", 361 "_", 362 "image", 363 "_", 364 ".ORF", 365 "_", 366 "image", 367 "_", 368 ".RAF", 369 "_", 370 "image", 371 "_", 372 ".RW2", 373 "_", 374 "image", 375 "_", 376 ".PEF", 377 "_", 378 "image", 379 "_", 380 ".SRW", 381 "vk", 382 "gm", 383 "_", 384 "aarectmodes", 385 "vk", 386 "gm", 387 "_", 388 "aaxfermodes", 389 "vk", 390 "gm", 391 "_", 392 "arithmode", 393 "vk", 394 "gm", 395 "_", 396 "composeshader", 397 "vk", 398 "gm", 399 "_", 400 "composeshader_alpha", 401 "vk", 402 "gm", 403 "_", 404 "composeshader_bitmap", 405 "vk", 406 "gm", 407 "_", 408 "composeshader_bitmap2", 409 "vk", 410 "gm", 411 "_", 412 "dont_clip_to_layer", 413 "vk", 414 "gm", 415 "_", 416 "dftext", 417 "vk", 418 "gm", 419 "_", 420 "drawregionmodes", 421 "vk", 422 "gm", 423 "_", 424 "filterfastbounds", 425 "vk", 426 "gm", 427 "_", 428 "fontcache", 429 "vk", 430 "gm", 431 "_", 432 "fontmgr_iter", 433 "vk", 434 "gm", 435 "_", 436 "fontmgr_iter_factory", 437 "vk", 438 "gm", 439 "_", 440 "fontmgr_match", 441 "vk", 442 "gm", 443 "_", 444 "fontscaler", 445 "vk", 446 "gm", 447 "_", 448 "fontscalerdistortable", 449 "vk", 450 "gm", 451 "_", 452 "gammagradienttext", 453 "vk", 454 "gm", 455 "_", 456 "gammatext", 457 "vk", 458 "gm", 459 "_", 460 "gradtext", 461 "vk", 462 "gm", 463 "_", 464 "hairmodes", 465 "vk", 466 "gm", 467 "_", 468 "imagefilters_xfermodes", 469 "vk", 470 "gm", 471 "_", 472 "imagefiltersclipped", 473 "vk", 474 "gm", 475 "_", 476 "imagefiltersgraph", 477 "vk", 478 "gm", 479 "_", 480 "imagefiltersscaled", 481 "vk", 482 "gm", 483 "_", 484 "imagefiltersstroked", 485 "vk", 486 "gm", 487 "_", 488 "imagefilterstransformed", 489 "vk", 490 "gm", 491 "_", 492 "imageresizetiled", 493 "vk", 494 "gm", 495 "_", 496 "lcdblendmodes", 497 "vk", 498 "gm", 499 "_", 500 "lcdoverlap", 501 "vk", 502 "gm", 503 "_", 504 "lcdtext", 505 "vk", 506 "gm", 507 "_", 508 "lcdtextsize", 509 "vk", 510 "gm", 511 "_", 512 "matriximagefilter", 513 "vk", 514 "gm", 515 "_", 516 "mixedtextblobs", 517 "vk", 518 "gm", 519 "_", 520 "mixershader", 521 "vk", 522 "gm", 523 "_", 524 "pictureimagefilter", 525 "vk", 526 "gm", 527 "_", 528 "resizeimagefilter", 529 "vk", 530 "gm", 531 "_", 532 "rotate_imagefilter", 533 "vk", 534 "gm", 535 "_", 536 "savelayer_lcdtext", 537 "vk", 538 "gm", 539 "_", 540 "shadermaskfilter_image", 541 "vk", 542 "gm", 543 "_", 544 "srcmode", 545 "vk", 546 "gm", 547 "_", 548 "surfaceprops", 549 "vk", 550 "gm", 551 "_", 552 "textblobgeometrychange", 553 "vk", 554 "gm", 555 "_", 556 "textbloblooper", 557 "vk", 558 "gm", 559 "_", 560 "textblobmixedsizes", 561 "vk", 562 "gm", 563 "_", 564 "textblobmixedsizes_df", 565 "vk", 566 "gm", 567 "_", 568 "textblobrandomfont", 569 "vk", 570 "gm", 571 "_", 572 "textfilter_color", 573 "vk", 574 "gm", 575 "_", 576 "textfilter_image", 577 "vk", 578 "gm", 579 "_", 580 "typefacerendering", 581 "vk", 582 "gm", 583 "_", 584 "varied_text_clipped_lcd", 585 "vk", 586 "gm", 587 "_", 588 "varied_text_ignorable_clip_lcd", 589 "vk", 590 "gm", 591 "_", 592 "xfermodeimagefilter", 593 "--match", 594 "~ApplyGamma", 595 "~ComposedImageFilterBounds_Gpu", 596 "~GrMeshTest", 597 "~ImageFilterFailAffectsTransparentBlack_Gpu", 598 "~ImageFilterZeroBlurSigma_Gpu", 599 "~ImageNewShader_GPU", 600 "~NewTextureFromPixmap", 601 "~ReadPixels_Gpu", 602 "~ReadPixels_Texture", 603 "~ReadWriteAlpha", 604 "~skbug6653", 605 "~SRGBReadWritePixels", 606 "~SpecialImage_DeferredGpu", 607 "~SpecialImage_Gpu", 608 "~WritePixels_Gpu", 609 "~WritePixelsMSAA_Gpu", 610 "~WritePixelsNonTexture_Gpu", 611 "~WritePixelsNonTextureMSAA_Gpu", 612 "~XfermodeImageFilterCroppedInput_Gpu", 613 "~GrDefaultPathRendererTest", 614 "~GrMSAAPathRendererTest", 615 "~SkImage_makeNonTextureImage", 616 "--nonativeFonts", 617 "--verbose" 618 ], 619 "env": { 620 "BUILDTYPE": "Debug_x64", 621 "CHROME_HEADLESS": "1", 622 "PATH": "<PATH>;RECIPE_PACKAGE_REPO[depot_tools]", 623 "SKIA_OUT": "[START_DIR]\\out" 624 }, 625 "name": "dm" 626 }, 627 { 628 "name": "$result", 629 "recipe_result": null, 630 "status_code": 0 631 } 632 ]