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

Side by Side Diff: scripts/slave/recipes/android/tester.expected/tryserver_chromium_linux_android_dbg_tests_recipe.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 "tryserver.chromium.linux", 8 "tryserver.chromium.linux",
9 "--builder", 9 "--builder",
10 "android_dbg_tests_recipe", 10 "android_dbg_tests_recipe",
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 242 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
243 "[SLAVE_BUILD]/src/out/logcat" 243 "[SLAVE_BUILD]/src/out/logcat"
244 ], 244 ],
245 "env": { 245 "env": {
246 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 246 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
247 }, 247 },
248 "name": "spawn_logcat_monitor" 248 "name": "spawn_logcat_monitor"
249 }, 249 },
250 { 250 {
251 "cmd": [ 251 "cmd": [
252 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py" 252 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
253 "--json-output",
254 "/path/to/tmp/json"
253 ], 255 ],
254 "env": { 256 "env": {
255 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 257 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
256 }, 258 },
257 "name": "device_status_check" 259 "name": "device_status_check",
260 "~followup_annotations": [
261 "@@@STEP_LOG_LINE@json.output@[@@@",
262 "@@@STEP_LOG_LINE@json.output@ {@@@",
263 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
264 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
265 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
266 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@",
267 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@",
268 "@@@STEP_LOG_LINE@json.output@ \"level\": \"100\", @@@",
269 "@@@STEP_LOG_LINE@json.output@ \"present\": \"true\", @@@",
270 "@@@STEP_LOG_LINE@json.output@ \"scale\": \"100\", @@@",
271 "@@@STEP_LOG_LINE@json.output@ \"status\": \"5\", @@@",
272 "@@@STEP_LOG_LINE@json.output@ \"technology\": \"Li-ion\", @@@",
273 "@@@STEP_LOG_LINE@json.output@ \"temperature\": \"249\", @@@",
274 "@@@STEP_LOG_LINE@json.output@ \"voltage\": \"4286\"@@@",
275 "@@@STEP_LOG_LINE@json.output@ }, @@@",
276 "@@@STEP_LOG_LINE@json.output@ \"build\": \"LRX21O\", @@@",
277 "@@@STEP_LOG_LINE@json.output@ \"build_detail\": \"google/razor/flo:5.0 /LRX21O/1570415:userdebug/dev-keys\", @@@",
278 "@@@STEP_LOG_LINE@json.output@ \"imei_slice\": \"Unknown\", @@@",
279 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"07a00ca4\", @@@",
280 "@@@STEP_LOG_LINE@json.output@ \"type\": \"flo\", @@@",
281 "@@@STEP_LOG_LINE@json.output@ \"wifi_ip\": \"\"@@@",
282 "@@@STEP_LOG_LINE@json.output@ }@@@",
283 "@@@STEP_LOG_LINE@json.output@]@@@",
284 "@@@STEP_LOG_END@json.output@@@"
285 ]
258 }, 286 },
259 { 287 {
260 "cmd": [ 288 "cmd": [
261 "python", 289 "python",
262 "-u", 290 "-u",
263 "[SLAVE_BUILD]/src/build/android/provision_devices.py", 291 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
264 "-t", 292 "-t",
265 "Debug" 293 "Debug"
266 ], 294 ],
267 "env": { 295 "env": {
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", 453 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@",
426 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", 454 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@",
427 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", 455 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@",
428 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", 456 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@",
429 "@@@STEP_LOG_LINE@python.inline@ print l@@@", 457 "@@@STEP_LOG_LINE@python.inline@ print l@@@",
430 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 458 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
431 "@@@STEP_LOG_END@python.inline@@@" 459 "@@@STEP_LOG_END@python.inline@@@"
432 ] 460 ]
433 } 461 }
434 ] 462 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698