From: Lucas Meneghel Rodrigues Subject: [PATCH 1/3] KVM test: Unattended install - Fix incorrect verify_kernel_crash Date: Fri, 8 Apr 2011 17:33:06 -0300 Message-ID: <1302294788-10078-1-git-send-email-lmr@redhat.com> Cc: kvm@vger.kernel.org, Lucas Meneghel Rodrigues To: autotest@test.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:48741 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757843Ab1DHUdO (ORCPT ); Fri, 8 Apr 2011 16:33:14 -0400 Sender: kvm-owner@vger.kernel.org List-ID: The idea was to put the kernel crash verification during the install loop, not at the beginning of the test. Signed-off-by: Lucas Meneghel Rodrigues --- client/tests/kvm/tests/unattended_install.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/client/tests/kvm/tests/unattended_install.py b/client/tests/kvm/tests/unattended_install.py index 4868053..955f8d6 100644 --- a/client/tests/kvm/tests/unattended_install.py +++ b/client/tests/kvm/tests/unattended_install.py @@ -16,7 +16,6 @@ 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)) @@ -34,6 +33,7 @@ def run_unattended_install(test, params, env): start_time = time.time() while (time.time() - start_time) < install_timeout: vm.verify_alive() + vm.verify_kernel_crash() client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) try: client.connect((vm.get_address(), port)) -- 1.7.4.2