From patchwork Thu Sep 15 08:44:14 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Spring Zhang X-Patchwork-Id: 4082 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 7E02023EF8 for ; Thu, 15 Sep 2011 08:44:23 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by fiordland.canonical.com (Postfix) with ESMTP id 49DB2A1884E for ; Thu, 15 Sep 2011 08:44:23 +0000 (UTC) Received: by fxe23 with SMTP id 23so564959fxe.11 for ; Thu, 15 Sep 2011 01:44:23 -0700 (PDT) Received: by 10.223.33.19 with SMTP id f19mr159313fad.122.1316076263138; Thu, 15 Sep 2011 01:44:23 -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.152.11.8 with SMTP id m8cs84123lab; Thu, 15 Sep 2011 01:44:22 -0700 (PDT) Received: by 10.216.220.216 with SMTP id o66mr846406wep.52.1316076262606; Thu, 15 Sep 2011 01:44:22 -0700 (PDT) Received: from indium.canonical.com ([91.189.90.7]) by mx.google.com with ESMTPS id n44si7025321wed.50.2011.09.15.01.44.17 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 15 Sep 2011 01:44:17 -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 1R47YM-0007G9-46 for ; Thu, 15 Sep 2011 08:44:14 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 185A1E032C for ; Thu, 15 Sep 2011 08:44: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: 111 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 111: add missing parameter introduced by config branch Message-Id: <20110915084414.13279.30706.launchpad@ackee.canonical.com> Date: Thu, 15 Sep 2011 08:44: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="13921"; Instance="initZopeless config overlay" X-Launchpad-Hash: fa871f59b948c788a8de29bd578815f5428ed720 ------------------------------------------------------------ revno: 111 committer: Spring Zhang branch nick: another-inject-kernel timestamp: Thu 2011-09-15 16:39:32 +0800 message: add missing parameter introduced by config branch modified: lava_dispatcher/actions/deploy.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/deploy.py' --- lava_dispatcher/actions/deploy.py 2011-09-15 07:46:03 +0000 +++ lava_dispatcher/actions/deploy.py 2011-09-15 08:39:32 +0000 @@ -197,6 +197,7 @@ def refresh_hwpack(self, kernel_matrix, hwpack, use_cache=True): client = self.client + lava_cachedir = self.context.lava_cachedir LAVA_IMAGE_TMPDIR = self.context.lava_image_tmpdir print "Deploying new kernel" new_kernel = kernel_matrix[0] @@ -210,8 +211,8 @@ tarball_dir = mkdtemp(dir=LAVA_IMAGE_TMPDIR) os.chmod(tarball_dir, 0755) if use_cache: - kernel_path = download_with_cache(new_kernel, tarball_dir) - hwpack_path = download_with_cache(hwpack, tarball_dir) + kernel_path = download_with_cache(new_kernel, tarball_dir, lava_cachedir) + hwpack_path = download_with_cache(hwpack, tarball_dir, lava_cachedir) else: kernel_path = download(new_kernel, tarball_dir) hwpack_path = download(hwpack, tarball_dir)