From patchwork Mon Jan 30 17:57:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Larson X-Patchwork-Id: 6447 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 DEC8B23EAE for ; Mon, 30 Jan 2012 17:57:15 +0000 (UTC) Received: from mail-bk0-f52.google.com (mail-bk0-f52.google.com [209.85.214.52]) by fiordland.canonical.com (Postfix) with ESMTP id CEC38A18161 for ; Mon, 30 Jan 2012 17:57:15 +0000 (UTC) Received: by mail-bk0-f52.google.com with SMTP id r19so4568550bka.11 for ; Mon, 30 Jan 2012 09:57:15 -0800 (PST) Received: by 10.205.134.129 with SMTP id ic1mr8892304bkc.92.1327946235643; Mon, 30 Jan 2012 09:57: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.204.130.220 with SMTP id u28cs159767bks; Mon, 30 Jan 2012 09:57:15 -0800 (PST) Received: by 10.180.97.199 with SMTP id ec7mr29037587wib.8.1327946235091; Mon, 30 Jan 2012 09:57:15 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id w2si13191724weq.3.2012.01.30.09.57.15 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 30 Jan 2012 09:57:15 -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 1RrvTe-0004Fv-Sy for ; Mon, 30 Jan 2012 17:57:14 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id D1D44E0442 for ; Mon, 30 Jan 2012 17:57:14 +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: 212 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 212: fix lava-test installation detection Message-Id: <20120130175714.11573.23892.launchpad@ackee.canonical.com> Date: Mon, 30 Jan 2012 17:57:14 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="14727"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: ad2bc489d5f12474b9efe1ccb0da35c10c5ea64c Merge authors: Paul Larson Related merge proposals: https://code.launchpad.net/~pwlars/lava-dispatcher/fix-lava-test-install/+merge/90735 proposed by: Paul Larson (pwlars) review: Approve - Zygmunt Krynicki (zkrynicki) ------------------------------------------------------------ revno: 212 [merge] committer: Paul Larson branch nick: lava-dispatcher timestamp: Mon 2012-01-30 11:55:51 -0600 message: fix lava-test installation detection modified: doc/changes.rst 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 'doc/changes.rst' --- doc/changes.rst 2012-01-30 17:54:30 +0000 +++ doc/changes.rst 2012-01-30 17:55:51 +0000 @@ -9,6 +9,7 @@ * Fix problem when reporting failure messages that contain unicode * Refactor click-through workaround, and add support for new omap3 hwpacks +* fix lava-test installation detection .. _version_0_4_5: === modified file 'lava_dispatcher/actions/lava-test.py' --- lava_dispatcher/actions/lava-test.py 2011-12-21 06:21:39 +0000 +++ lava_dispatcher/actions/lava-test.py 2012-01-30 16:57:54 +0000 @@ -44,11 +44,7 @@ #Test if lava-test installed try: - rc = session.run('lava-test help', response="list-test", timeout=60) - except: - tb = traceback.format_exc() - client.sio.write(tb) - raise CriticalError("lava-test deployment failed") + rc = session.run('lava-test help', timeout=60) if rc != 0: raise CriticalError("lava-test deployment failed")