From: Zack Cerza Date: Mon, 15 Aug 2016 23:02:24 +0000 (-0600) Subject: PhysicalConsole._wait_for_login() raise on failure X-Git-Tag: 1.1.0~548^2~15 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9502c70e7c0fdf4e88d7c96150853ecee0ce1824;p=teuthology.git PhysicalConsole._wait_for_login() raise on failure Signed-off-by: Zack Cerza --- diff --git a/teuthology/orchestra/remote.py b/teuthology/orchestra/remote.py index e15032f40..07ea92d35 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): """