Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(316)

Side by Side Diff: scripts/slave/recipes/skia/swarm_trigger.expected/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release.json

Issue 2068123002: Add Swarming task for downloading Android SDK on Skia bots (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Expectations, fix names Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "git", 4 "git",
5 "remote", 5 "remote",
6 "set-url", 6 "set-url",
7 "origin", 7 "origin",
8 "https://skia.googlesource.com/skia.git" 8 "https://skia.googlesource.com/skia.git"
9 ], 9 ],
10 "cwd": "[SLAVE_BUILD]/skia", 10 "cwd": "[SLAVE_BUILD]/skia",
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 "@@@STEP_LOG_LINE@json.output@ \"isolate_recipes\": \"[dummy hash for iso late_recipes]\"@@@", 395 "@@@STEP_LOG_LINE@json.output@ \"isolate_recipes\": \"[dummy hash for iso late_recipes]\"@@@",
396 "@@@STEP_LOG_LINE@json.output@}@@@", 396 "@@@STEP_LOG_LINE@json.output@}@@@",
397 "@@@STEP_LOG_END@json.output@@@", 397 "@@@STEP_LOG_END@json.output@@@",
398 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"isolate_recipes\": \"[dummy hash fo r isolate_recipes]\"}@@@" 398 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"isolate_recipes\": \"[dummy hash fo r isolate_recipes]\"}@@@"
399 ] 399 ]
400 }, 400 },
401 { 401 {
402 "cmd": [ 402 "cmd": [
403 "python", 403 "python",
404 "-u", 404 "-u",
405 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
406 "[SLAVE_BUILD]/swarming_temp_dir",
407 "511"
408 ],
409 "name": "makedirs swarming tmp dir (2)",
410 "~followup_annotations": [
411 "@@@STEP_LOG_LINE@python.inline@@@@",
412 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
413 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
414 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
415 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
416 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
417 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
418 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
419 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
420 "@@@STEP_LOG_END@python.inline@@@"
421 ]
422 },
423 {
424 "cmd": [
425 "python",
426 "-u",
405 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 427 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
406 "[SLAVE_BUILD]/skia/infra/bots/android_sdk_hash", 428 "{\n \"args\": [\n \"--isolate\", \n \"[BUILD]/scripts/sl ave/recipes/skia/gsutil.isolate\", \n \"--isolated\", \n \"[SLAVE_ BUILD]/swarming_temp_dir/skia-task-isolate_gsutil.isolated\", \n \"--conf ig-variable\", \n \"OS\", \n \"linux\"\n ], \n \"dir\": \"[B UILD]/scripts/slave/recipes/skia\", \n \"version\": 1\n}",
407 "/path/to/tmp/" 429 "[SLAVE_BUILD]/swarming_temp_dir/isolate_gsutil.isolated.gen.json"
408 ], 430 ],
409 "name": "Read android_sdk_hash" 431 "name": "Write isolate_gsutil.isolated.gen.json"
410 }, 432 },
411 { 433 {
412 "cmd": [ 434 "cmd": [
435 "python",
436 "-u",
437 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
438 "[SLAVE_BUILD]/swarming.client",
439 "batcharchive",
440 "--dump-json",
441 "/path/to/tmp/json",
442 "--isolate-server",
443 "https://isolateserver.appspot.com",
444 "--verbose",
445 "[SLAVE_BUILD]/swarming_temp_dir/isolate_gsutil.isolated.gen.json"
446 ],
447 "name": "isolate tests (2)",
448 "~followup_annotations": [
449 "@@@STEP_LOG_LINE@json.output@{@@@",
450 "@@@STEP_LOG_LINE@json.output@ \"isolate_gsutil\": \"[dummy hash for isol ate_gsutil]\"@@@",
451 "@@@STEP_LOG_LINE@json.output@}@@@",
452 "@@@STEP_LOG_END@json.output@@@",
453 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"isolate_gsutil\": \"[dummy hash for isolate_gsutil]\"}@@@"
454 ]
455 },
456 {
457 "cmd": [
458 "python",
459 "-u",
460 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
461 "[SLAVE_BUILD]/swarming_temp_dir",
462 "511"
463 ],
464 "name": "makedirs swarming tmp dir (3)",
465 "~followup_annotations": [
466 "@@@STEP_LOG_LINE@python.inline@@@@",
467 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
468 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
469 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
470 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
471 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
472 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
473 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
474 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
475 "@@@STEP_LOG_END@python.inline@@@"
476 ]
477 },
478 {
479 "cmd": [
480 "python",
481 "-u",
482 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
483 "{\n \"args\": [\n \"--isolate\", \n \"[SLAVE_BUILD]/skia /infra/bots/download_asset.isolate\", \n \"--isolated\", \n \"[SLA VE_BUILD]/swarming_temp_dir/skia-task-download_android_sdk.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--bl acklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--extra-variable\", \n \"GSUTIL\", \n \"../../../../../depot_tools/gsutil.py\", \n \"--extra-variable\", \n \"ASSET\", \n \"android_sdk\"\n ], \n \"dir\": \"[SLAVE_BUILD]\", \n \"version\": 1\n}",
484 "[SLAVE_BUILD]/swarming_temp_dir/download_android_sdk.isolated.gen.json"
485 ],
486 "name": "Write download_android_sdk.isolated.gen.json"
487 },
488 {
489 "cmd": [
490 "python",
491 "-u",
492 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
493 "[SLAVE_BUILD]/swarming.client",
494 "batcharchive",
495 "--dump-json",
496 "/path/to/tmp/json",
497 "--isolate-server",
498 "https://isolateserver.appspot.com",
499 "--verbose",
500 "[SLAVE_BUILD]/swarming_temp_dir/download_android_sdk.isolated.gen.json"
501 ],
502 "name": "isolate tests (3)",
503 "~followup_annotations": [
504 "@@@STEP_LOG_LINE@json.output@{@@@",
505 "@@@STEP_LOG_LINE@json.output@ \"download_android_sdk\": \"[dummy hash fo r download_android_sdk]\"@@@",
506 "@@@STEP_LOG_LINE@json.output@}@@@",
507 "@@@STEP_LOG_END@json.output@@@",
508 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"download_android_sdk\": \"[dummy ha sh for download_android_sdk]\"}@@@"
509 ]
510 },
511 {
512 "cmd": [
513 "python",
514 "-u",
515 "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = jso n.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n",
516 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-download_android_sdk.isolated",
517 "[dummy hash for isolate_gsutil]"
518 ],
519 "name": "add_isolated_input",
520 "~followup_annotations": [
521 "@@@STEP_LOG_LINE@python.inline@@@@",
522 "@@@STEP_LOG_LINE@python.inline@import json@@@",
523 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
524 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@",
525 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@",
526 "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@",
527 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@",
528 "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@",
529 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@",
530 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@",
531 "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@ @",
532 "@@@STEP_LOG_END@python.inline@@@"
533 ]
534 },
535 {
536 "cmd": [
537 "python",
538 "-u",
539 "[SLAVE_BUILD]/swarming.client/isolateserver.py",
540 "archive",
541 "--isolate-server",
542 "https://isolateserver.appspot.com",
543 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-download_android_sdk.isolated"
544 ],
545 "name": "upload new .isolated file for download_android_sdk",
546 "stdout": "/path/to/tmp/"
547 },
548 {
549 "cmd": [
550 "python",
551 "-u",
552 "[SLAVE_BUILD]/swarming.client/swarming.py",
553 "trigger",
554 "--swarming",
555 "https://chromium-swarm.appspot.com",
556 "--isolate-server",
557 "https://isolateserver.appspot.com",
558 "--priority",
559 "90",
560 "--shards",
561 "1",
562 "--task-name",
563 "download_android_sdk/Ubuntu/def456/Test-Android-GCC-Nexus7v2-GPU-Tegra3-A rm7-Release/5",
564 "--dump-json",
565 "/path/to/tmp/json",
566 "--expiration",
567 "72000",
568 "--io-timeout",
569 "1200",
570 "--hard-timeout",
571 "14400",
572 "--dimension",
573 "os",
574 "Ubuntu",
575 "--dimension",
576 "pool",
577 "Skia",
578 "--tag",
579 "buildername:Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release",
580 "--tag",
581 "buildnumber:5",
582 "--tag",
583 "data:def456",
584 "--tag",
585 "master:client.skia",
586 "--tag",
587 "name:download_android_sdk",
588 "--tag",
589 "os:Ubuntu",
590 "--tag",
591 "slavename:skiabot-linux-swarm-000",
592 "--tag",
593 "stepname:download_android_sdk on Ubuntu",
594 "--idempotent",
595 "def456"
596 ],
597 "name": "[trigger] download_android_sdk on Ubuntu",
598 "~followup_annotations": [
599 "@@@STEP_LOG_LINE@json.output@{@@@",
600 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"download_android_sdk /Ubuntu/def456/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release/5\", @@@",
601 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
602 "@@@STEP_LOG_LINE@json.output@ \"download_android_sdk/Ubuntu/def456/Tes t-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release/5\": {@@@",
603 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
604 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
605 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10000\"@@@",
606 "@@@STEP_LOG_LINE@json.output@ }@@@",
607 "@@@STEP_LOG_LINE@json.output@ }@@@",
608 "@@@STEP_LOG_LINE@json.output@}@@@",
609 "@@@STEP_LOG_END@json.output@@@",
610 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@"
611 ]
612 },
613 {
614 "cmd": [
615 "python",
616 "-u",
617 "[SLAVE_BUILD]/swarming.client/swarming.py",
618 "collect",
619 "--swarming",
620 "https://chromium-swarm.appspot.com",
621 "--decorate",
622 "--print-status-updates",
623 "--shards",
624 "1",
625 "download_android_sdk/Ubuntu/def456/Test-Android-GCC-Nexus7v2-GPU-Tegra3-A rm7-Release/5",
626 "--task-summary-json",
627 "/path/to/tmp/json"
628 ],
629 "name": "download_android_sdk on Ubuntu",
630 "~followup_annotations": [
631 "@@@STEP_TEXT@swarming pending 71s@@@",
632 "@@@STEP_LOG_LINE@json.output@{@@@",
633 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@",
634 "@@@STEP_LOG_LINE@json.output@ {@@@",
635 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@",
636 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@",
637 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0 0.123\", @@@",
638 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00. 123\", @@@",
639 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@",
640 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@",
641 "@@@STEP_LOG_LINE@json.output@ 31.5@@@",
642 "@@@STEP_LOG_LINE@json.output@ ], @@@",
643 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@",
644 "@@@STEP_LOG_LINE@json.output@ 0, @@@",
645 "@@@STEP_LOG_LINE@json.output@ 0@@@",
646 "@@@STEP_LOG_LINE@json.output@ ], @@@",
647 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@",
648 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@",
649 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@",
650 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@",
651 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@",
652 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolat eserver.appspot.com\", @@@",
653 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@ ",
654 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@",
655 "@@@STEP_LOG_LINE@json.output@ }, @@@",
656 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00 \", @@@",
657 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-2 5_01:41:55-os=Windows\", @@@",
658 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@",
659 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\ ", @@@",
660 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@",
661 "@@@STEP_LOG_LINE@json.output@ ], @@@",
662 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11. 123\", @@@",
663 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@",
664 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@",
665 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@",
666 "@@@STEP_LOG_LINE@json.output@ }@@@",
667 "@@@STEP_LOG_LINE@json.output@ ]@@@",
668 "@@@STEP_LOG_LINE@json.output@}@@@",
669 "@@@STEP_LOG_END@json.output@@@",
670 "@@@STEP_LINK@shard #0 isolated out@blah@@@"
671 ]
672 },
673 {
674 "cmd": [
413 "python", 675 "python",
414 "-u", 676 "-u",
415 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py", 677 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py",
416 "/path/to/tmp/json", 678 "/path/to/tmp/json",
417 "Build-Ubuntu-GCC-Arm7-Release-Android" 679 "Build-Ubuntu-GCC-Arm7-Release-Android"
418 ], 680 ],
419 "cwd": "[SLAVE_BUILD]/skia", 681 "cwd": "[SLAVE_BUILD]/skia",
420 "name": "exec buildbot_spec.py (2)", 682 "name": "exec buildbot_spec.py (2)",
421 "~followup_annotations": [ 683 "~followup_annotations": [
422 "@@@STEP_LOG_LINE@json.output@{@@@", 684 "@@@STEP_LOG_LINE@json.output@{@@@",
(...skipping 29 matching lines...) Expand all
452 ] 714 ]
453 }, 715 },
454 { 716 {
455 "cmd": [ 717 "cmd": [
456 "python", 718 "python",
457 "-u", 719 "-u",
458 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", 720 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
459 "[SLAVE_BUILD]/swarming_temp_dir", 721 "[SLAVE_BUILD]/swarming_temp_dir",
460 "511" 722 "511"
461 ], 723 ],
462 "name": "makedirs swarming tmp dir (2)", 724 "name": "makedirs swarming tmp dir (4)",
463 "~followup_annotations": [ 725 "~followup_annotations": [
464 "@@@STEP_LOG_LINE@python.inline@@@@", 726 "@@@STEP_LOG_LINE@python.inline@@@@",
465 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 727 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
466 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 728 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
467 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 729 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
468 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 730 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
469 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 731 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
470 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 732 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
471 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 733 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
472 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 734 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
(...skipping 17 matching lines...) Expand all
490 "RECIPE_MODULE[build::isolate]/resources/isolate.py", 752 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
491 "[SLAVE_BUILD]/swarming.client", 753 "[SLAVE_BUILD]/swarming.client",
492 "batcharchive", 754 "batcharchive",
493 "--dump-json", 755 "--dump-json",
494 "/path/to/tmp/json", 756 "/path/to/tmp/json",
495 "--isolate-server", 757 "--isolate-server",
496 "https://isolateserver.appspot.com", 758 "https://isolateserver.appspot.com",
497 "--verbose", 759 "--verbose",
498 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json" 760 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json"
499 ], 761 ],
500 "name": "isolate tests (2)", 762 "name": "isolate tests (4)",
501 "~followup_annotations": [ 763 "~followup_annotations": [
502 "@@@STEP_LOG_LINE@json.output@{@@@", 764 "@@@STEP_LOG_LINE@json.output@{@@@",
503 "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compil e_skia]\"@@@", 765 "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compil e_skia]\"@@@",
504 "@@@STEP_LOG_LINE@json.output@}@@@", 766 "@@@STEP_LOG_LINE@json.output@}@@@",
505 "@@@STEP_LOG_END@json.output@@@", 767 "@@@STEP_LOG_END@json.output@@@",
506 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for c ompile_skia]\"}@@@" 768 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for c ompile_skia]\"}@@@"
507 ] 769 ]
508 }, 770 },
509 { 771 {
510 "cmd": [ 772 "cmd": [
511 "python", 773 "python",
512 "-u", 774 "-u",
513 "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = jso n.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", 775 "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = jso n.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n",
514 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-compile_skia.isolated", 776 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-compile_skia.isolated",
515 "[dummy hash for isolate_recipes]", 777 "[dummy hash for isolate_recipes]",
516 "a27a70d73b85191b9e671ff2a44547c3f7cc15ee" 778 "abc123"
517 ], 779 ],
518 "name": "add_isolated_input", 780 "name": "add_isolated_input (2)",
519 "~followup_annotations": [ 781 "~followup_annotations": [
520 "@@@STEP_LOG_LINE@python.inline@@@@", 782 "@@@STEP_LOG_LINE@python.inline@@@@",
521 "@@@STEP_LOG_LINE@python.inline@import json@@@", 783 "@@@STEP_LOG_LINE@python.inline@import json@@@",
522 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 784 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
523 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", 785 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@",
524 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", 786 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@",
525 "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", 787 "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@",
526 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", 788 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@",
527 "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", 789 "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@",
528 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", 790 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@",
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 "name": "Get expected SK_IMAGE_VERSION" 1008 "name": "Get expected SK_IMAGE_VERSION"
747 }, 1009 },
748 { 1010 {
749 "cmd": [ 1011 "cmd": [
750 "python", 1012 "python",
751 "-u", 1013 "-u",
752 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", 1014 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
753 "[SLAVE_BUILD]/swarming_temp_dir", 1015 "[SLAVE_BUILD]/swarming_temp_dir",
754 "511" 1016 "511"
755 ], 1017 ],
756 "name": "makedirs swarming tmp dir (3)", 1018 "name": "makedirs swarming tmp dir (5)",
757 "~followup_annotations": [ 1019 "~followup_annotations": [
758 "@@@STEP_LOG_LINE@python.inline@@@@", 1020 "@@@STEP_LOG_LINE@python.inline@@@@",
759 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 1021 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
760 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 1022 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
761 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 1023 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
762 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 1024 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
763 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 1025 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
764 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 1026 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
765 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 1027 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
766 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 1028 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
(...skipping 17 matching lines...) Expand all
784 "RECIPE_MODULE[build::isolate]/resources/isolate.py", 1046 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
785 "[SLAVE_BUILD]/swarming.client", 1047 "[SLAVE_BUILD]/swarming.client",
786 "batcharchive", 1048 "batcharchive",
787 "--dump-json", 1049 "--dump-json",
788 "/path/to/tmp/json", 1050 "/path/to/tmp/json",
789 "--isolate-server", 1051 "--isolate-server",
790 "https://isolateserver.appspot.com", 1052 "https://isolateserver.appspot.com",
791 "--verbose", 1053 "--verbose",
792 "[SLAVE_BUILD]/swarming_temp_dir/test_skia.isolated.gen.json" 1054 "[SLAVE_BUILD]/swarming_temp_dir/test_skia.isolated.gen.json"
793 ], 1055 ],
794 "name": "isolate tests (3)", 1056 "name": "isolate tests (5)",
795 "~followup_annotations": [ 1057 "~followup_annotations": [
796 "@@@STEP_LOG_LINE@json.output@{@@@", 1058 "@@@STEP_LOG_LINE@json.output@{@@@",
797 "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia ]\"@@@", 1059 "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia ]\"@@@",
798 "@@@STEP_LOG_LINE@json.output@}@@@", 1060 "@@@STEP_LOG_LINE@json.output@}@@@",
799 "@@@STEP_LOG_END@json.output@@@", 1061 "@@@STEP_LOG_END@json.output@@@",
800 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test _skia]\"}@@@" 1062 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test _skia]\"}@@@"
801 ] 1063 ]
802 }, 1064 },
803 { 1065 {
804 "cmd": [ 1066 "cmd": [
805 "python", 1067 "python",
806 "-u", 1068 "-u",
807 "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = jso n.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", 1069 "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = jso n.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n",
808 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-test_skia.isolated", 1070 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-test_skia.isolated",
809 "[dummy hash for isolate_recipes]", 1071 "[dummy hash for isolate_recipes]",
810 "a27a70d73b85191b9e671ff2a44547c3f7cc15ee",
811 "abc123" 1072 "abc123"
812 ], 1073 ],
813 "name": "add_isolated_input (2)", 1074 "name": "add_isolated_input (3)",
814 "~followup_annotations": [ 1075 "~followup_annotations": [
815 "@@@STEP_LOG_LINE@python.inline@@@@", 1076 "@@@STEP_LOG_LINE@python.inline@@@@",
816 "@@@STEP_LOG_LINE@python.inline@import json@@@", 1077 "@@@STEP_LOG_LINE@python.inline@import json@@@",
817 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 1078 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
818 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", 1079 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@",
819 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", 1080 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@",
820 "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", 1081 "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@",
821 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", 1082 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@",
822 "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", 1083 "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@",
823 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", 1084 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@",
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
1046 "BOTO_CONFIG": "[HOME]/chromium-skia-gm.boto" 1307 "BOTO_CONFIG": "[HOME]/chromium-skia-gm.boto"
1047 }, 1308 },
1048 "name": "Upload DM Results" 1309 "name": "Upload DM Results"
1049 }, 1310 },
1050 { 1311 {
1051 "name": "$result", 1312 "name": "$result",
1052 "recipe_result": null, 1313 "recipe_result": null,
1053 "status_code": 0 1314 "status_code": 0
1054 } 1315 }
1055 ] 1316 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698