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

Side by Side Diff: scripts/slave/recipes/skia/swarm_trigger.expected/No_downloaded_SKP_VERSION.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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 "@@@STEP_LOG_LINE@json.output@ \"isolate_recipes\": \"[dummy hash for iso late_recipes]\"@@@", 394 "@@@STEP_LOG_LINE@json.output@ \"isolate_recipes\": \"[dummy hash for iso late_recipes]\"@@@",
395 "@@@STEP_LOG_LINE@json.output@}@@@", 395 "@@@STEP_LOG_LINE@json.output@}@@@",
396 "@@@STEP_LOG_END@json.output@@@", 396 "@@@STEP_LOG_END@json.output@@@",
397 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"isolate_recipes\": \"[dummy hash fo r isolate_recipes]\"}@@@" 397 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"isolate_recipes\": \"[dummy hash fo r isolate_recipes]\"}@@@"
398 ] 398 ]
399 }, 399 },
400 { 400 {
401 "cmd": [ 401 "cmd": [
402 "python", 402 "python",
403 "-u", 403 "-u",
404 "\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",
405 "[SLAVE_BUILD]/swarming_temp_dir",
406 "511"
407 ],
408 "name": "makedirs swarming tmp dir (2)",
409 "~followup_annotations": [
410 "@@@STEP_LOG_LINE@python.inline@@@@",
411 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
412 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
413 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
414 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
415 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
416 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
417 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
418 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
419 "@@@STEP_LOG_END@python.inline@@@"
420 ]
421 },
422 {
423 "cmd": [
424 "python",
425 "-u",
426 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
427 "{\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}",
428 "[SLAVE_BUILD]/swarming_temp_dir/isolate_gsutil.isolated.gen.json"
429 ],
430 "name": "Write isolate_gsutil.isolated.gen.json"
431 },
432 {
433 "cmd": [
434 "python",
435 "-u",
436 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
437 "[SLAVE_BUILD]/swarming.client",
438 "batcharchive",
439 "--dump-json",
440 "/path/to/tmp/json",
441 "--isolate-server",
442 "https://isolateserver.appspot.com",
443 "--verbose",
444 "[SLAVE_BUILD]/swarming_temp_dir/isolate_gsutil.isolated.gen.json"
445 ],
446 "name": "isolate tests (2)",
447 "~followup_annotations": [
448 "@@@STEP_LOG_LINE@json.output@{@@@",
449 "@@@STEP_LOG_LINE@json.output@ \"isolate_gsutil\": \"[dummy hash for isol ate_gsutil]\"@@@",
450 "@@@STEP_LOG_LINE@json.output@}@@@",
451 "@@@STEP_LOG_END@json.output@@@",
452 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"isolate_gsutil\": \"[dummy hash for isolate_gsutil]\"}@@@"
453 ]
454 },
455 {
456 "cmd": [
457 "python",
458 "-u",
404 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py", 459 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py",
405 "/path/to/tmp/json", 460 "/path/to/tmp/json",
406 "Build-Ubuntu-GCC-x86_64-Debug" 461 "Build-Ubuntu-GCC-x86_64-Debug"
407 ], 462 ],
408 "cwd": "[SLAVE_BUILD]/skia", 463 "cwd": "[SLAVE_BUILD]/skia",
409 "name": "exec buildbot_spec.py (2)", 464 "name": "exec buildbot_spec.py (2)",
410 "~followup_annotations": [ 465 "~followup_annotations": [
411 "@@@STEP_LOG_LINE@json.output@{@@@", 466 "@@@STEP_LOG_LINE@json.output@{@@@",
412 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", 467 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
413 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@", 468 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@",
(...skipping 25 matching lines...) Expand all
439 ] 494 ]
440 }, 495 },
441 { 496 {
442 "cmd": [ 497 "cmd": [
443 "python", 498 "python",
444 "-u", 499 "-u",
445 "\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", 500 "\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",
446 "[SLAVE_BUILD]/swarming_temp_dir", 501 "[SLAVE_BUILD]/swarming_temp_dir",
447 "511" 502 "511"
448 ], 503 ],
449 "name": "makedirs swarming tmp dir (2)", 504 "name": "makedirs swarming tmp dir (3)",
450 "~followup_annotations": [ 505 "~followup_annotations": [
451 "@@@STEP_LOG_LINE@python.inline@@@@", 506 "@@@STEP_LOG_LINE@python.inline@@@@",
452 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 507 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
453 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 508 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
454 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 509 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
455 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 510 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
456 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 511 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
457 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 512 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
458 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 513 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
459 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 514 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
(...skipping 17 matching lines...) Expand all
477 "RECIPE_MODULE[build::isolate]/resources/isolate.py", 532 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
478 "[SLAVE_BUILD]/swarming.client", 533 "[SLAVE_BUILD]/swarming.client",
479 "batcharchive", 534 "batcharchive",
480 "--dump-json", 535 "--dump-json",
481 "/path/to/tmp/json", 536 "/path/to/tmp/json",
482 "--isolate-server", 537 "--isolate-server",
483 "https://isolateserver.appspot.com", 538 "https://isolateserver.appspot.com",
484 "--verbose", 539 "--verbose",
485 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json" 540 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json"
486 ], 541 ],
487 "name": "isolate tests (2)", 542 "name": "isolate tests (3)",
488 "~followup_annotations": [ 543 "~followup_annotations": [
489 "@@@STEP_LOG_LINE@json.output@{@@@", 544 "@@@STEP_LOG_LINE@json.output@{@@@",
490 "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compil e_skia]\"@@@", 545 "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compil e_skia]\"@@@",
491 "@@@STEP_LOG_LINE@json.output@}@@@", 546 "@@@STEP_LOG_LINE@json.output@}@@@",
492 "@@@STEP_LOG_END@json.output@@@", 547 "@@@STEP_LOG_END@json.output@@@",
493 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for c ompile_skia]\"}@@@" 548 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for c ompile_skia]\"}@@@"
494 ] 549 ]
495 }, 550 },
496 { 551 {
497 "cmd": [ 552 "cmd": [
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 "name": "Get expected SK_IMAGE_VERSION" 861 "name": "Get expected SK_IMAGE_VERSION"
807 }, 862 },
808 { 863 {
809 "cmd": [ 864 "cmd": [
810 "python", 865 "python",
811 "-u", 866 "-u",
812 "\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", 867 "\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",
813 "[SLAVE_BUILD]/swarming_temp_dir", 868 "[SLAVE_BUILD]/swarming_temp_dir",
814 "511" 869 "511"
815 ], 870 ],
816 "name": "makedirs swarming tmp dir (3)", 871 "name": "makedirs swarming tmp dir (4)",
817 "~followup_annotations": [ 872 "~followup_annotations": [
818 "@@@STEP_LOG_LINE@python.inline@@@@", 873 "@@@STEP_LOG_LINE@python.inline@@@@",
819 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 874 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
820 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 875 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
821 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 876 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
822 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 877 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
823 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 878 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
824 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 879 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
825 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 880 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
826 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 881 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
(...skipping 17 matching lines...) Expand all
844 "RECIPE_MODULE[build::isolate]/resources/isolate.py", 899 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
845 "[SLAVE_BUILD]/swarming.client", 900 "[SLAVE_BUILD]/swarming.client",
846 "batcharchive", 901 "batcharchive",
847 "--dump-json", 902 "--dump-json",
848 "/path/to/tmp/json", 903 "/path/to/tmp/json",
849 "--isolate-server", 904 "--isolate-server",
850 "https://isolateserver.appspot.com", 905 "https://isolateserver.appspot.com",
851 "--verbose", 906 "--verbose",
852 "[SLAVE_BUILD]/swarming_temp_dir/test_skia.isolated.gen.json" 907 "[SLAVE_BUILD]/swarming_temp_dir/test_skia.isolated.gen.json"
853 ], 908 ],
854 "name": "isolate tests (3)", 909 "name": "isolate tests (4)",
855 "~followup_annotations": [ 910 "~followup_annotations": [
856 "@@@STEP_LOG_LINE@json.output@{@@@", 911 "@@@STEP_LOG_LINE@json.output@{@@@",
857 "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia ]\"@@@", 912 "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia ]\"@@@",
858 "@@@STEP_LOG_LINE@json.output@}@@@", 913 "@@@STEP_LOG_LINE@json.output@}@@@",
859 "@@@STEP_LOG_END@json.output@@@", 914 "@@@STEP_LOG_END@json.output@@@",
860 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test _skia]\"}@@@" 915 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test _skia]\"}@@@"
861 ] 916 ]
862 }, 917 },
863 { 918 {
864 "cmd": [ 919 "cmd": [
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
980 ] 1035 ]
981 }, 1036 },
982 { 1037 {
983 "cmd": [ 1038 "cmd": [
984 "python", 1039 "python",
985 "-u", 1040 "-u",
986 "\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", 1041 "\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",
987 "[SLAVE_BUILD]/swarming_temp_dir", 1042 "[SLAVE_BUILD]/swarming_temp_dir",
988 "511" 1043 "511"
989 ], 1044 ],
990 "name": "makedirs swarming tmp dir (4)", 1045 "name": "makedirs swarming tmp dir (5)",
991 "~followup_annotations": [ 1046 "~followup_annotations": [
992 "@@@STEP_LOG_LINE@python.inline@@@@", 1047 "@@@STEP_LOG_LINE@python.inline@@@@",
993 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 1048 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
994 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 1049 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
995 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 1050 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
996 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 1051 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
997 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 1052 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
998 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 1053 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
999 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 1054 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
1000 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 1055 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
(...skipping 17 matching lines...) Expand all
1018 "RECIPE_MODULE[build::isolate]/resources/isolate.py", 1073 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
1019 "[SLAVE_BUILD]/swarming.client", 1074 "[SLAVE_BUILD]/swarming.client",
1020 "batcharchive", 1075 "batcharchive",
1021 "--dump-json", 1076 "--dump-json",
1022 "/path/to/tmp/json", 1077 "/path/to/tmp/json",
1023 "--isolate-server", 1078 "--isolate-server",
1024 "https://isolateserver.appspot.com", 1079 "https://isolateserver.appspot.com",
1025 "--verbose", 1080 "--verbose",
1026 "[SLAVE_BUILD]/swarming_temp_dir/perf_skia.isolated.gen.json" 1081 "[SLAVE_BUILD]/swarming_temp_dir/perf_skia.isolated.gen.json"
1027 ], 1082 ],
1028 "name": "isolate tests (4)", 1083 "name": "isolate tests (5)",
1029 "~followup_annotations": [ 1084 "~followup_annotations": [
1030 "@@@STEP_LOG_LINE@json.output@{@@@", 1085 "@@@STEP_LOG_LINE@json.output@{@@@",
1031 "@@@STEP_LOG_LINE@json.output@ \"perf_skia\": \"[dummy hash for perf_skia ]\"@@@", 1086 "@@@STEP_LOG_LINE@json.output@ \"perf_skia\": \"[dummy hash for perf_skia ]\"@@@",
1032 "@@@STEP_LOG_LINE@json.output@}@@@", 1087 "@@@STEP_LOG_LINE@json.output@}@@@",
1033 "@@@STEP_LOG_END@json.output@@@", 1088 "@@@STEP_LOG_END@json.output@@@",
1034 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"perf_skia\": \"[dummy hash for perf _skia]\"}@@@" 1089 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"perf_skia\": \"[dummy hash for perf _skia]\"}@@@"
1035 ] 1090 ]
1036 }, 1091 },
1037 { 1092 {
1038 "cmd": [ 1093 "cmd": [
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
1363 "@@@STEP_LOG_END@json.output@@@", 1418 "@@@STEP_LOG_END@json.output@@@",
1364 "@@@STEP_LINK@shard #0 isolated out@blah@@@" 1419 "@@@STEP_LINK@shard #0 isolated out@blah@@@"
1365 ] 1420 ]
1366 }, 1421 },
1367 { 1422 {
1368 "name": "$result", 1423 "name": "$result",
1369 "recipe_result": null, 1424 "recipe_result": null,
1370 "status_code": 0 1425 "status_code": 0
1371 } 1426 }
1372 ] 1427 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698