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

Side by Side Diff: scripts/slave/recipes/skia/swarm_trigger.expected/Housekeeper-PerCommit.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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 "@@@STEP_LOG_LINE@json.output@ \"isolate_recipes\": \"[dummy hash for iso late_recipes]\"@@@", 387 "@@@STEP_LOG_LINE@json.output@ \"isolate_recipes\": \"[dummy hash for iso late_recipes]\"@@@",
388 "@@@STEP_LOG_LINE@json.output@}@@@", 388 "@@@STEP_LOG_LINE@json.output@}@@@",
389 "@@@STEP_LOG_END@json.output@@@", 389 "@@@STEP_LOG_END@json.output@@@",
390 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"isolate_recipes\": \"[dummy hash fo r isolate_recipes]\"}@@@" 390 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"isolate_recipes\": \"[dummy hash fo r isolate_recipes]\"}@@@"
391 ] 391 ]
392 }, 392 },
393 { 393 {
394 "cmd": [ 394 "cmd": [
395 "python", 395 "python",
396 "-u", 396 "-u",
397 "\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",
398 "[SLAVE_BUILD]/swarming_temp_dir",
399 "511"
400 ],
401 "name": "makedirs swarming tmp dir (2)",
402 "~followup_annotations": [
403 "@@@STEP_LOG_LINE@python.inline@@@@",
404 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
405 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
406 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
407 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
408 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
409 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
410 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
411 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
412 "@@@STEP_LOG_END@python.inline@@@"
413 ]
414 },
415 {
416 "cmd": [
417 "python",
418 "-u",
419 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
420 "{\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}",
421 "[SLAVE_BUILD]/swarming_temp_dir/isolate_gsutil.isolated.gen.json"
422 ],
423 "name": "Write isolate_gsutil.isolated.gen.json"
424 },
425 {
426 "cmd": [
427 "python",
428 "-u",
429 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
430 "[SLAVE_BUILD]/swarming.client",
431 "batcharchive",
432 "--dump-json",
433 "/path/to/tmp/json",
434 "--isolate-server",
435 "https://isolateserver.appspot.com",
436 "--verbose",
437 "[SLAVE_BUILD]/swarming_temp_dir/isolate_gsutil.isolated.gen.json"
438 ],
439 "name": "isolate tests (2)",
440 "~followup_annotations": [
441 "@@@STEP_LOG_LINE@json.output@{@@@",
442 "@@@STEP_LOG_LINE@json.output@ \"isolate_gsutil\": \"[dummy hash for isol ate_gsutil]\"@@@",
443 "@@@STEP_LOG_LINE@json.output@}@@@",
444 "@@@STEP_LOG_END@json.output@@@",
445 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"isolate_gsutil\": \"[dummy hash for isolate_gsutil]\"}@@@"
446 ]
447 },
448 {
449 "cmd": [
450 "python",
451 "-u",
397 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py", 452 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py",
398 "/path/to/tmp/json", 453 "/path/to/tmp/json",
399 "Build-Ubuntu-GCC-x86_64-Release-Shared" 454 "Build-Ubuntu-GCC-x86_64-Release-Shared"
400 ], 455 ],
401 "cwd": "[SLAVE_BUILD]/skia", 456 "cwd": "[SLAVE_BUILD]/skia",
402 "name": "exec buildbot_spec.py (2)", 457 "name": "exec buildbot_spec.py (2)",
403 "~followup_annotations": [ 458 "~followup_annotations": [
404 "@@@STEP_LOG_LINE@json.output@{@@@", 459 "@@@STEP_LOG_LINE@json.output@{@@@",
405 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", 460 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
406 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@", 461 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@",
(...skipping 26 matching lines...) Expand all
433 ] 488 ]
434 }, 489 },
435 { 490 {
436 "cmd": [ 491 "cmd": [
437 "python", 492 "python",
438 "-u", 493 "-u",
439 "\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", 494 "\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",
440 "[SLAVE_BUILD]/swarming_temp_dir", 495 "[SLAVE_BUILD]/swarming_temp_dir",
441 "511" 496 "511"
442 ], 497 ],
443 "name": "makedirs swarming tmp dir (2)", 498 "name": "makedirs swarming tmp dir (3)",
444 "~followup_annotations": [ 499 "~followup_annotations": [
445 "@@@STEP_LOG_LINE@python.inline@@@@", 500 "@@@STEP_LOG_LINE@python.inline@@@@",
446 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 501 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
447 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 502 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
448 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 503 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
449 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 504 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
450 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 505 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
451 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 506 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
452 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 507 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
453 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 508 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
(...skipping 17 matching lines...) Expand all
471 "RECIPE_MODULE[build::isolate]/resources/isolate.py", 526 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
472 "[SLAVE_BUILD]/swarming.client", 527 "[SLAVE_BUILD]/swarming.client",
473 "batcharchive", 528 "batcharchive",
474 "--dump-json", 529 "--dump-json",
475 "/path/to/tmp/json", 530 "/path/to/tmp/json",
476 "--isolate-server", 531 "--isolate-server",
477 "https://isolateserver.appspot.com", 532 "https://isolateserver.appspot.com",
478 "--verbose", 533 "--verbose",
479 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json" 534 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json"
480 ], 535 ],
481 "name": "isolate tests (2)", 536 "name": "isolate tests (3)",
482 "~followup_annotations": [ 537 "~followup_annotations": [
483 "@@@STEP_LOG_LINE@json.output@{@@@", 538 "@@@STEP_LOG_LINE@json.output@{@@@",
484 "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compil e_skia]\"@@@", 539 "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compil e_skia]\"@@@",
485 "@@@STEP_LOG_LINE@json.output@}@@@", 540 "@@@STEP_LOG_LINE@json.output@}@@@",
486 "@@@STEP_LOG_END@json.output@@@", 541 "@@@STEP_LOG_END@json.output@@@",
487 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for c ompile_skia]\"}@@@" 542 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for c ompile_skia]\"}@@@"
488 ] 543 ]
489 }, 544 },
490 { 545 {
491 "cmd": [ 546 "cmd": [
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 ] 719 ]
665 }, 720 },
666 { 721 {
667 "cmd": [ 722 "cmd": [
668 "python", 723 "python",
669 "-u", 724 "-u",
670 "\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", 725 "\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",
671 "[SLAVE_BUILD]/swarming_temp_dir", 726 "[SLAVE_BUILD]/swarming_temp_dir",
672 "511" 727 "511"
673 ], 728 ],
674 "name": "makedirs swarming tmp dir (3)", 729 "name": "makedirs swarming tmp dir (4)",
675 "~followup_annotations": [ 730 "~followup_annotations": [
676 "@@@STEP_LOG_LINE@python.inline@@@@", 731 "@@@STEP_LOG_LINE@python.inline@@@@",
677 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 732 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
678 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 733 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
679 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 734 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
680 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 735 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
681 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 736 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
682 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 737 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
683 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 738 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
684 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 739 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
(...skipping 17 matching lines...) Expand all
702 "RECIPE_MODULE[build::isolate]/resources/isolate.py", 757 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
703 "[SLAVE_BUILD]/swarming.client", 758 "[SLAVE_BUILD]/swarming.client",
704 "batcharchive", 759 "batcharchive",
705 "--dump-json", 760 "--dump-json",
706 "/path/to/tmp/json", 761 "/path/to/tmp/json",
707 "--isolate-server", 762 "--isolate-server",
708 "https://isolateserver.appspot.com", 763 "https://isolateserver.appspot.com",
709 "--verbose", 764 "--verbose",
710 "[SLAVE_BUILD]/swarming_temp_dir/housekeeper_skia.isolated.gen.json" 765 "[SLAVE_BUILD]/swarming_temp_dir/housekeeper_skia.isolated.gen.json"
711 ], 766 ],
712 "name": "isolate tests (3)", 767 "name": "isolate tests (4)",
713 "~followup_annotations": [ 768 "~followup_annotations": [
714 "@@@STEP_LOG_LINE@json.output@{@@@", 769 "@@@STEP_LOG_LINE@json.output@{@@@",
715 "@@@STEP_LOG_LINE@json.output@ \"housekeeper_skia\": \"[dummy hash for ho usekeeper_skia]\"@@@", 770 "@@@STEP_LOG_LINE@json.output@ \"housekeeper_skia\": \"[dummy hash for ho usekeeper_skia]\"@@@",
716 "@@@STEP_LOG_LINE@json.output@}@@@", 771 "@@@STEP_LOG_LINE@json.output@}@@@",
717 "@@@STEP_LOG_END@json.output@@@", 772 "@@@STEP_LOG_END@json.output@@@",
718 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"housekeeper_skia\": \"[dummy hash f or housekeeper_skia]\"}@@@" 773 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"housekeeper_skia\": \"[dummy hash f or housekeeper_skia]\"}@@@"
719 ] 774 ]
720 }, 775 },
721 { 776 {
722 "cmd": [ 777 "cmd": [
723 "python", 778 "python",
724 "-u", 779 "-u",
725 "\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", 780 "\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",
726 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-housekeeper_skia.isolated", 781 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-housekeeper_skia.isolated",
727 "[dummy hash for isolate_recipes]" 782 "[dummy hash for isolate_recipes]",
783 "abc123"
728 ], 784 ],
729 "name": "add_isolated_input (2)", 785 "name": "add_isolated_input (2)",
730 "~followup_annotations": [ 786 "~followup_annotations": [
731 "@@@STEP_LOG_LINE@python.inline@@@@", 787 "@@@STEP_LOG_LINE@python.inline@@@@",
732 "@@@STEP_LOG_LINE@python.inline@import json@@@", 788 "@@@STEP_LOG_LINE@python.inline@import json@@@",
733 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 789 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
734 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", 790 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@",
735 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", 791 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@",
736 "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", 792 "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@",
737 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", 793 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@",
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
892 "@@@STEP_LOG_END@json.output@@@", 948 "@@@STEP_LOG_END@json.output@@@",
893 "@@@STEP_LINK@shard #0 isolated out@blah@@@" 949 "@@@STEP_LINK@shard #0 isolated out@blah@@@"
894 ] 950 ]
895 }, 951 },
896 { 952 {
897 "name": "$result", 953 "name": "$result",
898 "recipe_result": null, 954 "recipe_result": null,
899 "status_code": 0 955 "status_code": 0
900 } 956 }
901 ] 957 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698