Skip to contentSkip to conversation

KVM test: Use verify_kernel_crash() on unattended install

PATCH New Lucas Meneghel Rodrigues 1 participant 1 message Mar 15, 2011 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 KVM test: Use verify_kernel_crash() on unattended install

With this we can fail the test much earlier if a guest kernel panic happens, instead of waiting for the full timeout to complete.

---
 client/tests/kvm/tests/unattended_install.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
client/tests/kvm/tests/unattended_install.py +1 -0
index 7c6d845..4868053 100644
@@ -16,6 +16,7 @@ def run_unattended_install(test, params, env):
     """
     vm = env.get_vm(params["main_vm"])
     vm.verify_alive()
+    vm.verify_kernel_crash()
 
     install_timeout = int(params.get("timeout", 3000))
     post_install_delay = int(params.get("post_install_delay", 0))
Signature · 1 line
1.7.4