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 "ensure-directory", 10 "--mode", 11 "0777", 12 "[START_DIR]/tmp" 13 ], 14 "infra_step": true, 15 "name": "makedirs tmp_dir" 16 }, 17 { 18 "cmd": [ 19 "python", 20 "-u", 21 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 22 "--json-output", 23 "/path/to/tmp/json", 24 "copy", 25 "[START_DIR]/skia/infra/bots/assets/skp/VERSION", 26 "/path/to/tmp/" 27 ], 28 "infra_step": true, 29 "name": "Get skp VERSION" 30 }, 31 { 32 "cmd": [ 33 "python", 34 "-u", 35 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 36 "--json-output", 37 "/path/to/tmp/json", 38 "copy", 39 "42", 40 "[START_DIR]/tmp/SKP_VERSION" 41 ], 42 "infra_step": true, 43 "name": "write SKP_VERSION" 44 }, 45 { 46 "cmd": [ 47 "python", 48 "-u", 49 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 50 "--json-output", 51 "/path/to/tmp/json", 52 "copy", 53 "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", 54 "/path/to/tmp/" 55 ], 56 "infra_step": true, 57 "name": "Get skimage VERSION" 58 }, 59 { 60 "cmd": [ 61 "python", 62 "-u", 63 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 64 "--json-output", 65 "/path/to/tmp/json", 66 "copy", 67 "42", 68 "[START_DIR]/tmp/SK_IMAGE_VERSION" 69 ], 70 "infra_step": true, 71 "name": "write SK_IMAGE_VERSION" 72 }, 73 { 74 "cmd": [ 75 "python", 76 "-u", 77 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 78 "--json-output", 79 "/path/to/tmp/json", 80 "copy", 81 "[START_DIR]/skia/infra/bots/assets/svg/VERSION", 82 "/path/to/tmp/" 83 ], 84 "infra_step": true, 85 "name": "Get svg VERSION" 86 }, 87 { 88 "cmd": [ 89 "python", 90 "-u", 91 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 92 "--json-output", 93 "/path/to/tmp/json", 94 "copy", 95 "42", 96 "[START_DIR]/tmp/SVG_VERSION" 97 ], 98 "infra_step": true, 99 "name": "write SVG_VERSION" 100 }, 101 { 102 "cmd": [ 103 "python", 104 "-u", 105 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 106 "--json-output", 107 "/path/to/tmp/json", 108 "rmtree", 109 "[START_DIR]/test" 110 ], 111 "infra_step": true, 112 "name": "rmtree test" 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]/test" 125 ], 126 "infra_step": true, 127 "name": "makedirs test" 128 }, 129 { 130 "cmd": [ 131 "python", 132 "-u", 133 "\nimport contextlib\nimport math\nimport socket\nimport sys\nimport time\nimport urllib2\n\nHASHES_URL = sys.argv[1]\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[2], '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 "https://example.com/hashes.txt", 135 "[START_DIR]/tmp/uninteresting_hashes.txt" 136 ], 137 "env": { 138 "CHROME_HEADLESS": "1", 139 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 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 = sys.argv[1]@@@", 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[2], '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 "python", 180 "-u", 181 "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n" 182 ], 183 "name": "get swarming bot id", 184 "stdout": "/path/to/tmp/", 185 "~followup_annotations": [ 186 "@@@STEP_LOG_LINE (a] python.inline@import os@@@", 187 "@@@STEP_LOG_LINE (a] python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@", 188 "@@@STEP_LOG_END (a] python.inline@@@" 189 ] 190 }, 191 { 192 "cmd": [ 193 "python", 194 "-u", 195 "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n" 196 ], 197 "name": "get swarming task id", 198 "stdout": "/path/to/tmp/", 199 "~followup_annotations": [ 200 "@@@STEP_LOG_LINE (a] python.inline@import os@@@", 201 "@@@STEP_LOG_LINE (a] python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@", 202 "@@@STEP_LOG_END (a] python.inline@@@" 203 ] 204 }, 205 { 206 "cmd": [ 207 "python", 208 "-u", 209 "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py", 210 "[START_DIR]", 211 "catchsegv", 212 "[START_DIR]/build/dm", 213 "--resourcePath", 214 "[START_DIR]/skia/resources", 215 "--skps", 216 "[START_DIR]/skp", 217 "--images", 218 "[START_DIR]/skimage/dm", 219 "--colorImages", 220 "[START_DIR]/skimage/colorspace", 221 "--nameByHash", 222 "--properties", 223 "gitHash", 224 "abc123", 225 "builder", 226 "Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All-BonusConfigs", 227 "buildbucket_build_id", 228 "123454321", 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 "Clang", 240 "configuration", 241 "Debug", 242 "cpu_or_gpu", 243 "CPU", 244 "cpu_or_gpu_value", 245 "AVX2", 246 "extra_config", 247 "BonusConfigs", 248 "model", 249 "GCE", 250 "os", 251 "Debian9", 252 "--uninterestingHashesFile", 253 "[START_DIR]/tmp/uninteresting_hashes.txt", 254 "--writePath", 255 "[START_DIR]/[SWARM_OUT_DIR]", 256 "--dont_write", 257 "pdf", 258 "--randomProcessorTest", 259 "--nogpu", 260 "--config", 261 "8888", 262 "pdf", 263 "g8", 264 "565", 265 "pic-8888", 266 "tiles_rt-8888", 267 "lite-8888", 268 "serialize-8888", 269 "gbr-8888", 270 "f16", 271 "srgb", 272 "esrgb", 273 "narrow", 274 "enarrow", 275 "p3", 276 "ep3", 277 "rec2020", 278 "erec2020", 279 "--src", 280 "tests", 281 "gm", 282 "image", 283 "colorImage", 284 "--blacklist", 285 "f16", 286 "_", 287 "_", 288 "dstreadshuffle", 289 "gbr-8888", 290 "image", 291 "_", 292 "_", 293 "gbr-8888", 294 "colorImage", 295 "_", 296 "_", 297 "g8", 298 "image", 299 "_", 300 "_", 301 "g8", 302 "colorImage", 303 "_", 304 "_", 305 "_", 306 "image", 307 "gen_platf", 308 "error", 309 "serialize-8888", 310 "gm", 311 "_", 312 "bleed_image", 313 "serialize-8888", 314 "gm", 315 "_", 316 "c_gms", 317 "serialize-8888", 318 "gm", 319 "_", 320 "colortype", 321 "serialize-8888", 322 "gm", 323 "_", 324 "colortype_xfermodes", 325 "serialize-8888", 326 "gm", 327 "_", 328 "drawfilter", 329 "serialize-8888", 330 "gm", 331 "_", 332 "fontmgr_bounds_0.75_0", 333 "serialize-8888", 334 "gm", 335 "_", 336 "fontmgr_bounds_1_-0.25", 337 "serialize-8888", 338 "gm", 339 "_", 340 "fontmgr_bounds", 341 "serialize-8888", 342 "gm", 343 "_", 344 "fontmgr_match", 345 "serialize-8888", 346 "gm", 347 "_", 348 "fontmgr_iter", 349 "serialize-8888", 350 "gm", 351 "_", 352 "imagemasksubset", 353 "serialize-8888", 354 "gm", 355 "_", 356 "bitmapfilters", 357 "serialize-8888", 358 "gm", 359 "_", 360 "bitmapshaders", 361 "serialize-8888", 362 "gm", 363 "_", 364 "bleed", 365 "serialize-8888", 366 "gm", 367 "_", 368 "bleed_alpha_bmp", 369 "serialize-8888", 370 "gm", 371 "_", 372 "bleed_alpha_bmp_shader", 373 "serialize-8888", 374 "gm", 375 "_", 376 "convex_poly_clip", 377 "serialize-8888", 378 "gm", 379 "_", 380 "extractalpha", 381 "serialize-8888", 382 "gm", 383 "_", 384 "filterbitmap_checkerboard_32_32_g8", 385 "serialize-8888", 386 "gm", 387 "_", 388 "filterbitmap_image_mandrill_64", 389 "serialize-8888", 390 "gm", 391 "_", 392 "shadows", 393 "serialize-8888", 394 "gm", 395 "_", 396 "simpleaaclip_aaclip", 397 "serialize-8888", 398 "gm", 399 "_", 400 "composeshader_bitmap", 401 "serialize-8888", 402 "gm", 403 "_", 404 "scaled_tilemodes_npot", 405 "serialize-8888", 406 "gm", 407 "_", 408 "scaled_tilemodes", 409 "serialize-8888", 410 "gm", 411 "_", 412 "typefacerendering_pfaMac", 413 "serialize-8888", 414 "gm", 415 "_", 416 "parsedpaths", 417 "serialize-8888", 418 "gm", 419 "_", 420 "ImageGeneratorExternal_rect", 421 "serialize-8888", 422 "gm", 423 "_", 424 "ImageGeneratorExternal_shader", 425 "serialize-8888", 426 "gm", 427 "_", 428 "shadow_utils", 429 "serialize-8888", 430 "gm", 431 "_", 432 "persp_images", 433 "serialize-8888", 434 "gm", 435 "_", 436 "all_bitmap_configs", 437 "serialize-8888", 438 "gm", 439 "_", 440 "makecolorspace", 441 "serialize-8888", 442 "gm", 443 "_", 444 "readpixels", 445 "serialize-8888", 446 "gm", 447 "_", 448 "draw_image_set_rect_to_rect", 449 "serialize-8888", 450 "gm", 451 "_", 452 "analytic_antialias_convex", 453 "serialize-8888", 454 "gm", 455 "_", 456 "bleed_alpha_image", 457 "serialize-8888", 458 "gm", 459 "_", 460 "bleed_alpha_image_shader", 461 "pic-8888", 462 "gm", 463 "_", 464 "drawfilter", 465 "lite-8888", 466 "gm", 467 "_", 468 "drawfilter", 469 "pic-8888", 470 "gm", 471 "_", 472 "image-cacherator-from-picture", 473 "serialize-8888", 474 "gm", 475 "_", 476 "image-cacherator-from-picture", 477 "pic-8888", 478 "gm", 479 "_", 480 "image-cacherator-from-raster", 481 "serialize-8888", 482 "gm", 483 "_", 484 "image-cacherator-from-raster", 485 "pic-8888", 486 "gm", 487 "_", 488 "image-cacherator-from-ctable", 489 "serialize-8888", 490 "gm", 491 "_", 492 "image-cacherator-from-ctable", 493 "pic-8888", 494 "gm", 495 "_", 496 "complexclip4_bw", 497 "lite-8888", 498 "gm", 499 "_", 500 "complexclip4_bw", 501 "serialize-8888", 502 "gm", 503 "_", 504 "complexclip4_bw", 505 "pic-8888", 506 "gm", 507 "_", 508 "complexclip4_aa", 509 "lite-8888", 510 "gm", 511 "_", 512 "complexclip4_aa", 513 "serialize-8888", 514 "gm", 515 "_", 516 "complexclip4_aa", 517 "pic-8888", 518 "gm", 519 "_", 520 "p3", 521 "lite-8888", 522 "gm", 523 "_", 524 "p3", 525 "serialize-8888", 526 "gm", 527 "_", 528 "p3", 529 "tiles_rt-8888", 530 "gm", 531 "_", 532 "complexclip4_bw", 533 "tiles_rt-8888", 534 "gm", 535 "_", 536 "complexclip4_aa", 537 "--nonativeFonts", 538 "--verbose" 539 ], 540 "cwd": "[START_DIR]/skia", 541 "env": { 542 "CHROME_HEADLESS": "1", 543 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 544 }, 545 "name": "symbolized dm" 546 }, 547 { 548 "jsonResult": null, 549 "name": "$result" 550 } 551 ]