Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Side by Side Diff: scripts/slave/recipes/android/tester.expected/chromium_linux_Android_Tests.json

Issue 815213002: Cause chromium_android recipe to consume device_status_check's json. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Add missing files Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "[BUILD]/scripts/slave/bot_update.py", 6 "[BUILD]/scripts/slave/bot_update.py",
7 "--master", 7 "--master",
8 "chromium.linux", 8 "chromium.linux",
9 "--builder", 9 "--builder",
10 "Android Tests", 10 "Android Tests",
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 192 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
193 "[SLAVE_BUILD]/src/out/logcat" 193 "[SLAVE_BUILD]/src/out/logcat"
194 ], 194 ],
195 "env": { 195 "env": {
196 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 196 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
197 }, 197 },
198 "name": "spawn_logcat_monitor" 198 "name": "spawn_logcat_monitor"
199 }, 199 },
200 { 200 {
201 "cmd": [ 201 "cmd": [
202 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py" 202 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
203 "--json-output",
204 "/path/to/tmp/json"
203 ], 205 ],
204 "env": { 206 "env": {
205 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 207 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
206 }, 208 },
207 "name": "device_status_check" 209 "name": "device_status_check",
210 "~followup_annotations": [
211 "@@@STEP_LOG_LINE@json.output@[@@@",
212 "@@@STEP_LOG_LINE@json.output@ {@@@",
213 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
214 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
215 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
216 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@",
217 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@",
218 "@@@STEP_LOG_LINE@json.output@ \"level\": \"100\", @@@",
219 "@@@STEP_LOG_LINE@json.output@ \"present\": \"true\", @@@",
220 "@@@STEP_LOG_LINE@json.output@ \"scale\": \"100\", @@@",
221 "@@@STEP_LOG_LINE@json.output@ \"status\": \"5\", @@@",
222 "@@@STEP_LOG_LINE@json.output@ \"technology\": \"Li-ion\", @@@",
223 "@@@STEP_LOG_LINE@json.output@ \"temperature\": \"249\", @@@",
224 "@@@STEP_LOG_LINE@json.output@ \"voltage\": \"4286\"@@@",
225 "@@@STEP_LOG_LINE@json.output@ }, @@@",
226 "@@@STEP_LOG_LINE@json.output@ \"build\": \"LRX21O\", @@@",
227 "@@@STEP_LOG_LINE@json.output@ \"build_detail\": \"google/razor/flo:5.0 /LRX21O/1570415:userdebug/dev-keys\", @@@",
228 "@@@STEP_LOG_LINE@json.output@ \"imei_slice\": \"Unknown\", @@@",
229 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"07a00ca4\", @@@",
230 "@@@STEP_LOG_LINE@json.output@ \"type\": \"flo\", @@@",
231 "@@@STEP_LOG_LINE@json.output@ \"wifi_ip\": \"\"@@@",
232 "@@@STEP_LOG_LINE@json.output@ }@@@",
233 "@@@STEP_LOG_LINE@json.output@]@@@",
234 "@@@STEP_LOG_END@json.output@@@"
235 ]
208 }, 236 },
209 { 237 {
210 "cmd": [ 238 "cmd": [
211 "python", 239 "python",
212 "-u", 240 "-u",
213 "[SLAVE_BUILD]/src/build/android/provision_devices.py", 241 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
214 "-t", 242 "-t",
215 "Release" 243 "Release"
216 ], 244 ],
217 "env": { 245 "env": {
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", 758 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@",
731 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", 759 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@",
732 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", 760 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@",
733 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", 761 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@",
734 "@@@STEP_LOG_LINE@python.inline@ print l@@@", 762 "@@@STEP_LOG_LINE@python.inline@ print l@@@",
735 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 763 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
736 "@@@STEP_LOG_END@python.inline@@@" 764 "@@@STEP_LOG_END@python.inline@@@"
737 ] 765 ]
738 } 766 }
739 ] 767 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698