From bfa452a688899b488bb4b17314293d504e259382 Mon Sep 17 00:00:00 2001 From: Edd Barrett Date: Thu, 16 Nov 2017 15:19:54 +0000 Subject: [PATCH] Re-add the wait for the system to come up. --- krun/scheduler.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/krun/scheduler.py b/krun/scheduler.py index e7b46e3..f1543a9 100644 --- a/krun/scheduler.py +++ b/krun/scheduler.py @@ -483,6 +483,12 @@ def _make_post_cmd_env(self, results): def run(self): """Benchmark execution starts here""" + # In reboot mode, wait for the system to come up before we proceed + if self.platform.hardware_reboots: + debug("Waiting %s seconds for the system to come up." % + str(STARTUP_WAIT_SECONDS)) + self.platform.sleep(STARTUP_WAIT_SECONDS) + # Important that the dmesg is collected after the above startup wait. # Otherwise we get spurious dmesg changes. self.platform.collect_starting_dmesg()