diff --git a/lisa/tools/reboot.py b/lisa/tools/reboot.py index c067ad0743..80f52c703e 100644 --- a/lisa/tools/reboot.py +++ b/lisa/tools/reboot.py @@ -113,6 +113,9 @@ def reboot(self, time_out: int = 300) -> None: # it doesn't matter to exceptions here. The system may reboot fast self._log.debug(f"ignorable exception on rebooting: {identifier}") + self._log.debug("start sleep") + time.sleep(300) + connected: bool = False # The previous steps may take longer time than time out. After that, it # needs to connect at least once. diff --git a/lisa/tools/who.py b/lisa/tools/who.py index cf6080c4fb..a457db8d49 100644 --- a/lisa/tools/who.py +++ b/lisa/tools/who.py @@ -27,7 +27,7 @@ def last_boot(self, no_error_log: bool = True) -> datetime: "-b", force_run=True, no_error_log=no_error_log, - timeout=20, + timeout=60, ) command_result.assert_exit_code( 0, f"'last' return non-zero exit code: {command_result.stderr}"