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