From 6144d3156f412fc9aa481e09a7e7192df0e466bf Mon Sep 17 00:00:00 2001 From: Tasmiya Nalatwad Date: Tue, 7 Nov 2023 14:57:12 +0530 Subject: [PATCH] Adding Delay after Upstream kernel compilation before reboot starts. The patch fixes the timing issue due to which compiled upstream kernel was not booting on to the LPAR. Signed-off-by: Tasmiya Nalatwad --- testcases/InstallUpstreamKernel.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testcases/InstallUpstreamKernel.py b/testcases/InstallUpstreamKernel.py index 34ecff08e..d2d42d616 100644 --- a/testcases/InstallUpstreamKernel.py +++ b/testcases/InstallUpstreamKernel.py @@ -21,6 +21,7 @@ import unittest import os import re +import time try: from urllib.parse import urlparse @@ -124,6 +125,7 @@ def is_url(path): log.debug("Compile and install linux kernel") con.run_command("make -j %d -s && make modules_install && make install" % onlinecpus, timeout=self.host_cmd_timeout) + time.sleep(10) if not self.use_kexec: # FIXME: Handle distributions which do not support grub con.run_command(