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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 "[SLAVE_BUILD]/src/out/logcat" | 262 "[SLAVE_BUILD]/src/out/logcat" |
263 ], | 263 ], |
264 "env": { | 264 "env": { |
265 "ADB_VENDOR_KEYS": "[BUILD]/site_config/.adb_key", | 265 "ADB_VENDOR_KEYS": "[BUILD]/site_config/.adb_key", |
266 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 266 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
267 }, | 267 }, |
268 "name": "spawn_logcat_monitor" | 268 "name": "spawn_logcat_monitor" |
269 }, | 269 }, |
270 { | 270 { |
271 "cmd": [ | 271 "cmd": [ |
272 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py" | 272 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
| 273 "--json-output", |
| 274 "/path/to/tmp/json" |
273 ], | 275 ], |
274 "env": { | 276 "env": { |
275 "ADB_VENDOR_KEYS": "[BUILD]/site_config/.adb_key", | 277 "ADB_VENDOR_KEYS": "[BUILD]/site_config/.adb_key", |
276 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 278 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
277 }, | 279 }, |
278 "name": "device_status_check" | 280 "name": "device_status_check", |
| 281 "~followup_annotations": [ |
| 282 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 283 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 284 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
| 285 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
| 286 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
| 287 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", |
| 288 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", |
| 289 "@@@STEP_LOG_LINE@json.output@ \"level\": \"100\", @@@", |
| 290 "@@@STEP_LOG_LINE@json.output@ \"present\": \"true\", @@@", |
| 291 "@@@STEP_LOG_LINE@json.output@ \"scale\": \"100\", @@@", |
| 292 "@@@STEP_LOG_LINE@json.output@ \"status\": \"5\", @@@", |
| 293 "@@@STEP_LOG_LINE@json.output@ \"technology\": \"Li-ion\", @@@", |
| 294 "@@@STEP_LOG_LINE@json.output@ \"temperature\": \"249\", @@@", |
| 295 "@@@STEP_LOG_LINE@json.output@ \"voltage\": \"4286\"@@@", |
| 296 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 297 "@@@STEP_LOG_LINE@json.output@ \"build\": \"LRX21O\", @@@", |
| 298 "@@@STEP_LOG_LINE@json.output@ \"build_detail\": \"google/razor/flo:5.0
/LRX21O/1570415:userdebug/dev-keys\", @@@", |
| 299 "@@@STEP_LOG_LINE@json.output@ \"imei_slice\": \"Unknown\", @@@", |
| 300 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"07a00ca4\", @@@", |
| 301 "@@@STEP_LOG_LINE@json.output@ \"type\": \"flo\", @@@", |
| 302 "@@@STEP_LOG_LINE@json.output@ \"wifi_ip\": \"\"@@@", |
| 303 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 304 "@@@STEP_LOG_LINE@json.output@]@@@", |
| 305 "@@@STEP_LOG_END@json.output@@@" |
| 306 ] |
279 }, | 307 }, |
280 { | 308 { |
281 "cmd": [ | 309 "cmd": [ |
282 "python", | 310 "python", |
283 "-u", | 311 "-u", |
284 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | 312 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
285 "-t", | 313 "-t", |
286 "Release" | 314 "Release" |
287 ], | 315 ], |
288 "env": { | 316 "env": { |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 "-l", | 443 "-l", |
416 "[SLAVE_BUILD]/src/out/Release/full_log" | 444 "[SLAVE_BUILD]/src/out/Release/full_log" |
417 ], | 445 ], |
418 "env": { | 446 "env": { |
419 "ADB_VENDOR_KEYS": "[BUILD]/site_config/.adb_key", | 447 "ADB_VENDOR_KEYS": "[BUILD]/site_config/.adb_key", |
420 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 448 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
421 }, | 449 }, |
422 "name": "stack_tool_for_asan" | 450 "name": "stack_tool_for_asan" |
423 } | 451 } |
424 ] | 452 ] |
OLD | NEW |