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 "ios.py" 20 ], 21 "env": { 22 "CHROME_HEADLESS": "1", 23 "IOS_BUNDLE_ID": "com.google.dm", 24 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 25 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 26 }, 27 "infra_step": true, 28 "name": "setup_device" 29 }, 30 { 31 "cmd": [ 32 "ideviceinstaller", 33 "-i", 34 "[START_DIR]/build/dm.app" 35 ], 36 "env": { 37 "CHROME_HEADLESS": "1", 38 "IOS_BUNDLE_ID": "com.google.dm", 39 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 40 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 41 }, 42 "infra_step": true, 43 "name": "install_dm" 44 }, 45 { 46 "cmd": [ 47 "ideviceinstaller", 48 "-i", 49 "[START_DIR]/build/nanobench.app" 50 ], 51 "env": { 52 "CHROME_HEADLESS": "1", 53 "IOS_BUNDLE_ID": "com.google.dm", 54 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 55 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 56 }, 57 "infra_step": true, 58 "name": "install_nanobench" 59 }, 60 { 61 "cmd": [ 62 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_if_needed", 63 "[START_DIR]/skia/resources", 64 "resources" 65 ], 66 "env": { 67 "CHROME_HEADLESS": "1", 68 "IOS_BUNDLE_ID": "com.google.dm", 69 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 70 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 71 }, 72 "infra_step": true, 73 "name": "push_if_needed [START_DIR]/skia/resources" 74 }, 75 { 76 "cmd": [ 77 "python", 78 "-u", 79 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 80 "--json-output", 81 "/path/to/tmp/json", 82 "copy", 83 "[START_DIR]/skia/infra/bots/assets/skp/VERSION", 84 "/path/to/tmp/" 85 ], 86 "env": { 87 "IOS_BUNDLE_ID": "com.google.dm", 88 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice" 89 }, 90 "infra_step": true, 91 "name": "Get skp VERSION" 92 }, 93 { 94 "cmd": [ 95 "python", 96 "-u", 97 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 98 "--json-output", 99 "/path/to/tmp/json", 100 "copy", 101 "42", 102 "[START_DIR]/tmp/SKP_VERSION" 103 ], 104 "env": { 105 "IOS_BUNDLE_ID": "com.google.dm", 106 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice" 107 }, 108 "infra_step": true, 109 "name": "write SKP_VERSION" 110 }, 111 { 112 "cmd": [ 113 "[START_DIR]/skia/platform_tools/ios/bin/ios_cat_file", 114 "tmp/SKP_VERSION" 115 ], 116 "env": { 117 "CHROME_HEADLESS": "1", 118 "IOS_BUNDLE_ID": "com.google.dm", 119 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 120 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 121 }, 122 "infra_step": true, 123 "name": "cat_file tmp/SKP_VERSION", 124 "stdout": "/path/to/tmp/" 125 }, 126 { 127 "cmd": [ 128 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm", 129 "tmp/SKP_VERSION" 130 ], 131 "env": { 132 "CHROME_HEADLESS": "1", 133 "IOS_BUNDLE_ID": "com.google.dm", 134 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 135 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 136 }, 137 "infra_step": true, 138 "name": "rm tmp/SKP_VERSION" 139 }, 140 { 141 "cmd": [ 142 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm", 143 "skps" 144 ], 145 "env": { 146 "CHROME_HEADLESS": "1", 147 "IOS_BUNDLE_ID": "com.google.dm", 148 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 149 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 150 }, 151 "infra_step": true, 152 "name": "rm skps" 153 }, 154 { 155 "cmd": [ 156 "[START_DIR]/skia/platform_tools/ios/bin/ios_mkdir", 157 "skps" 158 ], 159 "env": { 160 "CHROME_HEADLESS": "1", 161 "IOS_BUNDLE_ID": "com.google.dm", 162 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 163 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 164 }, 165 "infra_step": true, 166 "name": "mkdir skps" 167 }, 168 { 169 "cmd": [ 170 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_if_needed", 171 "[START_DIR]/skp", 172 "skps" 173 ], 174 "env": { 175 "CHROME_HEADLESS": "1", 176 "IOS_BUNDLE_ID": "com.google.dm", 177 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 178 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 179 }, 180 "infra_step": true, 181 "name": "push_if_needed [START_DIR]/skp" 182 }, 183 { 184 "cmd": [ 185 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_file", 186 "[START_DIR]/tmp/SKP_VERSION", 187 "tmp/SKP_VERSION" 188 ], 189 "env": { 190 "CHROME_HEADLESS": "1", 191 "IOS_BUNDLE_ID": "com.google.dm", 192 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 193 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 194 }, 195 "infra_step": true, 196 "name": "push_file [START_DIR]/tmp/SKP_VERSION" 197 }, 198 { 199 "cmd": [ 200 "python", 201 "-u", 202 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 203 "--json-output", 204 "/path/to/tmp/json", 205 "copy", 206 "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", 207 "/path/to/tmp/" 208 ], 209 "env": { 210 "IOS_BUNDLE_ID": "com.google.dm", 211 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice" 212 }, 213 "infra_step": true, 214 "name": "Get skimage VERSION" 215 }, 216 { 217 "cmd": [ 218 "python", 219 "-u", 220 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 221 "--json-output", 222 "/path/to/tmp/json", 223 "copy", 224 "42", 225 "[START_DIR]/tmp/SK_IMAGE_VERSION" 226 ], 227 "env": { 228 "IOS_BUNDLE_ID": "com.google.dm", 229 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice" 230 }, 231 "infra_step": true, 232 "name": "write SK_IMAGE_VERSION" 233 }, 234 { 235 "cmd": [ 236 "[START_DIR]/skia/platform_tools/ios/bin/ios_cat_file", 237 "tmp/SK_IMAGE_VERSION" 238 ], 239 "env": { 240 "CHROME_HEADLESS": "1", 241 "IOS_BUNDLE_ID": "com.google.dm", 242 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 243 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 244 }, 245 "infra_step": true, 246 "name": "cat_file tmp/SK_IMAGE_VERSION", 247 "stdout": "/path/to/tmp/" 248 }, 249 { 250 "cmd": [ 251 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm", 252 "tmp/SK_IMAGE_VERSION" 253 ], 254 "env": { 255 "CHROME_HEADLESS": "1", 256 "IOS_BUNDLE_ID": "com.google.dm", 257 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 258 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 259 }, 260 "infra_step": true, 261 "name": "rm tmp/SK_IMAGE_VERSION" 262 }, 263 { 264 "cmd": [ 265 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm", 266 "images" 267 ], 268 "env": { 269 "CHROME_HEADLESS": "1", 270 "IOS_BUNDLE_ID": "com.google.dm", 271 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 272 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 273 }, 274 "infra_step": true, 275 "name": "rm images" 276 }, 277 { 278 "cmd": [ 279 "[START_DIR]/skia/platform_tools/ios/bin/ios_mkdir", 280 "images" 281 ], 282 "env": { 283 "CHROME_HEADLESS": "1", 284 "IOS_BUNDLE_ID": "com.google.dm", 285 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 286 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 287 }, 288 "infra_step": true, 289 "name": "mkdir images" 290 }, 291 { 292 "cmd": [ 293 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_if_needed", 294 "[START_DIR]/skimage", 295 "images" 296 ], 297 "env": { 298 "CHROME_HEADLESS": "1", 299 "IOS_BUNDLE_ID": "com.google.dm", 300 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 301 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 302 }, 303 "infra_step": true, 304 "name": "push_if_needed [START_DIR]/skimage" 305 }, 306 { 307 "cmd": [ 308 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_file", 309 "[START_DIR]/tmp/SK_IMAGE_VERSION", 310 "tmp/SK_IMAGE_VERSION" 311 ], 312 "env": { 313 "CHROME_HEADLESS": "1", 314 "IOS_BUNDLE_ID": "com.google.dm", 315 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 316 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 317 }, 318 "infra_step": true, 319 "name": "push_file [START_DIR]/tmp/SK_IMAGE_VERSION" 320 }, 321 { 322 "cmd": [ 323 "python", 324 "-u", 325 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 326 "--json-output", 327 "/path/to/tmp/json", 328 "copy", 329 "[START_DIR]/skia/infra/bots/assets/svg/VERSION", 330 "/path/to/tmp/" 331 ], 332 "env": { 333 "IOS_BUNDLE_ID": "com.google.dm", 334 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice" 335 }, 336 "infra_step": true, 337 "name": "Get svg VERSION" 338 }, 339 { 340 "cmd": [ 341 "python", 342 "-u", 343 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 344 "--json-output", 345 "/path/to/tmp/json", 346 "copy", 347 "42", 348 "[START_DIR]/tmp/SVG_VERSION" 349 ], 350 "env": { 351 "IOS_BUNDLE_ID": "com.google.dm", 352 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice" 353 }, 354 "infra_step": true, 355 "name": "write SVG_VERSION" 356 }, 357 { 358 "cmd": [ 359 "[START_DIR]/skia/platform_tools/ios/bin/ios_cat_file", 360 "tmp/SVG_VERSION" 361 ], 362 "env": { 363 "CHROME_HEADLESS": "1", 364 "IOS_BUNDLE_ID": "com.google.dm", 365 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 366 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 367 }, 368 "infra_step": true, 369 "name": "cat_file tmp/SVG_VERSION", 370 "stdout": "/path/to/tmp/" 371 }, 372 { 373 "cmd": [ 374 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm", 375 "tmp/SVG_VERSION" 376 ], 377 "env": { 378 "CHROME_HEADLESS": "1", 379 "IOS_BUNDLE_ID": "com.google.dm", 380 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 381 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 382 }, 383 "infra_step": true, 384 "name": "rm tmp/SVG_VERSION" 385 }, 386 { 387 "cmd": [ 388 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm", 389 "svgs" 390 ], 391 "env": { 392 "CHROME_HEADLESS": "1", 393 "IOS_BUNDLE_ID": "com.google.dm", 394 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 395 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 396 }, 397 "infra_step": true, 398 "name": "rm svgs" 399 }, 400 { 401 "cmd": [ 402 "[START_DIR]/skia/platform_tools/ios/bin/ios_mkdir", 403 "svgs" 404 ], 405 "env": { 406 "CHROME_HEADLESS": "1", 407 "IOS_BUNDLE_ID": "com.google.dm", 408 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 409 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 410 }, 411 "infra_step": true, 412 "name": "mkdir svgs" 413 }, 414 { 415 "cmd": [ 416 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_if_needed", 417 "[START_DIR]/svg", 418 "svgs" 419 ], 420 "env": { 421 "CHROME_HEADLESS": "1", 422 "IOS_BUNDLE_ID": "com.google.dm", 423 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 424 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 425 }, 426 "infra_step": true, 427 "name": "push_if_needed [START_DIR]/svg" 428 }, 429 { 430 "cmd": [ 431 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_file", 432 "[START_DIR]/tmp/SVG_VERSION", 433 "tmp/SVG_VERSION" 434 ], 435 "env": { 436 "CHROME_HEADLESS": "1", 437 "IOS_BUNDLE_ID": "com.google.dm", 438 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 439 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 440 }, 441 "infra_step": true, 442 "name": "push_file [START_DIR]/tmp/SVG_VERSION" 443 }, 444 { 445 "cmd": [ 446 "python", 447 "-u", 448 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 449 "--json-output", 450 "/path/to/tmp/json", 451 "rmtree", 452 "[START_DIR]/test" 453 ], 454 "env": { 455 "IOS_BUNDLE_ID": "com.google.dm", 456 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice" 457 }, 458 "infra_step": true, 459 "name": "rmtree test" 460 }, 461 { 462 "cmd": [ 463 "python", 464 "-u", 465 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 466 "--json-output", 467 "/path/to/tmp/json", 468 "ensure-directory", 469 "--mode", 470 "0777", 471 "[START_DIR]/test" 472 ], 473 "env": { 474 "IOS_BUNDLE_ID": "com.google.dm", 475 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice" 476 }, 477 "infra_step": true, 478 "name": "makedirs test" 479 }, 480 { 481 "cmd": [ 482 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm", 483 "dm" 484 ], 485 "env": { 486 "CHROME_HEADLESS": "1", 487 "IOS_BUNDLE_ID": "com.google.dm", 488 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 489 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 490 }, 491 "infra_step": true, 492 "name": "rm dm" 493 }, 494 { 495 "cmd": [ 496 "[START_DIR]/skia/platform_tools/ios/bin/ios_mkdir", 497 "dm" 498 ], 499 "env": { 500 "CHROME_HEADLESS": "1", 501 "IOS_BUNDLE_ID": "com.google.dm", 502 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 503 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 504 }, 505 "infra_step": true, 506 "name": "mkdir dm" 507 }, 508 { 509 "cmd": [ 510 "python", 511 "-u", 512 "\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", 513 "https://example.com/hashes.txt", 514 "[START_DIR]/tmp/uninteresting_hashes.txt" 515 ], 516 "env": { 517 "CHROME_HEADLESS": "1", 518 "IOS_BUNDLE_ID": "com.google.dm", 519 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 520 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 521 }, 522 "infra_step": true, 523 "name": "get uninteresting hashes", 524 "~followup_annotations": [ 525 "@@@STEP_LOG_LINE@python.inline@@@@", 526 "@@@STEP_LOG_LINE@python.inline@import contextlib@@@", 527 "@@@STEP_LOG_LINE@python.inline@import math@@@", 528 "@@@STEP_LOG_LINE@python.inline@import socket@@@", 529 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 530 "@@@STEP_LOG_LINE@python.inline@import time@@@", 531 "@@@STEP_LOG_LINE@python.inline@import urllib2@@@", 532 "@@@STEP_LOG_LINE@python.inline@@@@", 533 "@@@STEP_LOG_LINE@python.inline@HASHES_URL = sys.argv[1]@@@", 534 "@@@STEP_LOG_LINE@python.inline@RETRIES = 5@@@", 535 "@@@STEP_LOG_LINE@python.inline@TIMEOUT = 60@@@", 536 "@@@STEP_LOG_LINE@python.inline@WAIT_BASE = 15@@@", 537 "@@@STEP_LOG_LINE@python.inline@@@@", 538 "@@@STEP_LOG_LINE@python.inline@socket.setdefaulttimeout(TIMEOUT)@@@", 539 "@@@STEP_LOG_LINE@python.inline@for retry in range(RETRIES):@@@", 540 "@@@STEP_LOG_LINE@python.inline@ try:@@@", 541 "@@@STEP_LOG_LINE@python.inline@ with contextlib.closing(@@@", 542 "@@@STEP_LOG_LINE@python.inline@ urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w:@@@", 543 "@@@STEP_LOG_LINE@python.inline@ hashes = w.read()@@@", 544 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[2], 'w') as f:@@@", 545 "@@@STEP_LOG_LINE@python.inline@ f.write(hashes)@@@", 546 "@@@STEP_LOG_LINE@python.inline@ break@@@", 547 "@@@STEP_LOG_LINE@python.inline@ except Exception as e:@@@", 548 "@@@STEP_LOG_LINE@python.inline@ print 'Failed to get uninteresting hashes from %s:' % HASHES_URL@@@", 549 "@@@STEP_LOG_LINE@python.inline@ print e@@@", 550 "@@@STEP_LOG_LINE@python.inline@ if retry == RETRIES:@@@", 551 "@@@STEP_LOG_LINE@python.inline@ raise@@@", 552 "@@@STEP_LOG_LINE@python.inline@ waittime = WAIT_BASE * math.pow(2, retry)@@@", 553 "@@@STEP_LOG_LINE@python.inline@ print 'Retry in %d seconds.' % waittime@@@", 554 "@@@STEP_LOG_LINE@python.inline@ time.sleep(waittime)@@@", 555 "@@@STEP_LOG_END@python.inline@@@" 556 ] 557 }, 558 { 559 "cmd": [ 560 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_file", 561 "[START_DIR]/tmp/uninteresting_hashes.txt", 562 "tmp/uninteresting_hashes.txt" 563 ], 564 "env": { 565 "CHROME_HEADLESS": "1", 566 "IOS_BUNDLE_ID": "com.google.dm", 567 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 568 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 569 }, 570 "infra_step": true, 571 "name": "push_file [START_DIR]/tmp/uninteresting_hashes.txt" 572 }, 573 { 574 "cmd": [ 575 "python", 576 "-u", 577 "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n" 578 ], 579 "env": { 580 "IOS_BUNDLE_ID": "com.google.dm", 581 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice" 582 }, 583 "name": "get swarming bot id", 584 "stdout": "/path/to/tmp/", 585 "~followup_annotations": [ 586 "@@@STEP_LOG_LINE@python.inline@import os@@@", 587 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@", 588 "@@@STEP_LOG_END@python.inline@@@" 589 ] 590 }, 591 { 592 "cmd": [ 593 "python", 594 "-u", 595 "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n" 596 ], 597 "env": { 598 "IOS_BUNDLE_ID": "com.google.dm", 599 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice" 600 }, 601 "name": "get swarming task id", 602 "stdout": "/path/to/tmp/", 603 "~followup_annotations": [ 604 "@@@STEP_LOG_LINE@python.inline@import os@@@", 605 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@", 606 "@@@STEP_LOG_END@python.inline@@@" 607 ] 608 }, 609 { 610 "cmd": [ 611 "idevice-app-runner", 612 "-s", 613 "com.google.dm", 614 "--args", 615 "--resourcePath", 616 "resources", 617 "--skps", 618 "skps", 619 "--images", 620 "images/dm", 621 "--colorImages", 622 "images/colorspace", 623 "--nameByHash", 624 "--properties", 625 "gitHash", 626 "abc123", 627 "builder", 628 "Test-iOS-Clang-iPadPro-GPU-PowerVRGT7800-arm64-Release-All", 629 "buildbucket_build_id", 630 "123454321", 631 "swarming_bot_id", 632 "skia-bot-123", 633 "swarming_task_id", 634 "123456", 635 "--svgs", 636 "svgs", 637 "--key", 638 "arch", 639 "arm64", 640 "compiler", 641 "Clang", 642 "configuration", 643 "Release", 644 "cpu_or_gpu", 645 "GPU", 646 "cpu_or_gpu_value", 647 "PowerVRGT7800", 648 "model", 649 "iPadPro", 650 "os", 651 "iOS", 652 "--uninterestingHashesFile", 653 "tmp/uninteresting_hashes.txt", 654 "--writePath", 655 "dm", 656 "--dont_write", 657 "pdf", 658 "--randomProcessorTest", 659 "--threads", 660 "0", 661 "--nocpu", 662 "--config", 663 "gles", 664 "glesdft", 665 "glessrgb", 666 "--src", 667 "tests", 668 "gm", 669 "image", 670 "colorImage", 671 "svg", 672 "--blacklist", 673 "_", 674 "svg", 675 "_", 676 "svgparse_", 677 "glessrgb", 678 "image", 679 "_", 680 "_", 681 "gles", 682 "skp", 683 "_", 684 "_", 685 "_", 686 "image", 687 "gen_platf", 688 "rgba32abf.bmp", 689 "_", 690 "image", 691 "gen_platf", 692 "rgb24prof.bmp", 693 "_", 694 "image", 695 "gen_platf", 696 "rgb24lprof.bmp", 697 "_", 698 "image", 699 "gen_platf", 700 "8bpp-pixeldata-cropped.bmp", 701 "_", 702 "image", 703 "gen_platf", 704 "4bpp-pixeldata-cropped.bmp", 705 "_", 706 "image", 707 "gen_platf", 708 "32bpp-pixeldata-cropped.bmp", 709 "_", 710 "image", 711 "gen_platf", 712 "24bpp-pixeldata-cropped.bmp", 713 "_", 714 "image", 715 "gen_platf", 716 "frame_larger_than_image.gif", 717 "_", 718 "image", 719 "gen_platf", 720 "inc0.png", 721 "_", 722 "image", 723 "gen_platf", 724 "inc1.png", 725 "_", 726 "image", 727 "gen_platf", 728 "inc2.png", 729 "_", 730 "image", 731 "gen_platf", 732 "inc3.png", 733 "_", 734 "image", 735 "gen_platf", 736 "inc4.png", 737 "_", 738 "image", 739 "gen_platf", 740 "inc5.png", 741 "_", 742 "image", 743 "gen_platf", 744 "inc6.png", 745 "_", 746 "image", 747 "gen_platf", 748 "inc7.png", 749 "_", 750 "image", 751 "gen_platf", 752 "inc8.png", 753 "_", 754 "image", 755 "gen_platf", 756 "inc9.png", 757 "_", 758 "image", 759 "gen_platf", 760 "inc10.png", 761 "_", 762 "image", 763 "gen_platf", 764 "inc11.png", 765 "_", 766 "image", 767 "gen_platf", 768 "inc12.png", 769 "_", 770 "image", 771 "gen_platf", 772 "inc13.png", 773 "_", 774 "image", 775 "gen_platf", 776 "inc14.png", 777 "_", 778 "image", 779 "gen_platf", 780 "incInterlaced.png", 781 "_", 782 "image", 783 "gen_platf", 784 "incInterlaced.gif", 785 "_", 786 "image", 787 "gen_platf", 788 "inc1.gif", 789 "_", 790 "image", 791 "gen_platf", 792 "inc0.gif", 793 "_", 794 "image", 795 "gen_platf", 796 "butterfly.gif", 797 "_", 798 "image", 799 "gen_platf", 800 "error", 801 "_", 802 "test", 803 "_", 804 "GrShape", 805 "_", 806 "image", 807 "_", 808 "interlaced1.png", 809 "_", 810 "image", 811 "_", 812 "interlaced2.png", 813 "_", 814 "image", 815 "_", 816 "interlaced3.png", 817 "_", 818 "image", 819 "_", 820 ".arw", 821 "_", 822 "image", 823 "_", 824 ".cr2", 825 "_", 826 "image", 827 "_", 828 ".dng", 829 "_", 830 "image", 831 "_", 832 ".nef", 833 "_", 834 "image", 835 "_", 836 ".nrw", 837 "_", 838 "image", 839 "_", 840 ".orf", 841 "_", 842 "image", 843 "_", 844 ".raf", 845 "_", 846 "image", 847 "_", 848 ".rw2", 849 "_", 850 "image", 851 "_", 852 ".pef", 853 "_", 854 "image", 855 "_", 856 ".srw", 857 "_", 858 "image", 859 "_", 860 ".ARW", 861 "_", 862 "image", 863 "_", 864 ".CR2", 865 "_", 866 "image", 867 "_", 868 ".DNG", 869 "_", 870 "image", 871 "_", 872 ".NEF", 873 "_", 874 "image", 875 "_", 876 ".NRW", 877 "_", 878 "image", 879 "_", 880 ".ORF", 881 "_", 882 "image", 883 "_", 884 ".RAF", 885 "_", 886 "image", 887 "_", 888 ".RW2", 889 "_", 890 "image", 891 "_", 892 ".PEF", 893 "_", 894 "image", 895 "_", 896 ".SRW", 897 "--nonativeFonts", 898 "--verbose" 899 ], 900 "env": { 901 "CHROME_HEADLESS": "1", 902 "IOS_BUNDLE_ID": "com.google.dm", 903 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 904 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 905 }, 906 "name": "dm" 907 }, 908 { 909 "cmd": [ 910 "[START_DIR]/skia/platform_tools/ios/bin/ios_pull_if_needed", 911 "dm", 912 "[START_DIR]/[SWARM_OUT_DIR]" 913 ], 914 "env": { 915 "CHROME_HEADLESS": "1", 916 "IOS_BUNDLE_ID": "com.google.dm", 917 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice", 918 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 919 }, 920 "infra_step": true, 921 "name": "pull_if_needed dm" 922 }, 923 { 924 "jsonResult": null, 925 "name": "$result" 926 } 927]