OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", | 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", |
7 "[SLAVE_BUILD]" | 7 "[SLAVE_BUILD]" |
8 ], | 8 ], |
9 "name": "cleanup index.lock", | 9 "name": "cleanup index.lock", |
10 "~followup_annotations": [ | 10 "~followup_annotations": [ |
(...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
808 "env": { | 808 "env": { |
809 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 809 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
810 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 810 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
811 }, | 811 }, |
812 "name": "provision_devices (2)" | 812 "name": "provision_devices (2)" |
813 }, | 813 }, |
814 { | 814 { |
815 "cmd": [ | 815 "cmd": [ |
816 "python", | 816 "python", |
817 "-u", | 817 "-u", |
| 818 "\nimport sys\nsys.path.append(sys.argv[1])\nfrom devil import devil_env\n
devil_env.config.Initialize()\ndevil_env.config.PrefetchPaths(dependencies=['adb
'])\n", |
| 819 "[SLAVE_BUILD]/src/third_party/catapult/devil" |
| 820 ], |
| 821 "name": "initialize devil", |
| 822 "~followup_annotations": [ |
| 823 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 824 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 825 "@@@STEP_LOG_LINE@python.inline@sys.path.append(sys.argv[1])@@@", |
| 826 "@@@STEP_LOG_LINE@python.inline@from devil import devil_env@@@", |
| 827 "@@@STEP_LOG_LINE@python.inline@devil_env.config.Initialize()@@@", |
| 828 "@@@STEP_LOG_LINE@python.inline@devil_env.config.PrefetchPaths(dependencie
s=['adb'])@@@", |
| 829 "@@@STEP_LOG_END@python.inline@@@" |
| 830 ] |
| 831 }, |
| 832 { |
| 833 "cmd": [ |
| 834 "python", |
| 835 "-u", |
| 836 "[SLAVE_BUILD]/src/build/symlink.py", |
| 837 "-f", |
| 838 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db", |
| 839 "~/adb" |
| 840 ], |
| 841 "name": "create adb symlink" |
| 842 }, |
| 843 { |
| 844 "cmd": [ |
| 845 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
| 846 "--", |
| 847 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", |
| 848 "[SLAVE_BUILD]/src/out/logcat", |
| 849 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db" |
| 850 ], |
| 851 "env": { |
| 852 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 853 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 854 }, |
| 855 "name": "spawn_logcat_monitor (2)" |
| 856 }, |
| 857 { |
| 858 "cmd": [ |
| 859 "python", |
| 860 "-u", |
| 861 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
| 862 "--action", |
| 863 "restart", |
| 864 "--pid-file-path", |
| 865 "/tmp/device_monitor.pid", |
| 866 "--", |
| 867 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_m
onitor.py", |
| 868 "--adb-path", |
| 869 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db", |
| 870 "--blacklist-file", |
| 871 "[SLAVE_BUILD]/src/out/bad_devices.json" |
| 872 ], |
| 873 "name": "spawn_device_monitor" |
| 874 }, |
| 875 { |
| 876 "cmd": [ |
| 877 "python", |
| 878 "-u", |
| 879 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py
", |
| 880 "--verbose", |
| 881 "--adb-path", |
| 882 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db" |
| 883 ], |
| 884 "env": { |
| 885 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 886 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 887 }, |
| 888 "name": "authorize_adb_devices (2)" |
| 889 }, |
| 890 { |
| 891 "cmd": [ |
| 892 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r
ecovery.py", |
| 893 "--blacklist-file", |
| 894 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 895 "--known-devices-file", |
| 896 "[HOME]/.android/known_devices.json", |
| 897 "--adb-path", |
| 898 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db", |
| 899 "-v" |
| 900 ], |
| 901 "env": { |
| 902 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 903 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 904 }, |
| 905 "name": "device_recovery (4)" |
| 906 }, |
| 907 { |
| 908 "cmd": [ |
| 909 "python", |
| 910 "-u", |
| 911 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
| 912 "--adb-path", |
| 913 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db", |
| 914 "--blacklist-file", |
| 915 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 916 "--output-device-blacklist", |
| 917 "/path/to/tmp/json", |
| 918 "-t", |
| 919 "Release" |
| 920 ], |
| 921 "env": { |
| 922 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 923 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 924 }, |
| 925 "name": "provision_devices (3)" |
| 926 }, |
| 927 { |
| 928 "cmd": [ |
| 929 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s
tatus.py", |
| 930 "--json-output", |
| 931 "/path/to/tmp/json", |
| 932 "--blacklist-file", |
| 933 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 934 "--known-devices-file", |
| 935 "[HOME]/.android/known_devices.json", |
| 936 "--buildbot-path", |
| 937 "/home/chrome-bot/.adb_device_info", |
| 938 "--adb-path", |
| 939 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db", |
| 940 "-v", |
| 941 "--overwrite-known-devices-files" |
| 942 ], |
| 943 "env": { |
| 944 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 945 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 946 }, |
| 947 "name": "device_status (4)", |
| 948 "~followup_annotations": [ |
| 949 "@@@STEP_TEXT@Online devices: 1@@@", |
| 950 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 951 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 952 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
| 953 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
| 954 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
| 955 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
| 956 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", |
| 957 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", |
| 958 "@@@STEP_LOG_LINE@json.output@ \"level\": \"100\", @@@", |
| 959 "@@@STEP_LOG_LINE@json.output@ \"present\": \"true\", @@@", |
| 960 "@@@STEP_LOG_LINE@json.output@ \"scale\": \"100\", @@@", |
| 961 "@@@STEP_LOG_LINE@json.output@ \"status\": \"5\", @@@", |
| 962 "@@@STEP_LOG_LINE@json.output@ \"technology\": \"Li-ion\", @@@", |
| 963 "@@@STEP_LOG_LINE@json.output@ \"temperature\": \"249\", @@@", |
| 964 "@@@STEP_LOG_LINE@json.output@ \"voltage\": \"4286\"@@@", |
| 965 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 966 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": false, @@@", |
| 967 "@@@STEP_LOG_LINE@json.output@ \"build_detail\": \"google/razor/flo:5.0
/LRX21O/1570415:userdebug/dev-keys\", @@@", |
| 968 "@@@STEP_LOG_LINE@json.output@ \"imei_slice\": \"Unknown\", @@@", |
| 969 "@@@STEP_LOG_LINE@json.output@ \"ro.build.id\": \"LRX21O\", @@@", |
| 970 "@@@STEP_LOG_LINE@json.output@ \"ro.build.product\": \"product_name\",
@@@", |
| 971 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"07a00ca4\", @@@", |
| 972 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true, @@@", |
| 973 "@@@STEP_LOG_LINE@json.output@ \"wifi_ip\": \"\"@@@", |
| 974 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 975 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 976 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"offline\", @@@", |
| 977 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": true, @@@", |
| 978 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"03e0363a003c6ad4\", @@@", |
| 979 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": false@@@", |
| 980 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 981 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 982 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"unauthorized\", @@@", |
| 983 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": true, @@@", |
| 984 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"03e0363a003c6ad5\", @@@", |
| 985 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true@@@", |
| 986 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 987 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 988 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
| 989 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": true, @@@", |
| 990 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"03e0363a003c6ad6\", @@@", |
| 991 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true@@@", |
| 992 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 993 "@@@STEP_LOG_LINE@json.output@]@@@", |
| 994 "@@@STEP_LOG_END@json.output@@@", |
| 995 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@{@@@", |
| 996 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"adb_status\": \"device\
", @@@", |
| 997 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"battery\": {@@@", |
| 998 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"AC powered\": \"false
\", @@@", |
| 999 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"USB powered\": \"true
\", @@@", |
| 1000 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"Wireless powered\": \
"false\", @@@", |
| 1001 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"health\": \"2\", @@@"
, |
| 1002 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"level\": \"100\", @@@
", |
| 1003 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"present\": \"true\",
@@@", |
| 1004 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"scale\": \"100\", @@@
", |
| 1005 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"status\": \"5\", @@@"
, |
| 1006 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"technology\": \"Li-io
n\", @@@", |
| 1007 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"temperature\": \"249\
", @@@", |
| 1008 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"voltage\": \"4286\"@@
@", |
| 1009 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ }, @@@", |
| 1010 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"blacklisted\": false, @
@@", |
| 1011 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"build_detail\": \"googl
e/razor/flo:5.0/LRX21O/1570415:userdebug/dev-keys\", @@@", |
| 1012 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"imei_slice\": \"Unknown
\", @@@", |
| 1013 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"ro.build.id\": \"LRX21O
\", @@@", |
| 1014 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"ro.build.product\": \"p
roduct_name\", @@@", |
| 1015 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"serial\": \"07a00ca4\",
@@@", |
| 1016 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"usb_status\": true, @@@
", |
| 1017 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"wifi_ip\": \"\"@@@", |
| 1018 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@}@@@", |
| 1019 "@@@STEP_LOG_END@product_name LRX21O 07a00ca4@@@", |
| 1020 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@{@@@", |
| 1021 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"adb_status\": \"offline\",
@@@", |
| 1022 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"blacklisted\": true, @@@", |
| 1023 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"serial\": \"03e0363a003c6a
d4\", @@@", |
| 1024 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"usb_status\": false@@@", |
| 1025 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@}@@@", |
| 1026 "@@@STEP_LOG_END@03e0363a003c6ad4: missing@@@", |
| 1027 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@{@@@", |
| 1028 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"adb_status
\": \"unauthorized\", @@@", |
| 1029 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"blackliste
d\": true, @@@", |
| 1030 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"serial\":
\"03e0363a003c6ad5\", @@@", |
| 1031 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"usb_status
\": true@@@", |
| 1032 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@}@@@", |
| 1033 "@@@STEP_LOG_END@03e0363a003c6ad5: adb status unauthorized@@@", |
| 1034 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@{@@@", |
| 1035 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"adb_status\": \"device
\", @@@", |
| 1036 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"blacklisted\": true, @
@@", |
| 1037 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", |
| 1038 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, |
| 1039 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", |
| 1040 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" |
| 1041 ] |
| 1042 }, |
| 1043 { |
| 1044 "cmd": [ |
| 1045 "python", |
| 1046 "-u", |
818 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 1047 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
819 "monkey", | 1048 "monkey", |
820 "-v", | 1049 "-v", |
821 "--package=chrome", | 1050 "--package=chrome", |
822 "--event-count=50000", | 1051 "--event-count=50000", |
823 "--blacklist-file", | 1052 "--blacklist-file", |
824 "[SLAVE_BUILD]/src/out/bad_devices.json", | 1053 "[SLAVE_BUILD]/src/out/bad_devices.json", |
825 "--adb-path", | 1054 "--adb-path", |
826 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | 1055 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db" |
827 ], | 1056 ], |
828 "env": { | 1057 "env": { |
829 "BUILDTYPE": "Release", | 1058 "BUILDTYPE": "Release", |
830 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release" | 1059 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release" |
831 }, | 1060 }, |
832 "name": "Monkey Test" | 1061 "name": "Monkey Test" |
833 }, | 1062 }, |
834 { | 1063 { |
835 "cmd": [ | 1064 "cmd": [ |
836 "python", | 1065 "python", |
(...skipping 13 matching lines...) Expand all Loading... |
850 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebViewTest.apk", | 1079 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebViewTest.apk", |
851 "--apk-under-test", | 1080 "--apk-under-test", |
852 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk", | 1081 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk", |
853 "--additional-apk", | 1082 "--additional-apk", |
854 "Additional.apk", | 1083 "Additional.apk", |
855 "--isolate-file-path", | 1084 "--isolate-file-path", |
856 "android_webview/android_webview_test_data.isolate", | 1085 "android_webview/android_webview_test_data.isolate", |
857 "--release", | 1086 "--release", |
858 "--official-build", | 1087 "--official-build", |
859 "--adb-path", | 1088 "--adb-path", |
860 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | 1089 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db" |
861 ], | 1090 ], |
862 "env": { | 1091 "env": { |
863 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release" | 1092 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release" |
864 }, | 1093 }, |
865 "name": "SmallTest" | 1094 "name": "SmallTest" |
866 }, | 1095 }, |
867 { | 1096 { |
868 "cmd": [ | 1097 "cmd": [ |
869 "python", | 1098 "python", |
870 "-u", | 1099 "-u", |
871 "[SLAVE_BUILD]/src/out/Release/bin/run_unittests", | 1100 "[SLAVE_BUILD]/src/out/Release/bin/run_unittests", |
872 "--blacklist-file", | 1101 "--blacklist-file", |
873 "[SLAVE_BUILD]/src/out/bad_devices.json", | 1102 "[SLAVE_BUILD]/src/out/bad_devices.json", |
874 "--verbose", | 1103 "--verbose", |
875 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate", | 1104 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate", |
876 "--gtest_filter=WebRtc*", | 1105 "--gtest_filter=WebRtc*", |
877 "--tool=asan", | 1106 "--tool=asan", |
878 "--adb-path", | 1107 "--adb-path", |
879 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | 1108 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db" |
880 ], | 1109 ], |
881 "env": { | 1110 "env": { |
882 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 1111 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
883 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 1112 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
884 }, | 1113 }, |
885 "name": "unittests" | 1114 "name": "unittests" |
886 }, | 1115 }, |
887 { | 1116 { |
888 "cmd": [ | 1117 "cmd": [ |
889 "[SLAVE_BUILD]/src/tools/prepare-bisect-perf-regression.py", | 1118 "[SLAVE_BUILD]/src/tools/prepare-bisect-perf-regression.py", |
890 "-w", | 1119 "-w", |
891 "[SLAVE_BUILD]" | 1120 "[SLAVE_BUILD]" |
892 ], | 1121 ], |
893 "name": "prepare bisect perf regression" | 1122 "name": "prepare bisect perf regression" |
894 }, | 1123 }, |
895 { | 1124 { |
896 "cmd": [ | 1125 "cmd": [ |
897 "[SLAVE_BUILD]/src/tools/run-bisect-perf-regression.py", | 1126 "[SLAVE_BUILD]/src/tools/run-bisect-perf-regression.py", |
898 "-w", | 1127 "-w", |
899 "[SLAVE_BUILD]", | 1128 "[SLAVE_BUILD]", |
900 "--extra_src", | 1129 "--extra_src", |
901 "test.py", | 1130 "test.py", |
902 "--path_to_config", | 1131 "--path_to_config", |
903 "test.py" | 1132 "test.py" |
904 ], | 1133 ], |
905 "name": "run bisect perf regression" | 1134 "name": "run bisect perf regression" |
906 }, | 1135 }, |
907 { | 1136 { |
908 "cmd": [ | 1137 "cmd": [ |
909 "python", | |
910 "-u", | |
911 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
912 "perf", | |
913 "--release", | |
914 "--verbose", | |
915 "--steps", | |
916 "{\"steps\": {\"resource_sizes (Example.apk)\": {\"archive_output_dir\": t
rue, \"cmd\": \"build/android/resource_sizes.py '[SLAVE_BUILD]/src/out/Release/a
pks/Example.apk' --chartjson\", \"device_affinity\": null}}, \"version\": 1}", | |
917 "--blacklist-file", | |
918 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
919 "--num-retries", | |
920 "0", | |
921 "--collect-chartjson-data", | |
922 "--adb-path", | |
923 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | |
924 ], | |
925 "cwd": "[SLAVE_BUILD]/src", | |
926 "env": { | |
927 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | |
928 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
929 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
930 }, | |
931 "name": "Sharded Perf Tests" | |
932 }, | |
933 { | |
934 "cmd": [ | |
935 "python", | |
936 "-u", | |
937 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
938 "perf", | |
939 "--steps", | |
940 "{\"steps\": {\"resource_sizes (Example.apk)\": {\"archive_output_dir\": t
rue, \"cmd\": \"build/android/resource_sizes.py '[SLAVE_BUILD]/src/out/Release/a
pks/Example.apk' --chartjson\", \"device_affinity\": null}}, \"version\": 1}", | |
941 "--output-json-list", | |
942 "/path/to/tmp/json", | |
943 "--blacklist-file", | |
944 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
945 "--adb-path", | |
946 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | |
947 ], | |
948 "env": { | |
949 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | |
950 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
951 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
952 }, | |
953 "name": "get perf test list", | |
954 "~followup_annotations": [ | |
955 "@@@STEP_LOG_LINE@json.output@[@@@", | |
956 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
957 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@", | |
958 "@@@STEP_LOG_LINE@json.output@ \"end_time\": 1443438432.949711, @@@", | |
959 "@@@STEP_LOG_LINE@json.output@ \"has_archive\": true, @@@", | |
960 "@@@STEP_LOG_LINE@json.output@ \"test\": \"perf_test.foo\"@@@", | |
961 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
962 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
963 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@", | |
964 "@@@STEP_LOG_LINE@json.output@ \"test\": \"page_cycler.foo\"@@@", | |
965 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
966 "@@@STEP_LOG_LINE@json.output@]@@@", | |
967 "@@@STEP_LOG_END@json.output@@@" | |
968 ] | |
969 }, | |
970 { | |
971 "allow_subannotations": true, | |
972 "cmd": [ | |
973 "python", | |
974 "-u", | |
975 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py", | |
976 "--target", | |
977 "Release", | |
978 "--test-platform", | |
979 "android", | |
980 "--no-xvfb", | |
981 "--factory-properties", | |
982 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
buildername\": \"resource_size_builder\", \"buildnumber\": 571, \"internal\": tr
ue, \"issue\": \"123456789\", \"mastername\": \"chromium.testing.master\", \"pat
chset\": \"1\", \"recipe\": \"chromium_android:example\", \"repo_name\": \"src/r
epo\", \"repo_url\": \"svn://svn.chromium.org/chrome/trunk/src\", \"revision\":
\"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"rietveld\": \"http://rietveld.ex
ample.com\", \"slavename\": \"tehslave\", \"workdir\": \"/path/to/workdir/TestSl
avename\"}", | |
983 "--build-properties", | |
984 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
buildername\": \"resource_size_builder\", \"buildnumber\": 571, \"internal\": tr
ue, \"issue\": \"123456789\", \"mastername\": \"chromium.testing.master\", \"pat
chset\": \"1\", \"recipe\": \"chromium_android:example\", \"repo_name\": \"src/r
epo\", \"repo_url\": \"svn://svn.chromium.org/chrome/trunk/src\", \"revision\":
\"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"rietveld\": \"http://rietveld.ex
ample.com\", \"slavename\": \"tehslave\", \"workdir\": \"/path/to/workdir/TestSl
avename\"}", | |
985 "--annotate=graphing", | |
986 "--results-url=https://chromeperf.appspot.com", | |
987 "--perf-dashboard-id=page_cycler.foo", | |
988 "--perf-id=resource_size_builder", | |
989 "--test-type=page_cycler.foo", | |
990 "--step-name=page_cycler.foo", | |
991 "--chartjson-file", | |
992 "/path/to/tmp/json", | |
993 "--builder-name=resource_size_builder", | |
994 "--slave-name=tehslave", | |
995 "--build-number=571", | |
996 "--run-python-script", | |
997 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
998 "perf", | |
999 "--print-step", | |
1000 "page_cycler.foo", | |
1001 "--verbose", | |
1002 "--adb-path", | |
1003 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | |
1004 "--blacklist-file", | |
1005 "[SLAVE_BUILD]/src/out/bad_devices.json" | |
1006 ], | |
1007 "env": { | |
1008 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | |
1009 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
1010 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
1011 }, | |
1012 "name": "page_cycler.foo", | |
1013 "~followup_annotations": [ | |
1014 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@", | |
1015 "@@@STEP_LOG_LINE@json.output@[]@@@", | |
1016 "@@@STEP_LOG_END@json.output@@@", | |
1017 "@@@STEP_LOG_LINE@device affinity@0@@@", | |
1018 "@@@STEP_LOG_END@device affinity@@@" | |
1019 ] | |
1020 }, | |
1021 { | |
1022 "allow_subannotations": true, | |
1023 "cmd": [ | |
1024 "python", | |
1025 "-u", | |
1026 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py", | |
1027 "--target", | |
1028 "Release", | |
1029 "--test-platform", | |
1030 "android", | |
1031 "--no-xvfb", | |
1032 "--factory-properties", | |
1033 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
buildername\": \"resource_size_builder\", \"buildnumber\": 571, \"internal\": tr
ue, \"issue\": \"123456789\", \"mastername\": \"chromium.testing.master\", \"pat
chset\": \"1\", \"recipe\": \"chromium_android:example\", \"repo_name\": \"src/r
epo\", \"repo_url\": \"svn://svn.chromium.org/chrome/trunk/src\", \"revision\":
\"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"rietveld\": \"http://rietveld.ex
ample.com\", \"slavename\": \"tehslave\", \"workdir\": \"/path/to/workdir/TestSl
avename\"}", | |
1034 "--build-properties", | |
1035 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
buildername\": \"resource_size_builder\", \"buildnumber\": 571, \"internal\": tr
ue, \"issue\": \"123456789\", \"mastername\": \"chromium.testing.master\", \"pat
chset\": \"1\", \"recipe\": \"chromium_android:example\", \"repo_name\": \"src/r
epo\", \"repo_url\": \"svn://svn.chromium.org/chrome/trunk/src\", \"revision\":
\"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"rietveld\": \"http://rietveld.ex
ample.com\", \"slavename\": \"tehslave\", \"workdir\": \"/path/to/workdir/TestSl
avename\"}", | |
1036 "--annotate=graphing", | |
1037 "--results-url=https://chromeperf.appspot.com", | |
1038 "--perf-dashboard-id=perf_test.foo", | |
1039 "--perf-id=resource_size_builder", | |
1040 "--test-type=perf_test.foo", | |
1041 "--step-name=perf_test.foo", | |
1042 "--chartjson-file", | |
1043 "/path/to/tmp/json", | |
1044 "--builder-name=resource_size_builder", | |
1045 "--slave-name=tehslave", | |
1046 "--build-number=571", | |
1047 "--run-python-script", | |
1048 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
1049 "perf", | |
1050 "--print-step", | |
1051 "perf_test.foo", | |
1052 "--verbose", | |
1053 "--adb-path", | |
1054 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | |
1055 "--blacklist-file", | |
1056 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
1057 "--get-output-dir-archive", | |
1058 "[TMP_BASE]/perf_archives_tmp_1/output_dir.zip" | |
1059 ], | |
1060 "env": { | |
1061 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | |
1062 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
1063 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
1064 }, | |
1065 "name": "perf_test.foo", | |
1066 "~followup_annotations": [ | |
1067 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@", | |
1068 "@@@STEP_LOG_LINE@json.output@[]@@@", | |
1069 "@@@STEP_LOG_END@json.output@@@", | |
1070 "@@@STEP_LOG_LINE@device affinity@0@@@", | |
1071 "@@@STEP_LOG_END@device affinity@@@" | |
1072 ] | |
1073 }, | |
1074 { | |
1075 "cmd": [ | |
1076 "python", | |
1077 "-u", | |
1078 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | |
1079 "--", | |
1080 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | |
1081 "----", | |
1082 "cp", | |
1083 "[TMP_BASE]/perf_archives_tmp_1/output_dir.zip", | |
1084 "gs://Bucket/resource_size_builder/perf_test.foo/20150928T110712_build_571
.zip" | |
1085 ], | |
1086 "name": "gsutil upload perf_test.foo output dir archive", | |
1087 "~followup_annotations": [ | |
1088 "@@@STEP_LINK@output_dir.zip@https://storage.cloud.google.com/Bucket/resou
rce_size_builder/perf_test.foo/20150928T110712_build_571.zip@@@" | |
1089 ] | |
1090 }, | |
1091 { | |
1092 "cmd": [ | |
1093 "python", | 1138 "python", |
1094 "-u", | 1139 "-u", |
1095 "RECIPE_PACKAGE_REPO[build]/scripts/slave/tee.py", | 1140 "RECIPE_PACKAGE_REPO[build]/scripts/slave/tee.py", |
1096 "[SLAVE_BUILD]/src/out/Release/full_log", | 1141 "[SLAVE_BUILD]/src/out/Release/full_log", |
1097 "--", | 1142 "--", |
1098 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", | 1143 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", |
1099 "[SLAVE_BUILD]/src/out/logcat" | 1144 "[SLAVE_BUILD]/src/out/logcat" |
1100 ], | 1145 ], |
1101 "name": "logcat_dump" | 1146 "name": "logcat_dump" |
1102 }, | 1147 }, |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1151 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 1196 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
1152 }, | 1197 }, |
1153 "name": "stack_tool_for_asan" | 1198 "name": "stack_tool_for_asan" |
1154 }, | 1199 }, |
1155 { | 1200 { |
1156 "name": "$result", | 1201 "name": "$result", |
1157 "recipe_result": null, | 1202 "recipe_result": null, |
1158 "status_code": 0 | 1203 "status_code": 0 |
1159 } | 1204 } |
1160 ] | 1205 ] |
OLD | NEW |