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 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 "env": { | 726 "env": { |
727 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 727 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
728 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 728 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
729 }, | 729 }, |
730 "name": "provision_devices (2)" | 730 "name": "provision_devices (2)" |
731 }, | 731 }, |
732 { | 732 { |
733 "cmd": [ | 733 "cmd": [ |
734 "python", | 734 "python", |
735 "-u", | 735 "-u", |
| 736 "[SLAVE_BUILD]/src/build/symlink.py", |
| 737 "-f", |
| 738 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 739 "~/adb" |
| 740 ], |
| 741 "name": "create adb symlink" |
| 742 }, |
| 743 { |
| 744 "cmd": [ |
| 745 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
| 746 "--", |
| 747 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", |
| 748 "[SLAVE_BUILD]/src/out/logcat", |
| 749 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
| 750 ], |
| 751 "env": { |
| 752 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 753 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 754 }, |
| 755 "name": "spawn_logcat_monitor (2)" |
| 756 }, |
| 757 { |
| 758 "cmd": [ |
| 759 "python", |
| 760 "-u", |
| 761 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
| 762 "--action", |
| 763 "restart", |
| 764 "--pid-file-path", |
| 765 "/tmp/device_monitor.pid", |
| 766 "--", |
| 767 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_m
onitor.py", |
| 768 "--adb-path", |
| 769 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 770 "--blacklist-file", |
| 771 "[SLAVE_BUILD]/src/out/bad_devices.json" |
| 772 ], |
| 773 "name": "spawn_device_monitor" |
| 774 }, |
| 775 { |
| 776 "cmd": [ |
| 777 "python", |
| 778 "-u", |
| 779 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py
", |
| 780 "--verbose", |
| 781 "--adb-path", |
| 782 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
| 783 ], |
| 784 "env": { |
| 785 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 786 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 787 }, |
| 788 "name": "authorize_adb_devices (2)" |
| 789 }, |
| 790 { |
| 791 "cmd": [ |
| 792 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r
ecovery.py", |
| 793 "--blacklist-file", |
| 794 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 795 "--known-devices-file", |
| 796 "[HOME]/.android/known_devices.json", |
| 797 "--adb-path", |
| 798 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 799 "-v" |
| 800 ], |
| 801 "env": { |
| 802 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 803 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 804 }, |
| 805 "name": "device_recovery (4)" |
| 806 }, |
| 807 { |
| 808 "cmd": [ |
| 809 "python", |
| 810 "-u", |
| 811 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
| 812 "--adb-path", |
| 813 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 814 "--blacklist-file", |
| 815 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 816 "--output-device-blacklist", |
| 817 "/path/to/tmp/json", |
| 818 "-t", |
| 819 "Release" |
| 820 ], |
| 821 "env": { |
| 822 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 823 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 824 }, |
| 825 "name": "provision_devices (3)" |
| 826 }, |
| 827 { |
| 828 "cmd": [ |
| 829 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s
tatus.py", |
| 830 "--json-output", |
| 831 "/path/to/tmp/json", |
| 832 "--blacklist-file", |
| 833 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 834 "--known-devices-file", |
| 835 "[HOME]/.android/known_devices.json", |
| 836 "--buildbot-path", |
| 837 "/home/chrome-bot/.adb_device_info", |
| 838 "--adb-path", |
| 839 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 840 "-v", |
| 841 "--overwrite-known-devices-files" |
| 842 ], |
| 843 "env": { |
| 844 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 845 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 846 }, |
| 847 "name": "device_status (4)", |
| 848 "~followup_annotations": [ |
| 849 "@@@STEP_TEXT@Online devices: 1@@@", |
| 850 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 851 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 852 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
| 853 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
| 854 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
| 855 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
| 856 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", |
| 857 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", |
| 858 "@@@STEP_LOG_LINE@json.output@ \"level\": \"100\", @@@", |
| 859 "@@@STEP_LOG_LINE@json.output@ \"present\": \"true\", @@@", |
| 860 "@@@STEP_LOG_LINE@json.output@ \"scale\": \"100\", @@@", |
| 861 "@@@STEP_LOG_LINE@json.output@ \"status\": \"5\", @@@", |
| 862 "@@@STEP_LOG_LINE@json.output@ \"technology\": \"Li-ion\", @@@", |
| 863 "@@@STEP_LOG_LINE@json.output@ \"temperature\": \"249\", @@@", |
| 864 "@@@STEP_LOG_LINE@json.output@ \"voltage\": \"4286\"@@@", |
| 865 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 866 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": false, @@@", |
| 867 "@@@STEP_LOG_LINE@json.output@ \"build_detail\": \"google/razor/flo:5.0
/LRX21O/1570415:userdebug/dev-keys\", @@@", |
| 868 "@@@STEP_LOG_LINE@json.output@ \"imei_slice\": \"Unknown\", @@@", |
| 869 "@@@STEP_LOG_LINE@json.output@ \"ro.build.id\": \"LRX21O\", @@@", |
| 870 "@@@STEP_LOG_LINE@json.output@ \"ro.build.product\": \"product_name\",
@@@", |
| 871 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"07a00ca4\", @@@", |
| 872 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true, @@@", |
| 873 "@@@STEP_LOG_LINE@json.output@ \"wifi_ip\": \"\"@@@", |
| 874 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 875 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 876 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"offline\", @@@", |
| 877 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": true, @@@", |
| 878 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"03e0363a003c6ad4\", @@@", |
| 879 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": false@@@", |
| 880 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 881 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 882 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"unauthorized\", @@@", |
| 883 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": true, @@@", |
| 884 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"03e0363a003c6ad5\", @@@", |
| 885 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true@@@", |
| 886 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 887 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 888 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
| 889 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": true, @@@", |
| 890 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"03e0363a003c6ad6\", @@@", |
| 891 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true@@@", |
| 892 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 893 "@@@STEP_LOG_LINE@json.output@]@@@", |
| 894 "@@@STEP_LOG_END@json.output@@@", |
| 895 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@{@@@", |
| 896 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"adb_status\": \"device\
", @@@", |
| 897 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"battery\": {@@@", |
| 898 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"AC powered\": \"false
\", @@@", |
| 899 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"USB powered\": \"true
\", @@@", |
| 900 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"Wireless powered\": \
"false\", @@@", |
| 901 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"health\": \"2\", @@@"
, |
| 902 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"level\": \"100\", @@@
", |
| 903 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"present\": \"true\",
@@@", |
| 904 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"scale\": \"100\", @@@
", |
| 905 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"status\": \"5\", @@@"
, |
| 906 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"technology\": \"Li-io
n\", @@@", |
| 907 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"temperature\": \"249\
", @@@", |
| 908 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"voltage\": \"4286\"@@
@", |
| 909 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ }, @@@", |
| 910 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"blacklisted\": false, @
@@", |
| 911 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"build_detail\": \"googl
e/razor/flo:5.0/LRX21O/1570415:userdebug/dev-keys\", @@@", |
| 912 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"imei_slice\": \"Unknown
\", @@@", |
| 913 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"ro.build.id\": \"LRX21O
\", @@@", |
| 914 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"ro.build.product\": \"p
roduct_name\", @@@", |
| 915 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"serial\": \"07a00ca4\",
@@@", |
| 916 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"usb_status\": true, @@@
", |
| 917 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"wifi_ip\": \"\"@@@", |
| 918 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@}@@@", |
| 919 "@@@STEP_LOG_END@product_name LRX21O 07a00ca4@@@", |
| 920 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@{@@@", |
| 921 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"adb_status\": \"offline\",
@@@", |
| 922 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"blacklisted\": true, @@@", |
| 923 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"serial\": \"03e0363a003c6a
d4\", @@@", |
| 924 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"usb_status\": false@@@", |
| 925 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@}@@@", |
| 926 "@@@STEP_LOG_END@03e0363a003c6ad4: missing@@@", |
| 927 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@{@@@", |
| 928 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"adb_status
\": \"unauthorized\", @@@", |
| 929 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"blackliste
d\": true, @@@", |
| 930 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"serial\":
\"03e0363a003c6ad5\", @@@", |
| 931 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"usb_status
\": true@@@", |
| 932 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@}@@@", |
| 933 "@@@STEP_LOG_END@03e0363a003c6ad5: adb status unauthorized@@@", |
| 934 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@{@@@", |
| 935 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"adb_status\": \"device
\", @@@", |
| 936 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"blacklisted\": true, @
@@", |
| 937 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", |
| 938 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, |
| 939 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", |
| 940 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" |
| 941 ] |
| 942 }, |
| 943 { |
| 944 "cmd": [ |
| 945 "python", |
| 946 "-u", |
736 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 947 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
737 "monkey", | 948 "monkey", |
738 "-v", | 949 "-v", |
739 "--package=chrome", | 950 "--package=chrome", |
740 "--event-count=50000", | 951 "--event-count=50000", |
741 "--blacklist-file", | 952 "--blacklist-file", |
742 "[SLAVE_BUILD]/src/out/bad_devices.json", | 953 "[SLAVE_BUILD]/src/out/bad_devices.json", |
743 "--adb-path", | 954 "--adb-path", |
744 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | 955 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
745 ], | 956 ], |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
885 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 1096 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
886 }, | 1097 }, |
887 "name": "stack_tool_for_asan" | 1098 "name": "stack_tool_for_asan" |
888 }, | 1099 }, |
889 { | 1100 { |
890 "name": "$result", | 1101 "name": "$result", |
891 "recipe_result": null, | 1102 "recipe_result": null, |
892 "status_code": 0 | 1103 "status_code": 0 |
893 } | 1104 } |
894 ] | 1105 ] |
OLD | NEW |