From: Michael Goldish Subject: [KVM-AUTOTEST PATCH 3/6] KVM test: kvm_vm.py: change qemu-img timeout to 120 seconds Date: Tue, 29 Sep 2009 22:04:24 +0200 Message-ID: <1254254667-19385-3-git-send-email-mgoldish@redhat.com> References: <1254254667-19385-1-git-send-email-mgoldish@redhat.com> <1254254667-19385-2-git-send-email-mgoldish@redhat.com> Cc: Michael Goldish To: autotest@test.kernel.org, kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:49902 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752901AbZI2UIB (ORCPT ); Tue, 29 Sep 2009 16:08:01 -0400 In-Reply-To: <1254254667-19385-2-git-send-email-mgoldish@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: The timeout of qemu-img commands is currently 30 seconds. This may not suffice under heavy load (e.g. when multiple tests run in parallel and use the same physical disk). Signed-off-by: Michael Goldish --- client/tests/kvm/kvm_vm.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py index 07ceb6d..ff6c044 100755 --- a/client/tests/kvm/kvm_vm.py +++ b/client/tests/kvm/kvm_vm.py @@ -55,7 +55,7 @@ def create_image(params, root_dir): logging.debug("Running qemu-img command:\n%s" % qemu_img_cmd) (status, output) = kvm_subprocess.run_fg(qemu_img_cmd, logging.debug, - "(qemu-img) ", timeout=30) + "(qemu-img) ", timeout=120) if status is None: logging.error("Timeout elapsed while waiting for qemu-img command " -- 1.5.4.1