From patchwork Thu Oct 20 20:42:09 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Larson X-Patchwork-Id: 4757 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 9F3B923EF5 for ; Thu, 20 Oct 2011 20:42:11 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id 61CEAA181E1 for ; Thu, 20 Oct 2011 20:42:11 +0000 (UTC) Received: by ywm39 with SMTP id 39so898576ywm.11 for ; Thu, 20 Oct 2011 13:42:10 -0700 (PDT) Received: by 10.223.77.71 with SMTP id f7mr20155036fak.33.1319143330588; Thu, 20 Oct 2011 13:42:10 -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.1.71 with SMTP id 7cs138670lak; Thu, 20 Oct 2011 13:42:10 -0700 (PDT) Received: by 10.227.28.4 with SMTP id k4mr4596406wbc.21.1319143329771; Thu, 20 Oct 2011 13:42:09 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id el6si7972400wbb.143.2011.10.20.13.42.09 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Oct 2011 13:42:09 -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 1RGzRJ-0001KL-7A for ; Thu, 20 Oct 2011 20:42:09 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 2CEBEFB747 for ; Thu, 20 Oct 2011 20:42:09 +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: 146 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 146: Doesn't really seem necessary to extend this to use LAVA_RESULT_DIR, and it can fail if that dir ... Message-Id: <20111020204209.14685.34001.launchpad@ackee.canonical.com> Date: Thu, 20 Oct 2011 20:42:09 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="14165"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 77fe57c8eb069cbd29960707f7722c8be380cdb9 ------------------------------------------------------------ revno: 146 committer: Paul Larson branch nick: lava-dispatcher timestamp: Thu 2011-10-20 15:40:04 -0500 message: Doesn't really seem necessary to extend this to use LAVA_RESULT_DIR, and it can fail if that dir doesn't exist already modified: lava_dispatcher/android_client.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/android_client.py' --- lava_dispatcher/android_client.py 2011-10-20 06:38:10 +0000 +++ lava_dispatcher/android_client.py 2011-10-20 20:40:04 +0000 @@ -34,8 +34,7 @@ def __init__(self, context, config): LavaClient.__init__(self, context, config) # use a random result directory on android for they are using same host - self.android_result_dir = mkdtemp( - dir='/tmp/%s' % context.config.get("LAVA_RESULT_DIR")) + self.android_result_dir = mkdtemp() os.chmod(self.android_result_dir, 0755) def run_adb_shell_command(self, dev_id, cmd, response, timeout=-1):