From patchwork Thu Dec 15 00:56:13 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Larson X-Patchwork-Id: 5732 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id D905223E04 for ; Thu, 15 Dec 2011 00:56:15 +0000 (UTC) Received: from mail-ey0-f180.google.com (mail-ey0-f180.google.com [209.85.215.180]) by fiordland.canonical.com (Postfix) with ESMTP id C2A0EA1804B for ; Thu, 15 Dec 2011 00:56:15 +0000 (UTC) Received: by eaak10 with SMTP id k10so1498738eaa.11 for ; Wed, 14 Dec 2011 16:56:15 -0800 (PST) Received: by 10.205.120.135 with SMTP id fy7mr227016bkc.54.1323910575429; Wed, 14 Dec 2011 16:56:15 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.205.129.2 with SMTP id hg2cs25341bkc; Wed, 14 Dec 2011 16:56:15 -0800 (PST) Received: by 10.180.75.204 with SMTP id e12mr1206095wiw.61.1323910573803; Wed, 14 Dec 2011 16:56:13 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id l9si2688893wiy.64.2011.12.14.16.56.13 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Dec 2011 16:56:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1RazcL-0005k8-FJ for ; Thu, 15 Dec 2011 00:56:13 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 6765CE14F1 for ; Thu, 15 Dec 2011 00:56:13 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-dispatcher X-Launchpad-Branch: ~linaro-validation/lava-dispatcher/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 180 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 180: Fix timeout usage in lava_test_install Message-Id: <20111215005613.27769.44836.launchpad@ackee.canonical.com> Date: Thu, 15 Dec 2011 00:56:13 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="14487"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: c0d42fb1951cb33b6042b7740139262c12aa4b97 ------------------------------------------------------------ revno: 180 committer: Paul Larson branch nick: lava-dispatcher timestamp: Wed 2011-12-14 18:54:40 -0600 message: Fix timeout usage in lava_test_install modified: lava_dispatcher/actions/lava-test.py --- lp:lava-dispatcher https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk You are subscribed to branch lp:lava-dispatcher. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription === modified file 'lava_dispatcher/actions/lava-test.py' --- lava_dispatcher/actions/lava-test.py 2011-12-06 03:19:42 +0000 +++ lava_dispatcher/actions/lava-test.py 2011-12-15 00:54:40 +0000 @@ -101,12 +101,13 @@ if register: for test_def_url in register: - session.run('lava-test register-test ' + test_def_url) + session.run('lava-test register-test ' + test_def_url, + timeout=60) for test in tests: - session.run('lava-test install %s' % test) + session.run('lava-test install %s' % test, timeout=timeout) - session.run('rm -rf lava-test') + session.run('rm -rf lava-test', timeout=60) class cmd_add_apt_repository(BaseAction):