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-Debug", 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", 238 "compiler", 239 "GCC", 240 "configuration", 241 "Debug", 242 "cpu_or_gpu", 243 "CPU", 244 "cpu_or_gpu_value", 245 "AVX2", 246 "model", 247 "GCE", 248 "os", 249 "Ubuntu", 250 "--uninterestingHashesFile", 251 "[START_DIR]/tmp/uninteresting_hashes.txt", 252 "--writePath", 253 "[CUSTOM_[SWARM_OUT_DIR]]/dm", 254 "--nogpu", 255 "--randomProcessorTest", 256 "--threads", 257 "4", 258 "--config", 259 "8888", 260 "srgb", 261 "pdf", 262 "gl", 263 "gldft", 264 "glsrgb", 265 "glmsaa8", 266 "565", 267 "f16", 268 "sp-8888", 269 "2ndpic-8888", 270 "lite-8888", 271 "gbr-8888", 272 "serialize-8888", 273 "tiles_rt-8888", 274 "pic-8888", 275 "--src", 276 "tests", 277 "gm", 278 "image", 279 "colorImage", 280 "svg", 281 "--blacklist", 282 "f16", 283 "_", 284 "_", 285 "dstreadshuffle", 286 "glsrgb", 287 "image", 288 "_", 289 "_", 290 "gbr-8888", 291 "image", 292 "_", 293 "_", 294 "gbr-8888", 295 "colorImage", 296 "_", 297 "_", 298 "serialize-8888", 299 "gm", 300 "_", 301 "bleed_image", 302 "serialize-8888", 303 "gm", 304 "_", 305 "c_gms", 306 "serialize-8888", 307 "gm", 308 "_", 309 "colortype", 310 "serialize-8888", 311 "gm", 312 "_", 313 "colortype_xfermodes", 314 "serialize-8888", 315 "gm", 316 "_", 317 "drawfilter", 318 "serialize-8888", 319 "gm", 320 "_", 321 "fontmgr_bounds_0.75_0", 322 "serialize-8888", 323 "gm", 324 "_", 325 "fontmgr_bounds_1_-0.25", 326 "serialize-8888", 327 "gm", 328 "_", 329 "fontmgr_bounds", 330 "serialize-8888", 331 "gm", 332 "_", 333 "fontmgr_match", 334 "serialize-8888", 335 "gm", 336 "_", 337 "fontmgr_iter", 338 "serialize-8888", 339 "gm", 340 "_", 341 "imagemasksubset", 342 "serialize-8888", 343 "gm", 344 "_", 345 "bitmapfilters", 346 "serialize-8888", 347 "gm", 348 "_", 349 "bitmapshaders", 350 "serialize-8888", 351 "gm", 352 "_", 353 "bleed", 354 "serialize-8888", 355 "gm", 356 "_", 357 "bleed_alpha_bmp", 358 "serialize-8888", 359 "gm", 360 "_", 361 "bleed_alpha_bmp_shader", 362 "serialize-8888", 363 "gm", 364 "_", 365 "convex_poly_clip", 366 "serialize-8888", 367 "gm", 368 "_", 369 "extractalpha", 370 "serialize-8888", 371 "gm", 372 "_", 373 "filterbitmap_checkerboard_32_32_g8", 374 "serialize-8888", 375 "gm", 376 "_", 377 "filterbitmap_image_mandrill_64", 378 "serialize-8888", 379 "gm", 380 "_", 381 "shadows", 382 "serialize-8888", 383 "gm", 384 "_", 385 "simpleaaclip_aaclip", 386 "serialize-8888", 387 "gm", 388 "_", 389 "composeshader_bitmap", 390 "serialize-8888", 391 "gm", 392 "_", 393 "scaled_tilemodes_npot", 394 "serialize-8888", 395 "gm", 396 "_", 397 "scaled_tilemodes", 398 "serialize-8888", 399 "gm", 400 "_", 401 "typefacerendering_pfaMac", 402 "serialize-8888", 403 "gm", 404 "_", 405 "parsedpaths", 406 "serialize-8888", 407 "gm", 408 "_", 409 "ImageGeneratorExternal_rect", 410 "serialize-8888", 411 "gm", 412 "_", 413 "ImageGeneratorExternal_shader", 414 "serialize-8888", 415 "gm", 416 "_", 417 "shadow_utils", 418 "serialize-8888", 419 "gm", 420 "_", 421 "makecolorspace", 422 "serialize-8888", 423 "gm", 424 "_", 425 "bleed_alpha_image", 426 "serialize-8888", 427 "gm", 428 "_", 429 "bleed_alpha_image_shader", 430 "sp-8888", 431 "gm", 432 "_", 433 "drawfilter", 434 "pic-8888", 435 "gm", 436 "_", 437 "drawfilter", 438 "2ndpic-8888", 439 "gm", 440 "_", 441 "drawfilter", 442 "lite-8888", 443 "gm", 444 "_", 445 "drawfilter", 446 "sp-8888", 447 "gm", 448 "_", 449 "image-cacherator-from-picture", 450 "pic-8888", 451 "gm", 452 "_", 453 "image-cacherator-from-picture", 454 "2ndpic-8888", 455 "gm", 456 "_", 457 "image-cacherator-from-picture", 458 "serialize-8888", 459 "gm", 460 "_", 461 "image-cacherator-from-picture", 462 "sp-8888", 463 "gm", 464 "_", 465 "image-cacherator-from-raster", 466 "pic-8888", 467 "gm", 468 "_", 469 "image-cacherator-from-raster", 470 "2ndpic-8888", 471 "gm", 472 "_", 473 "image-cacherator-from-raster", 474 "serialize-8888", 475 "gm", 476 "_", 477 "image-cacherator-from-raster", 478 "sp-8888", 479 "gm", 480 "_", 481 "image-cacherator-from-ctable", 482 "pic-8888", 483 "gm", 484 "_", 485 "image-cacherator-from-ctable", 486 "2ndpic-8888", 487 "gm", 488 "_", 489 "image-cacherator-from-ctable", 490 "serialize-8888", 491 "gm", 492 "_", 493 "image-cacherator-from-ctable", 494 "sp-8888", 495 "gm", 496 "_", 497 "gamut", 498 "pic-8888", 499 "gm", 500 "_", 501 "gamut", 502 "lite-8888", 503 "gm", 504 "_", 505 "gamut", 506 "2ndpic-8888", 507 "gm", 508 "_", 509 "gamut", 510 "serialize-8888", 511 "gm", 512 "_", 513 "gamut", 514 "sp-8888", 515 "gm", 516 "_", 517 "complexclip4_bw", 518 "pic-8888", 519 "gm", 520 "_", 521 "complexclip4_bw", 522 "lite-8888", 523 "gm", 524 "_", 525 "complexclip4_bw", 526 "2ndpic-8888", 527 "gm", 528 "_", 529 "complexclip4_bw", 530 "serialize-8888", 531 "gm", 532 "_", 533 "complexclip4_bw", 534 "sp-8888", 535 "gm", 536 "_", 537 "complexclip4_aa", 538 "pic-8888", 539 "gm", 540 "_", 541 "complexclip4_aa", 542 "lite-8888", 543 "gm", 544 "_", 545 "complexclip4_aa", 546 "2ndpic-8888", 547 "gm", 548 "_", 549 "complexclip4_aa", 550 "serialize-8888", 551 "gm", 552 "_", 553 "complexclip4_aa", 554 "tiles_rt-8888", 555 "gm", 556 "_", 557 "complexclip4_bw", 558 "tiles_rt-8888", 559 "gm", 560 "_", 561 "complexclip4_aa" 562 ], 563 "cwd": "[START_DIR]/skia", 564 "env": { 565 "BUILDTYPE": "Debug", 566 "CHROME_HEADLESS": "1", 567 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 568 "SKIA_OUT": "[START_DIR]/out" 569 }, 570 "name": "symbolized dm" 571 }, 572 { 573 "name": "$result", 574 "recipe_result": null, 575 "status_code": 0 576 } 577 ]