From patchwork Fri Aug 19 01:35:14 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Larson X-Patchwork-Id: 3522 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 10A7923F27 for ; Fri, 19 Aug 2011 01:35:18 +0000 (UTC) Received: from mail-ey0-f170.google.com (mail-ey0-f170.google.com [209.85.215.170]) by fiordland.canonical.com (Postfix) with ESMTP id EC3E0A18384 for ; Fri, 19 Aug 2011 01:35:17 +0000 (UTC) Received: by eyd10 with SMTP id 10so2030323eyd.29 for ; Thu, 18 Aug 2011 18:35:17 -0700 (PDT) Received: by 10.213.27.27 with SMTP id g27mr89755ebc.18.1313717716522; Thu, 18 Aug 2011 18:35:16 -0700 (PDT) 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.213.102.5 with SMTP id e5cs107855ebo; Thu, 18 Aug 2011 18:35:16 -0700 (PDT) Received: by 10.227.179.14 with SMTP id bo14mr1657981wbb.90.1313717715366; Thu, 18 Aug 2011 18:35:15 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com [91.189.90.7]) by mx.google.com with ESMTPS id fs19si4821555wbb.22.2011.08.18.18.35.15 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 18 Aug 2011 18:35:15 -0700 (PDT) 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 1QuDzO-0003R4-Un for ; Fri, 19 Aug 2011 01:35:14 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id E02C2E03A6 for ; Fri, 19 Aug 2011 01:35: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: 90 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 90: Work around issue that causes overlapping commands after installing lava-test and not detecting t... Message-Id: <20110819013514.14550.82864.launchpad@ackee.canonical.com> Date: Fri, 19 Aug 2011 01:35: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="13697"; Instance="initZopeless config overlay" X-Launchpad-Hash: a194cbae377ea1f1c88ebdd8fc24f317302a8768 ------------------------------------------------------------ revno: 90 tags: 2011.08, release-0.2.0 committer: Paul Larson branch nick: lava-dispatcher timestamp: Fri 2011-08-19 02:32:22 +0100 message: Work around issue that causes overlapping commands after installing lava-test and not detecting the command line afterwards Fix pip install command Fix example url in out-of-tree example test job modified: doc/lava-out-of-tree-test-1.json 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/lava-out-of-tree-test-1.json' --- doc/lava-out-of-tree-test-1.json 2011-08-18 20:38:38 +0000 +++ doc/lava-out-of-tree-test-1.json 2011-08-19 01:32:22 +0000 @@ -23,7 +23,7 @@ "parameters": { "tests": ["glcompbench"], - "install_python": ["bzr+http//:bazaar.launchpad.net/~linaro-graphics-wg/+junk/linaro-graphics-wg-tests/#egg=linaro-graphics-wg-tests"] + "install_python": ["bzr+http://bazaar.launchpad.net/~linaro-graphics-wg/+junk/linaro-graphics-wg-tests/#egg=linaro-graphics-wg-tests"] } }, { === modified file 'lava_dispatcher/actions/lava-test.py' --- lava_dispatcher/actions/lava-test.py 2011-08-18 20:38:38 +0000 +++ lava_dispatcher/actions/lava-test.py 2011-08-19 01:32:22 +0000 @@ -89,6 +89,7 @@ client.run_shell_command( 'chroot /mnt/root lava-test help', response="list-test", timeout=10) + client.proc.expect(MASTER_STR, timeout=10) except: tb = traceback.format_exc() client.sio.write(tb) @@ -123,7 +124,7 @@ if install_python: for module in install_python: client.run_shell_command("chroot /mnt/root apt-get -y install python-pip", response=MASTER_STR) - client.run_shell_command("chroot /mnt/root pip -e " + module, response=MASTER_STR) + client.run_shell_command("chroot /mnt/root pip install -e " + module, response=MASTER_STR) if register: for test_def_url in register: