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