OLD | NEW |
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 (dbg)", | 10 "Android Tests (dbg)", |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", | 186 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", |
187 "[SLAVE_BUILD]/src/out/logcat" | 187 "[SLAVE_BUILD]/src/out/logcat" |
188 ], | 188 ], |
189 "env": { | 189 "env": { |
190 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 190 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
191 }, | 191 }, |
192 "name": "spawn_logcat_monitor" | 192 "name": "spawn_logcat_monitor" |
193 }, | 193 }, |
194 { | 194 { |
195 "cmd": [ | 195 "cmd": [ |
196 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py" | 196 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
| 197 "--json-output", |
| 198 "/path/to/tmp/json" |
197 ], | 199 ], |
198 "env": { | 200 "env": { |
199 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 201 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
200 }, | 202 }, |
201 "name": "device_status_check" | 203 "name": "device_status_check", |
| 204 "~followup_annotations": [ |
| 205 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 206 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 207 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
| 208 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
| 209 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
| 210 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", |
| 211 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", |
| 212 "@@@STEP_LOG_LINE@json.output@ \"level\": \"100\", @@@", |
| 213 "@@@STEP_LOG_LINE@json.output@ \"present\": \"true\", @@@", |
| 214 "@@@STEP_LOG_LINE@json.output@ \"scale\": \"100\", @@@", |
| 215 "@@@STEP_LOG_LINE@json.output@ \"status\": \"5\", @@@", |
| 216 "@@@STEP_LOG_LINE@json.output@ \"technology\": \"Li-ion\", @@@", |
| 217 "@@@STEP_LOG_LINE@json.output@ \"temperature\": \"249\", @@@", |
| 218 "@@@STEP_LOG_LINE@json.output@ \"voltage\": \"4286\"@@@", |
| 219 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 220 "@@@STEP_LOG_LINE@json.output@ \"build\": \"LRX21O\", @@@", |
| 221 "@@@STEP_LOG_LINE@json.output@ \"build_detail\": \"google/razor/flo:5.0
/LRX21O/1570415:userdebug/dev-keys\", @@@", |
| 222 "@@@STEP_LOG_LINE@json.output@ \"imei_slice\": \"Unknown\", @@@", |
| 223 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"07a00ca4\", @@@", |
| 224 "@@@STEP_LOG_LINE@json.output@ \"type\": \"flo\", @@@", |
| 225 "@@@STEP_LOG_LINE@json.output@ \"wifi_ip\": \"\"@@@", |
| 226 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 227 "@@@STEP_LOG_LINE@json.output@]@@@", |
| 228 "@@@STEP_LOG_END@json.output@@@" |
| 229 ] |
202 }, | 230 }, |
203 { | 231 { |
204 "cmd": [ | 232 "cmd": [ |
205 "python", | 233 "python", |
206 "-u", | 234 "-u", |
207 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | 235 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
208 "-t", | 236 "-t", |
209 "Debug" | 237 "Debug" |
210 ], | 238 ], |
211 "env": { | 239 "env": { |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 392 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
365 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 393 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
366 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 394 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
367 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 395 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
368 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 396 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
369 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 397 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
370 "@@@STEP_LOG_END@python.inline@@@" | 398 "@@@STEP_LOG_END@python.inline@@@" |
371 ] | 399 ] |
372 } | 400 } |
373 ] | 401 ] |
OLD | NEW |