From 9502c70e7c0fdf4e88d7c96150853ecee0ce1824 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Mon, 15 Aug 2016 17:02:24 -0600 Subject: [PATCH] PhysicalConsole._wait_for_login() raise on failure Signed-off-by: Zack Cerza --- teuthology/orchestra/remote.py | 1 + 1 file changed, 1 insertion(+) diff --git a/teuthology/orchestra/remote.py b/teuthology/orchestra/remote.py index e15032f405..07ea92d350 100644 --- a/teuthology/orchestra/remote.py +++ b/teuthology/orchestra/remote.py @@ -513,6 +513,7 @@ class PhysicalConsole(): self._exit_session(child) if r == 0: return + raise RuntimeError("Did not get a login prompt from %s!" % self.name) def check_power(self, state, timeout=None): """ -- 2.39.5