Index: build/android/pylib/local/device/local_device_perf_test_run.py |
diff --git a/build/android/pylib/local/device/local_device_perf_test_run.py b/build/android/pylib/local/device/local_device_perf_test_run.py |
index 7e4538d374cc0bbd7fdbddc69f00cc8aab0784cd..2ac8b0fd6d5dd7b4da58aa280f564f4aef2ab263 100644 |
--- a/build/android/pylib/local/device/local_device_perf_test_run.py |
+++ b/build/android/pylib/local/device/local_device_perf_test_run.py |
@@ -245,7 +245,8 @@ class DeviceTestShard(TestShard): |
result_type = self._RunSingleTest(test) |
except device_errors.CommandTimeoutError: |
result_type = base_test_result.ResultType.TIMEOUT |
- except device_errors.CommandFailedError: |
+ except (device_errors.CommandFailedError, |
+ device_errors.DeviceUnreachableError): |
logging.exception('Exception when executing %s.', test) |
result_type = base_test_result.ResultType.FAIL |
finally: |