Boot timeout leads to hardreset attempt, then broken exception.
Exception handler on _wait_for_reboot's attempted call on optional hardreset routine
was not catching the kind of exception thrown when host has no hard reset op.
Signed-off-by: Duane Sand <duanes@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@2577 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/autotest.py b/server/autotest.py
index c8d6e47..9daf188 100644
--- a/server/autotest.py
+++ b/server/autotest.py
@@ -452,7 +452,7 @@
self.logger.warning(warning)
try:
self.host.hardreset(wait=False)
- except error.AutoservUnsupportedError:
+ except (AttributeError, error.AutoservUnsupportedError):
warning = "Hard reset unsupported on %s"
warning %= self.host.hostname
self.logger.warning(warning)