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

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: undo recipes.isolate change 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 \"[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 \"--extr a-variable\", \n \"ASSET\", \n \"android_sdk\"\n ], \n \"dir \": \"[SLAVE_BUILD]\", \n \"version\": 1\n}",
407 "/path/to/tmp/" 429 "[SLAVE_BUILD]/swarming_temp_dir/download_android_sdk.isolated.gen.json"
408 ], 430 ],
409 "name": "Read android_sdk_hash" 431 "name": "Write download_android_sdk.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/download_android_sdk.isolated.gen.json"
446 ],
447 "name": "isolate tests (2)",
448 "~followup_annotations": [
449 "@@@STEP_LOG_LINE@json.output@{@@@",
450 "@@@STEP_LOG_LINE@json.output@ \"download_android_sdk\": \"[dummy hash fo r download_android_sdk]\"@@@",
451 "@@@STEP_LOG_LINE@json.output@}@@@",
452 "@@@STEP_LOG_END@json.output@@@",
453 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"download_android_sdk\": \"[dummy ha sh for download_android_sdk]\"}@@@"
454 ]
455 },
456 {
457 "cmd": [
458 "python",
459 "-u",
460 "\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",
461 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-download_android_sdk.isolated",
462 "[dummy hash for isolate_recipes]"
463 ],
464 "name": "add_isolated_input",
465 "~followup_annotations": [
466 "@@@STEP_LOG_LINE@python.inline@@@@",
467 "@@@STEP_LOG_LINE@python.inline@import json@@@",
468 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
469 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@",
470 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@",
471 "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@",
472 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@",
473 "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@",
474 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@",
475 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@",
476 "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@ @",
477 "@@@STEP_LOG_END@python.inline@@@"
478 ]
479 },
480 {
481 "cmd": [
482 "python",
483 "-u",
484 "[SLAVE_BUILD]/swarming.client/isolateserver.py",
485 "archive",
486 "--isolate-server",
487 "https://isolateserver.appspot.com",
488 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-download_android_sdk.isolated"
489 ],
490 "name": "upload new .isolated file for download_android_sdk",
491 "stdout": "/path/to/tmp/"
492 },
493 {
494 "cmd": [
495 "python",
496 "-u",
497 "[SLAVE_BUILD]/swarming.client/swarming.py",
498 "trigger",
499 "--swarming",
500 "https://chromium-swarm.appspot.com",
501 "--isolate-server",
502 "https://isolateserver.appspot.com",
503 "--priority",
504 "90",
505 "--shards",
506 "1",
507 "--task-name",
508 "download_android_sdk/Ubuntu/def456/Test-Android-GCC-Nexus7v2-GPU-Tegra3-A rm7-Release/5",
509 "--dump-json",
510 "/path/to/tmp/json",
511 "--expiration",
512 "72000",
513 "--io-timeout",
514 "1200",
515 "--hard-timeout",
516 "14400",
517 "--dimension",
518 "os",
519 "Ubuntu",
520 "--dimension",
521 "pool",
522 "Skia",
523 "--tag",
524 "buildername:Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release",
525 "--tag",
526 "buildnumber:5",
527 "--tag",
528 "data:def456",
529 "--tag",
530 "master:client.skia",
531 "--tag",
532 "name:download_android_sdk",
533 "--tag",
534 "os:Ubuntu",
535 "--tag",
536 "slavename:skiabot-linux-swarm-000",
537 "--tag",
538 "stepname:download_android_sdk on Ubuntu",
539 "--idempotent",
540 "def456"
541 ],
542 "name": "[trigger] download_android_sdk on Ubuntu",
543 "~followup_annotations": [
544 "@@@STEP_LOG_LINE@json.output@{@@@",
545 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"download_android_sdk /Ubuntu/def456/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release/5\", @@@",
546 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
547 "@@@STEP_LOG_LINE@json.output@ \"download_android_sdk/Ubuntu/def456/Tes t-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release/5\": {@@@",
548 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
549 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
550 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10000\"@@@",
551 "@@@STEP_LOG_LINE@json.output@ }@@@",
552 "@@@STEP_LOG_LINE@json.output@ }@@@",
553 "@@@STEP_LOG_LINE@json.output@}@@@",
554 "@@@STEP_LOG_END@json.output@@@",
555 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@"
556 ]
557 },
558 {
559 "cmd": [
560 "python",
561 "-u",
562 "[SLAVE_BUILD]/swarming.client/swarming.py",
563 "collect",
564 "--swarming",
565 "https://chromium-swarm.appspot.com",
566 "--decorate",
567 "--print-status-updates",
568 "--shards",
569 "1",
570 "download_android_sdk/Ubuntu/def456/Test-Android-GCC-Nexus7v2-GPU-Tegra3-A rm7-Release/5",
571 "--task-summary-json",
572 "/path/to/tmp/json"
573 ],
574 "name": "download_android_sdk on Ubuntu",
575 "~followup_annotations": [
576 "@@@STEP_TEXT@swarming pending 71s@@@",
577 "@@@STEP_LOG_LINE@json.output@{@@@",
578 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@",
579 "@@@STEP_LOG_LINE@json.output@ {@@@",
580 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@",
581 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@",
582 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0 0.123\", @@@",
583 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00. 123\", @@@",
584 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@",
585 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@",
586 "@@@STEP_LOG_LINE@json.output@ 31.5@@@",
587 "@@@STEP_LOG_LINE@json.output@ ], @@@",
588 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@",
589 "@@@STEP_LOG_LINE@json.output@ 0, @@@",
590 "@@@STEP_LOG_LINE@json.output@ 0@@@",
591 "@@@STEP_LOG_LINE@json.output@ ], @@@",
592 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@",
593 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@",
594 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@",
595 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@",
596 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@",
597 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolat eserver.appspot.com\", @@@",
598 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@ ",
599 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@",
600 "@@@STEP_LOG_LINE@json.output@ }, @@@",
601 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00 \", @@@",
602 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-2 5_01:41:55-os=Windows\", @@@",
603 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@",
604 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\ ", @@@",
605 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@",
606 "@@@STEP_LOG_LINE@json.output@ ], @@@",
607 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11. 123\", @@@",
608 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@",
609 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@",
610 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@",
611 "@@@STEP_LOG_LINE@json.output@ }@@@",
612 "@@@STEP_LOG_LINE@json.output@ ]@@@",
613 "@@@STEP_LOG_LINE@json.output@}@@@",
614 "@@@STEP_LOG_END@json.output@@@",
615 "@@@STEP_LINK@shard #0 isolated out@blah@@@"
616 ]
617 },
618 {
619 "cmd": [
413 "python", 620 "python",
414 "-u", 621 "-u",
415 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py", 622 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py",
416 "/path/to/tmp/json", 623 "/path/to/tmp/json",
417 "Build-Ubuntu-GCC-Arm7-Release-Android" 624 "Build-Ubuntu-GCC-Arm7-Release-Android"
418 ], 625 ],
419 "cwd": "[SLAVE_BUILD]/skia", 626 "cwd": "[SLAVE_BUILD]/skia",
420 "name": "exec buildbot_spec.py (2)", 627 "name": "exec buildbot_spec.py (2)",
421 "~followup_annotations": [ 628 "~followup_annotations": [
422 "@@@STEP_LOG_LINE@json.output@{@@@", 629 "@@@STEP_LOG_LINE@json.output@{@@@",
(...skipping 29 matching lines...) Expand all
452 ] 659 ]
453 }, 660 },
454 { 661 {
455 "cmd": [ 662 "cmd": [
456 "python", 663 "python",
457 "-u", 664 "-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", 665 "\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", 666 "[SLAVE_BUILD]/swarming_temp_dir",
460 "511" 667 "511"
461 ], 668 ],
462 "name": "makedirs swarming tmp dir (2)", 669 "name": "makedirs swarming tmp dir (3)",
463 "~followup_annotations": [ 670 "~followup_annotations": [
464 "@@@STEP_LOG_LINE@python.inline@@@@", 671 "@@@STEP_LOG_LINE@python.inline@@@@",
465 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 672 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
466 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 673 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
467 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 674 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
468 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 675 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
469 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 676 "@@@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@@@", 677 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
471 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 678 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
472 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 679 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
(...skipping 17 matching lines...) Expand all
490 "RECIPE_MODULE[build::isolate]/resources/isolate.py", 697 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
491 "[SLAVE_BUILD]/swarming.client", 698 "[SLAVE_BUILD]/swarming.client",
492 "batcharchive", 699 "batcharchive",
493 "--dump-json", 700 "--dump-json",
494 "/path/to/tmp/json", 701 "/path/to/tmp/json",
495 "--isolate-server", 702 "--isolate-server",
496 "https://isolateserver.appspot.com", 703 "https://isolateserver.appspot.com",
497 "--verbose", 704 "--verbose",
498 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json" 705 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json"
499 ], 706 ],
500 "name": "isolate tests (2)", 707 "name": "isolate tests (3)",
501 "~followup_annotations": [ 708 "~followup_annotations": [
502 "@@@STEP_LOG_LINE@json.output@{@@@", 709 "@@@STEP_LOG_LINE@json.output@{@@@",
503 "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compil e_skia]\"@@@", 710 "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compil e_skia]\"@@@",
504 "@@@STEP_LOG_LINE@json.output@}@@@", 711 "@@@STEP_LOG_LINE@json.output@}@@@",
505 "@@@STEP_LOG_END@json.output@@@", 712 "@@@STEP_LOG_END@json.output@@@",
506 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for c ompile_skia]\"}@@@" 713 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for c ompile_skia]\"}@@@"
507 ] 714 ]
508 }, 715 },
509 { 716 {
510 "cmd": [ 717 "cmd": [
511 "python", 718 "python",
512 "-u", 719 "-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", 720 "\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", 721 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-compile_skia.isolated",
515 "[dummy hash for isolate_recipes]", 722 "[dummy hash for isolate_recipes]",
516 "a27a70d73b85191b9e671ff2a44547c3f7cc15ee" 723 "abc123"
517 ], 724 ],
518 "name": "add_isolated_input", 725 "name": "add_isolated_input (2)",
519 "~followup_annotations": [ 726 "~followup_annotations": [
520 "@@@STEP_LOG_LINE@python.inline@@@@", 727 "@@@STEP_LOG_LINE@python.inline@@@@",
521 "@@@STEP_LOG_LINE@python.inline@import json@@@", 728 "@@@STEP_LOG_LINE@python.inline@import json@@@",
522 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 729 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
523 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", 730 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@",
524 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", 731 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@",
525 "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", 732 "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@",
526 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", 733 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@",
527 "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", 734 "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@",
528 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", 735 "@@@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" 953 "name": "Get expected SK_IMAGE_VERSION"
747 }, 954 },
748 { 955 {
749 "cmd": [ 956 "cmd": [
750 "python", 957 "python",
751 "-u", 958 "-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", 959 "\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", 960 "[SLAVE_BUILD]/swarming_temp_dir",
754 "511" 961 "511"
755 ], 962 ],
756 "name": "makedirs swarming tmp dir (3)", 963 "name": "makedirs swarming tmp dir (4)",
757 "~followup_annotations": [ 964 "~followup_annotations": [
758 "@@@STEP_LOG_LINE@python.inline@@@@", 965 "@@@STEP_LOG_LINE@python.inline@@@@",
759 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 966 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
760 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 967 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
761 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 968 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
762 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 969 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
763 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 970 "@@@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@@@", 971 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
765 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 972 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
766 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 973 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
(...skipping 17 matching lines...) Expand all
784 "RECIPE_MODULE[build::isolate]/resources/isolate.py", 991 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
785 "[SLAVE_BUILD]/swarming.client", 992 "[SLAVE_BUILD]/swarming.client",
786 "batcharchive", 993 "batcharchive",
787 "--dump-json", 994 "--dump-json",
788 "/path/to/tmp/json", 995 "/path/to/tmp/json",
789 "--isolate-server", 996 "--isolate-server",
790 "https://isolateserver.appspot.com", 997 "https://isolateserver.appspot.com",
791 "--verbose", 998 "--verbose",
792 "[SLAVE_BUILD]/swarming_temp_dir/test_skia.isolated.gen.json" 999 "[SLAVE_BUILD]/swarming_temp_dir/test_skia.isolated.gen.json"
793 ], 1000 ],
794 "name": "isolate tests (3)", 1001 "name": "isolate tests (4)",
795 "~followup_annotations": [ 1002 "~followup_annotations": [
796 "@@@STEP_LOG_LINE@json.output@{@@@", 1003 "@@@STEP_LOG_LINE@json.output@{@@@",
797 "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia ]\"@@@", 1004 "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia ]\"@@@",
798 "@@@STEP_LOG_LINE@json.output@}@@@", 1005 "@@@STEP_LOG_LINE@json.output@}@@@",
799 "@@@STEP_LOG_END@json.output@@@", 1006 "@@@STEP_LOG_END@json.output@@@",
800 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test _skia]\"}@@@" 1007 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test _skia]\"}@@@"
801 ] 1008 ]
802 }, 1009 },
803 { 1010 {
804 "cmd": [ 1011 "cmd": [
805 "python", 1012 "python",
806 "-u", 1013 "-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", 1014 "\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", 1015 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-test_skia.isolated",
809 "[dummy hash for isolate_recipes]", 1016 "[dummy hash for isolate_recipes]",
810 "a27a70d73b85191b9e671ff2a44547c3f7cc15ee",
811 "abc123" 1017 "abc123"
812 ], 1018 ],
813 "name": "add_isolated_input (2)", 1019 "name": "add_isolated_input (3)",
814 "~followup_annotations": [ 1020 "~followup_annotations": [
815 "@@@STEP_LOG_LINE@python.inline@@@@", 1021 "@@@STEP_LOG_LINE@python.inline@@@@",
816 "@@@STEP_LOG_LINE@python.inline@import json@@@", 1022 "@@@STEP_LOG_LINE@python.inline@import json@@@",
817 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 1023 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
818 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", 1024 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@",
819 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", 1025 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@",
820 "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", 1026 "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@",
821 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", 1027 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@",
822 "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", 1028 "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@",
823 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", 1029 "@@@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" 1252 "BOTO_CONFIG": "[HOME]/chromium-skia-gm.boto"
1047 }, 1253 },
1048 "name": "Upload DM Results" 1254 "name": "Upload DM Results"
1049 }, 1255 },
1050 { 1256 {
1051 "name": "$result", 1257 "name": "$result",
1052 "recipe_result": null, 1258 "recipe_result": null,
1053 "status_code": 0 1259 "status_code": 0
1054 } 1260 }
1055 ] 1261 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698