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 799 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
810 "env": { | 810 "env": { |
811 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 811 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
812 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 812 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
813 }, | 813 }, |
814 "name": "provision_devices (2)" | 814 "name": "provision_devices (2)" |
815 }, | 815 }, |
816 { | 816 { |
817 "cmd": [ | 817 "cmd": [ |
818 "python", | 818 "python", |
819 "-u", | 819 "-u", |
| 820 "[SLAVE_BUILD]/src/build/symlink.py", |
| 821 "-f", |
| 822 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 823 "~/adb" |
| 824 ], |
| 825 "name": "create adb symlink" |
| 826 }, |
| 827 { |
| 828 "cmd": [ |
| 829 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
| 830 "--", |
| 831 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", |
| 832 "[SLAVE_BUILD]/src/out/logcat", |
| 833 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
| 834 ], |
| 835 "env": { |
| 836 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 837 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 838 }, |
| 839 "name": "spawn_logcat_monitor (2)" |
| 840 }, |
| 841 { |
| 842 "cmd": [ |
| 843 "python", |
| 844 "-u", |
| 845 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
| 846 "--action", |
| 847 "restart", |
| 848 "--pid-file-path", |
| 849 "/tmp/device_monitor.pid", |
| 850 "--", |
| 851 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_m
onitor.py", |
| 852 "--adb-path", |
| 853 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 854 "--blacklist-file", |
| 855 "[SLAVE_BUILD]/src/out/bad_devices.json" |
| 856 ], |
| 857 "name": "spawn_device_monitor" |
| 858 }, |
| 859 { |
| 860 "cmd": [ |
| 861 "python", |
| 862 "-u", |
| 863 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py
", |
| 864 "--verbose", |
| 865 "--adb-path", |
| 866 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
| 867 ], |
| 868 "env": { |
| 869 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 870 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 871 }, |
| 872 "name": "authorize_adb_devices (2)" |
| 873 }, |
| 874 { |
| 875 "cmd": [ |
| 876 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r
ecovery.py", |
| 877 "--blacklist-file", |
| 878 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 879 "--known-devices-file", |
| 880 "[HOME]/.android/known_devices.json", |
| 881 "--adb-path", |
| 882 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 883 "-v" |
| 884 ], |
| 885 "env": { |
| 886 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 887 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 888 }, |
| 889 "name": "device_recovery (4)" |
| 890 }, |
| 891 { |
| 892 "cmd": [ |
| 893 "python", |
| 894 "-u", |
| 895 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
| 896 "--adb-path", |
| 897 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 898 "--blacklist-file", |
| 899 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 900 "--output-device-blacklist", |
| 901 "/path/to/tmp/json", |
| 902 "-t", |
| 903 "Release" |
| 904 ], |
| 905 "env": { |
| 906 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 907 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 908 }, |
| 909 "name": "provision_devices (3)" |
| 910 }, |
| 911 { |
| 912 "cmd": [ |
| 913 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s
tatus.py", |
| 914 "--json-output", |
| 915 "/path/to/tmp/json", |
| 916 "--blacklist-file", |
| 917 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 918 "--known-devices-file", |
| 919 "[HOME]/.android/known_devices.json", |
| 920 "--buildbot-path", |
| 921 "/home/chrome-bot/.adb_device_info", |
| 922 "--adb-path", |
| 923 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 924 "-v", |
| 925 "--overwrite-known-devices-files" |
| 926 ], |
| 927 "env": { |
| 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": "device_status (4)", |
| 932 "~followup_annotations": [ |
| 933 "@@@STEP_TEXT@Online devices: 1@@@", |
| 934 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 935 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 936 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
| 937 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
| 938 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
| 939 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
| 940 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", |
| 941 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", |
| 942 "@@@STEP_LOG_LINE@json.output@ \"level\": \"100\", @@@", |
| 943 "@@@STEP_LOG_LINE@json.output@ \"present\": \"true\", @@@", |
| 944 "@@@STEP_LOG_LINE@json.output@ \"scale\": \"100\", @@@", |
| 945 "@@@STEP_LOG_LINE@json.output@ \"status\": \"5\", @@@", |
| 946 "@@@STEP_LOG_LINE@json.output@ \"technology\": \"Li-ion\", @@@", |
| 947 "@@@STEP_LOG_LINE@json.output@ \"temperature\": \"249\", @@@", |
| 948 "@@@STEP_LOG_LINE@json.output@ \"voltage\": \"4286\"@@@", |
| 949 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 950 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": false, @@@", |
| 951 "@@@STEP_LOG_LINE@json.output@ \"build_detail\": \"google/razor/flo:5.0
/LRX21O/1570415:userdebug/dev-keys\", @@@", |
| 952 "@@@STEP_LOG_LINE@json.output@ \"imei_slice\": \"Unknown\", @@@", |
| 953 "@@@STEP_LOG_LINE@json.output@ \"ro.build.id\": \"LRX21O\", @@@", |
| 954 "@@@STEP_LOG_LINE@json.output@ \"ro.build.product\": \"product_name\",
@@@", |
| 955 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"07a00ca4\", @@@", |
| 956 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true, @@@", |
| 957 "@@@STEP_LOG_LINE@json.output@ \"wifi_ip\": \"\"@@@", |
| 958 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 959 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 960 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"offline\", @@@", |
| 961 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": true, @@@", |
| 962 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"03e0363a003c6ad4\", @@@", |
| 963 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": false@@@", |
| 964 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 965 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 966 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"unauthorized\", @@@", |
| 967 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": true, @@@", |
| 968 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"03e0363a003c6ad5\", @@@", |
| 969 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true@@@", |
| 970 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 971 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 972 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
| 973 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": true, @@@", |
| 974 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"03e0363a003c6ad6\", @@@", |
| 975 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true@@@", |
| 976 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 977 "@@@STEP_LOG_LINE@json.output@]@@@", |
| 978 "@@@STEP_LOG_END@json.output@@@", |
| 979 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@{@@@", |
| 980 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"adb_status\": \"device\
", @@@", |
| 981 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"battery\": {@@@", |
| 982 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"AC powered\": \"false
\", @@@", |
| 983 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"USB powered\": \"true
\", @@@", |
| 984 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"Wireless powered\": \
"false\", @@@", |
| 985 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"health\": \"2\", @@@"
, |
| 986 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"level\": \"100\", @@@
", |
| 987 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"present\": \"true\",
@@@", |
| 988 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"scale\": \"100\", @@@
", |
| 989 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"status\": \"5\", @@@"
, |
| 990 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"technology\": \"Li-io
n\", @@@", |
| 991 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"temperature\": \"249\
", @@@", |
| 992 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"voltage\": \"4286\"@@
@", |
| 993 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ }, @@@", |
| 994 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"blacklisted\": false, @
@@", |
| 995 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"build_detail\": \"googl
e/razor/flo:5.0/LRX21O/1570415:userdebug/dev-keys\", @@@", |
| 996 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"imei_slice\": \"Unknown
\", @@@", |
| 997 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"ro.build.id\": \"LRX21O
\", @@@", |
| 998 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"ro.build.product\": \"p
roduct_name\", @@@", |
| 999 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"serial\": \"07a00ca4\",
@@@", |
| 1000 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"usb_status\": true, @@@
", |
| 1001 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"wifi_ip\": \"\"@@@", |
| 1002 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@}@@@", |
| 1003 "@@@STEP_LOG_END@product_name LRX21O 07a00ca4@@@", |
| 1004 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@{@@@", |
| 1005 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"adb_status\": \"offline\",
@@@", |
| 1006 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"blacklisted\": true, @@@", |
| 1007 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"serial\": \"03e0363a003c6a
d4\", @@@", |
| 1008 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"usb_status\": false@@@", |
| 1009 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@}@@@", |
| 1010 "@@@STEP_LOG_END@03e0363a003c6ad4: missing@@@", |
| 1011 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@{@@@", |
| 1012 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"adb_status
\": \"unauthorized\", @@@", |
| 1013 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"blackliste
d\": true, @@@", |
| 1014 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"serial\":
\"03e0363a003c6ad5\", @@@", |
| 1015 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"usb_status
\": true@@@", |
| 1016 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@}@@@", |
| 1017 "@@@STEP_LOG_END@03e0363a003c6ad5: adb status unauthorized@@@", |
| 1018 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@{@@@", |
| 1019 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"adb_status\": \"device
\", @@@", |
| 1020 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"blacklisted\": true, @
@@", |
| 1021 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", |
| 1022 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, |
| 1023 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", |
| 1024 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" |
| 1025 ] |
| 1026 }, |
| 1027 { |
| 1028 "cmd": [ |
| 1029 "python", |
| 1030 "-u", |
820 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 1031 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
821 "monkey", | 1032 "monkey", |
822 "-v", | 1033 "-v", |
823 "--package=chrome", | 1034 "--package=chrome", |
824 "--event-count=50000", | 1035 "--event-count=50000", |
825 "--blacklist-file", | 1036 "--blacklist-file", |
826 "[SLAVE_BUILD]/src/out/bad_devices.json", | 1037 "[SLAVE_BUILD]/src/out/bad_devices.json", |
827 "--adb-path", | 1038 "--adb-path", |
828 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | 1039 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
829 ], | 1040 ], |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
969 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 1180 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
970 }, | 1181 }, |
971 "name": "stack_tool_for_asan" | 1182 "name": "stack_tool_for_asan" |
972 }, | 1183 }, |
973 { | 1184 { |
974 "name": "$result", | 1185 "name": "$result", |
975 "recipe_result": null, | 1186 "recipe_result": null, |
976 "status_code": 0 | 1187 "status_code": 0 |
977 } | 1188 } |
978 ] | 1189 ] |
OLD | NEW |