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

Side by Side Diff: scripts/slave/recipes/skia/swarm_trigger.expected/Wrong_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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
818 "name": "Get expected SK_IMAGE_VERSION" 873 "name": "Get expected SK_IMAGE_VERSION"
819 }, 874 },
820 { 875 {
821 "cmd": [ 876 "cmd": [
822 "python", 877 "python",
823 "-u", 878 "-u",
824 "\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", 879 "\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",
825 "[SLAVE_BUILD]/swarming_temp_dir", 880 "[SLAVE_BUILD]/swarming_temp_dir",
826 "511" 881 "511"
827 ], 882 ],
828 "name": "makedirs swarming tmp dir (3)", 883 "name": "makedirs swarming tmp dir (4)",
829 "~followup_annotations": [ 884 "~followup_annotations": [
830 "@@@STEP_LOG_LINE@python.inline@@@@", 885 "@@@STEP_LOG_LINE@python.inline@@@@",
831 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 886 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
832 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 887 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
833 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 888 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
834 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 889 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
835 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 890 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
836 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 891 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
837 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 892 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
838 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 893 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
(...skipping 17 matching lines...) Expand all
856 "RECIPE_MODULE[build::isolate]/resources/isolate.py", 911 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
857 "[SLAVE_BUILD]/swarming.client", 912 "[SLAVE_BUILD]/swarming.client",
858 "batcharchive", 913 "batcharchive",
859 "--dump-json", 914 "--dump-json",
860 "/path/to/tmp/json", 915 "/path/to/tmp/json",
861 "--isolate-server", 916 "--isolate-server",
862 "https://isolateserver.appspot.com", 917 "https://isolateserver.appspot.com",
863 "--verbose", 918 "--verbose",
864 "[SLAVE_BUILD]/swarming_temp_dir/test_skia.isolated.gen.json" 919 "[SLAVE_BUILD]/swarming_temp_dir/test_skia.isolated.gen.json"
865 ], 920 ],
866 "name": "isolate tests (3)", 921 "name": "isolate tests (4)",
867 "~followup_annotations": [ 922 "~followup_annotations": [
868 "@@@STEP_LOG_LINE@json.output@{@@@", 923 "@@@STEP_LOG_LINE@json.output@{@@@",
869 "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia ]\"@@@", 924 "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia ]\"@@@",
870 "@@@STEP_LOG_LINE@json.output@}@@@", 925 "@@@STEP_LOG_LINE@json.output@}@@@",
871 "@@@STEP_LOG_END@json.output@@@", 926 "@@@STEP_LOG_END@json.output@@@",
872 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test _skia]\"}@@@" 927 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test _skia]\"}@@@"
873 ] 928 ]
874 }, 929 },
875 { 930 {
876 "cmd": [ 931 "cmd": [
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 ] 1047 ]
993 }, 1048 },
994 { 1049 {
995 "cmd": [ 1050 "cmd": [
996 "python", 1051 "python",
997 "-u", 1052 "-u",
998 "\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", 1053 "\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",
999 "[SLAVE_BUILD]/swarming_temp_dir", 1054 "[SLAVE_BUILD]/swarming_temp_dir",
1000 "511" 1055 "511"
1001 ], 1056 ],
1002 "name": "makedirs swarming tmp dir (4)", 1057 "name": "makedirs swarming tmp dir (5)",
1003 "~followup_annotations": [ 1058 "~followup_annotations": [
1004 "@@@STEP_LOG_LINE@python.inline@@@@", 1059 "@@@STEP_LOG_LINE@python.inline@@@@",
1005 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 1060 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
1006 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 1061 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
1007 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 1062 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
1008 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 1063 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
1009 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 1064 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
1010 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 1065 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
1011 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 1066 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
1012 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 1067 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
(...skipping 17 matching lines...) Expand all
1030 "RECIPE_MODULE[build::isolate]/resources/isolate.py", 1085 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
1031 "[SLAVE_BUILD]/swarming.client", 1086 "[SLAVE_BUILD]/swarming.client",
1032 "batcharchive", 1087 "batcharchive",
1033 "--dump-json", 1088 "--dump-json",
1034 "/path/to/tmp/json", 1089 "/path/to/tmp/json",
1035 "--isolate-server", 1090 "--isolate-server",
1036 "https://isolateserver.appspot.com", 1091 "https://isolateserver.appspot.com",
1037 "--verbose", 1092 "--verbose",
1038 "[SLAVE_BUILD]/swarming_temp_dir/perf_skia.isolated.gen.json" 1093 "[SLAVE_BUILD]/swarming_temp_dir/perf_skia.isolated.gen.json"
1039 ], 1094 ],
1040 "name": "isolate tests (4)", 1095 "name": "isolate tests (5)",
1041 "~followup_annotations": [ 1096 "~followup_annotations": [
1042 "@@@STEP_LOG_LINE@json.output@{@@@", 1097 "@@@STEP_LOG_LINE@json.output@{@@@",
1043 "@@@STEP_LOG_LINE@json.output@ \"perf_skia\": \"[dummy hash for perf_skia ]\"@@@", 1098 "@@@STEP_LOG_LINE@json.output@ \"perf_skia\": \"[dummy hash for perf_skia ]\"@@@",
1044 "@@@STEP_LOG_LINE@json.output@}@@@", 1099 "@@@STEP_LOG_LINE@json.output@}@@@",
1045 "@@@STEP_LOG_END@json.output@@@", 1100 "@@@STEP_LOG_END@json.output@@@",
1046 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"perf_skia\": \"[dummy hash for perf _skia]\"}@@@" 1101 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"perf_skia\": \"[dummy hash for perf _skia]\"}@@@"
1047 ] 1102 ]
1048 }, 1103 },
1049 { 1104 {
1050 "cmd": [ 1105 "cmd": [
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
1375 "@@@STEP_LOG_END@json.output@@@", 1430 "@@@STEP_LOG_END@json.output@@@",
1376 "@@@STEP_LINK@shard #0 isolated out@blah@@@" 1431 "@@@STEP_LINK@shard #0 isolated out@blah@@@"
1377 ] 1432 ]
1378 }, 1433 },
1379 { 1434 {
1380 "name": "$result", 1435 "name": "$result",
1381 "recipe_result": null, 1436 "recipe_result": null,
1382 "status_code": 0 1437 "status_code": 0
1383 } 1438 }
1384 ] 1439 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698