firmware_test: rollout partition polling
BUG=b:158972448
TEST=ran on a nami
Change-Id: If42c14d26c8cf48680da1f53418f0a1c802771d2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/2596679
Tested-by: Kevin Shelton <kmshelton@chromium.org>
Auto-Submit: Kevin Shelton <kmshelton@chromium.org>
Commit-Queue: Greg Edelston <gredelston@google.com>
Reviewed-by: Greg Edelston <gredelston@google.com>
diff --git a/server/cros/faft/firmware_test.py b/server/cros/faft/firmware_test.py
index 5e7aa8f..5e4e764 100644
--- a/server/cros/faft/firmware_test.py
+++ b/server/cros/faft/firmware_test.py
@@ -586,17 +586,14 @@
"""Repeatedly poll for the RootFS partition sysfs node."""
self.servo.system('ls {}'.format(rootfs))
- # Incremental rollout of a large scale test change.
- # TODO(kmshelton): Rollout to all platforms.
- if self.faft_config.platform.lower() in ['coral', 'nami']:
- try:
- confirm_rootfs_partition_device_node_readable()
- except error.AutoservRunError as e:
- usb_info = telemetry.collect_usb_state(self.servo)
- raise error.TestError((
- 'Could not ls the device node for the RootFS on the USB '
- 'device. %s: %s\nMore telemetry: %s') %
- (type(e).__name__, e, usb_info))
+ try:
+ confirm_rootfs_partition_device_node_readable()
+ except error.AutoservRunError as e:
+ usb_info = telemetry.collect_usb_state(self.servo)
+ raise error.TestError(
+ ('Could not ls the device node for the RootFS on the USB '
+ 'device. %s: %s\nMore telemetry: %s') %
+ (type(e).__name__, e, usb_info))
try:
self.servo.system('mount -o ro %s %s' % (rootfs, tmpd))
except error.AutoservRunError as e: