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 "rmtree", 94 "[CUSTOM_[SWARM_OUT_DIR]]/dm" 95 ], 96 "infra_step": true, 97 "name": "rmtree dm" 98 }, 99 { 100 "cmd": [ 101 "python", 102 "-u", 103 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 104 "--json-output", 105 "/path/to/tmp/json", 106 "ensure-directory", 107 "--mode", 108 "0777", 109 "[CUSTOM_[SWARM_OUT_DIR]]/dm" 110 ], 111 "infra_step": true, 112 "name": "makedirs dm" 113 }, 114 { 115 "cmd": [ 116 "python", 117 "-u", 118 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 119 "--json-output", 120 "/path/to/tmp/json", 121 "ensure-directory", 122 "--mode", 123 "0777", 124 "[START_DIR]/tmp" 125 ], 126 "infra_step": true, 127 "name": "makedirs tmp_dir" 128 }, 129 { 130 "cmd": [ 131 "python", 132 "-u", 133 "\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", 134 "[START_DIR]/tmp/uninteresting_hashes.txt" 135 ], 136 "env": { 137 "BUILDTYPE": "Debug", 138 "CHROME_HEADLESS": "1", 139 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 140 "SKIA_OUT": "[START_DIR]/out" 141 }, 142 "infra_step": true, 143 "name": "get uninteresting hashes", 144 "~followup_annotations": [ 145 "@@@STEP_LOG_LINE (a] python.inline@@@@", 146 "@@@STEP_LOG_LINE (a] python.inline@import contextlib@@@", 147 "@@@STEP_LOG_LINE (a] python.inline@import math@@@", 148 "@@@STEP_LOG_LINE (a] python.inline@import socket@@@", 149 "@@@STEP_LOG_LINE (a] python.inline@import sys@@@", 150 "@@@STEP_LOG_LINE (a] python.inline@import time@@@", 151 "@@@STEP_LOG_LINE (a] python.inline@import urllib2@@@", 152 "@@@STEP_LOG_LINE (a] python.inline@@@@", 153 "@@@STEP_LOG_LINE (a] python.inline@HASHES_URL = 'https://storage.googleapis.com/skia-infra-gm/hash_files/gold-prod-hashes.txt'@@@", 154 "@@@STEP_LOG_LINE (a] python.inline@RETRIES = 5@@@", 155 "@@@STEP_LOG_LINE (a] python.inline@TIMEOUT = 60@@@", 156 "@@@STEP_LOG_LINE (a] python.inline@WAIT_BASE = 15@@@", 157 "@@@STEP_LOG_LINE (a] python.inline@@@@", 158 "@@@STEP_LOG_LINE (a] python.inline@socket.setdefaulttimeout(TIMEOUT)@@@", 159 "@@@STEP_LOG_LINE (a] python.inline@for retry in range(RETRIES):@@@", 160 "@@@STEP_LOG_LINE (a] python.inline@ try:@@@", 161 "@@@STEP_LOG_LINE (a] python.inline@ with contextlib.closing(@@@", 162 "@@@STEP_LOG_LINE (a] python.inline@ urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w:@@@", 163 "@@@STEP_LOG_LINE (a] python.inline@ hashes = w.read()@@@", 164 "@@@STEP_LOG_LINE (a] python.inline@ with open(sys.argv[1], 'w') as f:@@@", 165 "@@@STEP_LOG_LINE (a] python.inline@ f.write(hashes)@@@", 166 "@@@STEP_LOG_LINE (a] python.inline@ break@@@", 167 "@@@STEP_LOG_LINE (a] python.inline@ except Exception as e:@@@", 168 "@@@STEP_LOG_LINE (a] python.inline@ print 'Failed to get uninteresting hashes from %s:' % HASHES_URL@@@", 169 "@@@STEP_LOG_LINE (a] python.inline@ print e@@@", 170 "@@@STEP_LOG_LINE (a] python.inline@ if retry == RETRIES:@@@", 171 "@@@STEP_LOG_LINE (a] python.inline@ raise@@@", 172 "@@@STEP_LOG_LINE (a] python.inline@ waittime = WAIT_BASE * math.pow(2, retry)@@@", 173 "@@@STEP_LOG_LINE (a] python.inline@ print 'Retry in %d seconds.' % waittime@@@", 174 "@@@STEP_LOG_LINE (a] python.inline@ time.sleep(waittime)@@@", 175 "@@@STEP_LOG_END (a] python.inline@@@" 176 ] 177 }, 178 { 179 "cmd": [ 180 "python", 181 "-u", 182 "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n" 183 ], 184 "name": "get swarming bot id", 185 "stdout": "/path/to/tmp/", 186 "~followup_annotations": [ 187 "@@@STEP_LOG_LINE (a] python.inline@import os@@@", 188 "@@@STEP_LOG_LINE (a] python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@", 189 "@@@STEP_LOG_END (a] python.inline@@@" 190 ] 191 }, 192 { 193 "cmd": [ 194 "python", 195 "-u", 196 "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n" 197 ], 198 "name": "get swarming task id", 199 "stdout": "/path/to/tmp/", 200 "~followup_annotations": [ 201 "@@@STEP_LOG_LINE (a] python.inline@import os@@@", 202 "@@@STEP_LOG_LINE (a] python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@", 203 "@@@STEP_LOG_END (a] python.inline@@@" 204 ] 205 }, 206 { 207 "cmd": [ 208 "python", 209 "-u", 210 "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py", 211 "[START_DIR]", 212 "catchsegv", 213 "[START_DIR]/out/Debug/dm", 214 "--undefok", 215 "--resourcePath", 216 "[START_DIR]/skia/resources", 217 "--skps", 218 "[START_DIR]/skp", 219 "--images", 220 "[START_DIR]/skimage/dm", 221 "--colorImages", 222 "[START_DIR]/skimage/colorspace", 223 "--nameByHash", 224 "--properties", 225 "gitHash", 226 "abc123", 227 "builder", 228 "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-SK_USE_DISCARDABLE_SCALEDIMAGECACHE", 229 "swarming_bot_id", 230 "skia-bot-123", 231 "swarming_task_id", 232 "123456", 233 "--svgs", 234 "[START_DIR]/svg", 235 "--key", 236 "arch", 237 "x86_64", 238 "compiler", 239 "GCC", 240 "configuration", 241 "Debug", 242 "cpu_or_gpu", 243 "CPU", 244 "cpu_or_gpu_value", 245 "AVX2", 246 "extra_config", 247 "SK_USE_DISCARDABLE_SCALEDIMAGECACHE", 248 "model", 249 "GCE", 250 "os", 251 "Ubuntu", 252 "--uninterestingHashesFile", 253 "[START_DIR]/tmp/uninteresting_hashes.txt", 254 "--writePath", 255 "[CUSTOM_[SWARM_OUT_DIR]]/dm", 256 "--nogpu", 257 "--randomProcessorTest", 258 "--threads", 259 "0", 260 "--config", 261 "8888", 262 "srgb", 263 "pdf", 264 "gl", 265 "gldft", 266 "glsrgb", 267 "glmsaa8", 268 "565", 269 "f16", 270 "sp-8888", 271 "2ndpic-8888", 272 "lite-8888", 273 "gbr-8888", 274 "serialize-8888", 275 "tiles_rt-8888", 276 "pic-8888", 277 "--src", 278 "tests", 279 "gm", 280 "image", 281 "colorImage", 282 "svg", 283 "--blacklist", 284 "f16", 285 "_", 286 "_", 287 "dstreadshuffle", 288 "glsrgb", 289 "image", 290 "_", 291 "_", 292 "gbr-8888", 293 "image", 294 "_", 295 "_", 296 "gbr-8888", 297 "colorImage", 298 "_", 299 "_", 300 "serialize-8888", 301 "gm", 302 "_", 303 "bleed_image", 304 "serialize-8888", 305 "gm", 306 "_", 307 "c_gms", 308 "serialize-8888", 309 "gm", 310 "_", 311 "colortype", 312 "serialize-8888", 313 "gm", 314 "_", 315 "colortype_xfermodes", 316 "serialize-8888", 317 "gm", 318 "_", 319 "drawfilter", 320 "serialize-8888", 321 "gm", 322 "_", 323 "fontmgr_bounds_0.75_0", 324 "serialize-8888", 325 "gm", 326 "_", 327 "fontmgr_bounds_1_-0.25", 328 "serialize-8888", 329 "gm", 330 "_", 331 "fontmgr_bounds", 332 "serialize-8888", 333 "gm", 334 "_", 335 "fontmgr_match", 336 "serialize-8888", 337 "gm", 338 "_", 339 "fontmgr_iter", 340 "serialize-8888", 341 "gm", 342 "_", 343 "imagemasksubset", 344 "serialize-8888", 345 "gm", 346 "_", 347 "bitmapfilters", 348 "serialize-8888", 349 "gm", 350 "_", 351 "bitmapshaders", 352 "serialize-8888", 353 "gm", 354 "_", 355 "bleed", 356 "serialize-8888", 357 "gm", 358 "_", 359 "bleed_alpha_bmp", 360 "serialize-8888", 361 "gm", 362 "_", 363 "bleed_alpha_bmp_shader", 364 "serialize-8888", 365 "gm", 366 "_", 367 "convex_poly_clip", 368 "serialize-8888", 369 "gm", 370 "_", 371 "extractalpha", 372 "serialize-8888", 373 "gm", 374 "_", 375 "filterbitmap_checkerboard_32_32_g8", 376 "serialize-8888", 377 "gm", 378 "_", 379 "filterbitmap_image_mandrill_64", 380 "serialize-8888", 381 "gm", 382 "_", 383 "shadows", 384 "serialize-8888", 385 "gm", 386 "_", 387 "simpleaaclip_aaclip", 388 "serialize-8888", 389 "gm", 390 "_", 391 "composeshader_bitmap", 392 "serialize-8888", 393 "gm", 394 "_", 395 "scaled_tilemodes_npot", 396 "serialize-8888", 397 "gm", 398 "_", 399 "scaled_tilemodes", 400 "serialize-8888", 401 "gm", 402 "_", 403 "typefacerendering_pfaMac", 404 "serialize-8888", 405 "gm", 406 "_", 407 "parsedpaths", 408 "serialize-8888", 409 "gm", 410 "_", 411 "ImageGeneratorExternal_rect", 412 "serialize-8888", 413 "gm", 414 "_", 415 "ImageGeneratorExternal_shader", 416 "serialize-8888", 417 "gm", 418 "_", 419 "shadow_utils", 420 "serialize-8888", 421 "gm", 422 "_", 423 "makecolorspace", 424 "serialize-8888", 425 "gm", 426 "_", 427 "bleed_alpha_image", 428 "serialize-8888", 429 "gm", 430 "_", 431 "bleed_alpha_image_shader", 432 "sp-8888", 433 "gm", 434 "_", 435 "drawfilter", 436 "pic-8888", 437 "gm", 438 "_", 439 "drawfilter", 440 "2ndpic-8888", 441 "gm", 442 "_", 443 "drawfilter", 444 "lite-8888", 445 "gm", 446 "_", 447 "drawfilter", 448 "sp-8888", 449 "gm", 450 "_", 451 "image-cacherator-from-picture", 452 "pic-8888", 453 "gm", 454 "_", 455 "image-cacherator-from-picture", 456 "2ndpic-8888", 457 "gm", 458 "_", 459 "image-cacherator-from-picture", 460 "serialize-8888", 461 "gm", 462 "_", 463 "image-cacherator-from-picture", 464 "sp-8888", 465 "gm", 466 "_", 467 "image-cacherator-from-raster", 468 "pic-8888", 469 "gm", 470 "_", 471 "image-cacherator-from-raster", 472 "2ndpic-8888", 473 "gm", 474 "_", 475 "image-cacherator-from-raster", 476 "serialize-8888", 477 "gm", 478 "_", 479 "image-cacherator-from-raster", 480 "sp-8888", 481 "gm", 482 "_", 483 "image-cacherator-from-ctable", 484 "pic-8888", 485 "gm", 486 "_", 487 "image-cacherator-from-ctable", 488 "2ndpic-8888", 489 "gm", 490 "_", 491 "image-cacherator-from-ctable", 492 "serialize-8888", 493 "gm", 494 "_", 495 "image-cacherator-from-ctable", 496 "sp-8888", 497 "gm", 498 "_", 499 "gamut", 500 "pic-8888", 501 "gm", 502 "_", 503 "gamut", 504 "lite-8888", 505 "gm", 506 "_", 507 "gamut", 508 "2ndpic-8888", 509 "gm", 510 "_", 511 "gamut", 512 "serialize-8888", 513 "gm", 514 "_", 515 "gamut", 516 "sp-8888", 517 "gm", 518 "_", 519 "complexclip4_bw", 520 "pic-8888", 521 "gm", 522 "_", 523 "complexclip4_bw", 524 "lite-8888", 525 "gm", 526 "_", 527 "complexclip4_bw", 528 "2ndpic-8888", 529 "gm", 530 "_", 531 "complexclip4_bw", 532 "serialize-8888", 533 "gm", 534 "_", 535 "complexclip4_bw", 536 "sp-8888", 537 "gm", 538 "_", 539 "complexclip4_aa", 540 "pic-8888", 541 "gm", 542 "_", 543 "complexclip4_aa", 544 "lite-8888", 545 "gm", 546 "_", 547 "complexclip4_aa", 548 "2ndpic-8888", 549 "gm", 550 "_", 551 "complexclip4_aa", 552 "serialize-8888", 553 "gm", 554 "_", 555 "complexclip4_aa", 556 "tiles_rt-8888", 557 "gm", 558 "_", 559 "complexclip4_bw", 560 "tiles_rt-8888", 561 "gm", 562 "_", 563 "complexclip4_aa" 564 ], 565 "cwd": "[START_DIR]/skia", 566 "env": { 567 "BUILDTYPE": "Debug", 568 "CHROME_HEADLESS": "1", 569 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 570 "SKIA_OUT": "[START_DIR]/out" 571 }, 572 "name": "symbolized dm" 573 }, 574 { 575 "name": "$result", 576 "recipe_result": null, 577 "status_code": 0 578 } 579 ]