labpack: reduce limitation to fix FW on DUT
BUG=None
TEST=None
Change-Id: Ic164f5ad004cd70c39f7a9bbe7dbc84c1f7d002c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/labpack/+/3324601
Tested-by: Otabek Kasimov <otabek@google.com>
Auto-Submit: Otabek Kasimov <otabek@google.com>
Reviewed-by: Garry Wang <xianuowang@chromium.org>
Commit-Queue: Otabek Kasimov <otabek@google.com>
diff --git a/server/hosts/cros_firmware.py b/server/hosts/cros_firmware.py
index ffa8c71..4727cd6 100644
--- a/server/hosts/cros_firmware.py
+++ b/server/hosts/cros_firmware.py
@@ -416,9 +416,12 @@
hardware_a = version_a.split('.')[0]
hardware_b = version_b.split('.')[0]
if hardware_a != hardware_b:
- message = 'Hardware/Firmware mismatch updating %s to %s'
- raise hosts.AutoservVerifyError(
- message % (version_a, version_b))
+ logging.warning('Hardware/Firmware mismatch updating %s to %s',
+ version_a, version_b)
+ # Blocking the error as if somehow user flashed wrong fw we still
+ # need to recover device.
+ # raise hosts.AutoservVerifyError(
+ # message % (version_a, version_b))
def _is_stable_image_installed(self, host):
"""Verify that ChromeOS image on host is a stable version.