From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lucas Meneghel Rodrigues Subject: [PATCH 2/2] KVM test: Use verify_kernel_crash() on unattended install Date: Fri, 18 Mar 2011 17:58:28 -0300 Message-ID: <1300481908-4931-2-git-send-email-lmr@redhat.com> References: <1300481908-4931-1-git-send-email-lmr@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: autotest@test.kernel.org Return-path: In-Reply-To: <1300481908-4931-1-git-send-email-lmr@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autotest-bounces@test.kernel.org Errors-To: autotest-bounces@test.kernel.org List-Id: kvm.vger.kernel.org With this we can fail the test much earlier if a guest kernel panic happens, instead of waiting for the full timeout to complete. Signed-off-by: Lucas Meneghel Rodrigues --- client/tests/kvm/tests/unattended_install.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/client/tests/kvm/tests/unattended_install.py b/client/tests/kvm/tests/unattended_install.py index 7c6d845..4868053 100644 --- a/client/tests/kvm/tests/unattended_install.py +++ b/client/tests/kvm/tests/unattended_install.py @@ -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)) -- 1.7.4