Bug 1524271 - [mozharness] improve mozharness android.py install_apk installation failure message, r=gbrown.

This commit is contained in:
Bob Clary 2019-01-31 20:35:56 -08:00
parent c229a51c70
commit 2bb520b6b2

View File

@ -323,8 +323,11 @@ class AndroidMixin(object):
try:
self.device.install_app(apk)
except (mozdevice.ADBError, mozdevice.ADBTimeoutError):
self.fatal('INFRA-ERROR: Failed to install %s on %s' %
(self.installer_path, self.device_name),
self.info('Failed to install %s on %s' %
(self.installer_path, self.device_name),
exc_info=1)
self.fatal('INFRA-ERROR: Failed to install %s' %
self.installer_path,
EXIT_STATUS_DICT[TBPL_RETRY])
def is_boot_completed(self):