Index: build/android/buildbot/bb_device_status_check.py |
diff --git a/build/android/buildbot/bb_device_status_check.py b/build/android/buildbot/bb_device_status_check.py |
index 05adaef84a0fa35715d629495733e1d1c83919cb..01f2c2e312d61a53ec51b374642b78269b2eeb72 100755 |
--- a/build/android/buildbot/bb_device_status_check.py |
+++ b/build/android/buildbot/bb_device_status_check.py |
@@ -409,6 +409,8 @@ def main(): |
and not _IsBlacklisted(status['serial'], blacklist))] |
# If all devices failed, or if there are no devices, it's an infra error. |
+ if not live_devices: |
+ logging.error('No available devices.') |
return 0 if live_devices else exit_codes.INFRA |
jbudorick
2016/06/29 17:36:57
What's the motivation? I'm guessing that exiting w
jbudorick
2016/06/29 17:37:40
also, if you're going to add this, add it to https
bpastene
2016/06/29 18:25:15
Because it's not obvious why this fails:
https://u
|