From patchwork Thu Jun 13 01:52:16 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yongqin Liu X-Patchwork-Id: 17864 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-gh0-f199.google.com (mail-gh0-f199.google.com [209.85.160.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 02E0B23903 for ; Thu, 13 Jun 2013 01:52:19 +0000 (UTC) Received: by mail-gh0-f199.google.com with SMTP id g14sf5355337ghb.6 for ; Wed, 12 Jun 2013 18:52:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-beenthere:x-forwarded-to:x-forwarded-for:delivered-to :mime-version:x-launchpad-project:x-launchpad-branch :x-launchpad-message-rationale:x-launchpad-branch-revision-number :x-launchpad-notification-type:to:from:subject:message-id:date :reply-to:sender:errors-to:precedence:x-generated-by :x-launchpad-hash:x-gm-message-state:x-original-sender :x-original-authentication-results:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=3Zdcsrko8uFEptysKuP6pTOKzfQUvYkD9Ge4T/LhuMM=; b=Xm7xLug9wHuAcGGn7gUwP3Gx5ipWO5JL6k5qvjHFPH/xXKsqBBNQBuwn8Re7HDEbHY 1Gn5Cz2qIlhPNMn/thaoBFLdkjAXbZ+0JjcDIsktMEX693afSYqA6+UmEhbOVtJnSBKV JSH/BqzcFqyqC06KDB2t8MyNiSiamzHT+v5aDthgVxizH/5MwQCnXJqtXmuiHs2wYlyf BBxgpT4SfPU9kCl87QnsYwt7HxGNwyIPDrnN883aJ+4AZlRs4IxfOc7LsgsIbkRkZZqA 1dfg6QFbwAjxbxASdvqqTADwaQWGO3vbNo8mowH8QTGldwS2h+wSPbnYoNuEY9Q9tsr1 Z8fA== X-Received: by 10.224.200.202 with SMTP id ex10mr446687qab.8.1371088339411; Wed, 12 Jun 2013 18:52:19 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.108.201 with SMTP id hm9ls4039261qeb.65.gmail; Wed, 12 Jun 2013 18:52:19 -0700 (PDT) X-Received: by 10.220.7.134 with SMTP id d6mr10698497vcd.56.1371088339124; Wed, 12 Jun 2013 18:52:19 -0700 (PDT) Received: from mail-ve0-x22f.google.com (mail-ve0-x22f.google.com [2607:f8b0:400c:c01::22f]) by mx.google.com with ESMTPS id sc6si9655059vdc.86.2013.06.12.18.52.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Jun 2013 18:52:19 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::22f is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::22f; Received: by mail-ve0-f175.google.com with SMTP id da11so7160805veb.6 for ; Wed, 12 Jun 2013 18:52:18 -0700 (PDT) X-Received: by 10.58.251.144 with SMTP id zk16mr2998576vec.37.1371088338868; Wed, 12 Jun 2013 18:52:18 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.191.99 with SMTP id gx3csp3722vec; Wed, 12 Jun 2013 18:52:18 -0700 (PDT) X-Received: by 10.15.107.6 with SMTP id ca6mr23748194eeb.120.1371088337052; Wed, 12 Jun 2013 18:52:17 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id u9si8191671eeg.51.2013.06.12.18.52.16 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 12 Jun 2013 18:52: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; Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Umwi0-00031r-98 for ; Thu, 13 Jun 2013 01:52:16 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 34B58E04D7 for ; Thu, 13 Jun 2013 01:52:16 +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: 625 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 625: fix to treat ADBConnectError as err in run method of job.py, so that we can get the trace of the ... Message-Id: <20130613015216.16269.3140.launchpad@ackee.canonical.com> Date: Thu, 13 Jun 2013 01:52:16 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: list X-Generated-By: Launchpad (canonical.com); Revision="16667"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 79989a2d3c7cc4510c9c053647c92aa1113b2629 X-Gm-Message-State: ALoCoQlfW6exZeNVKZN4sdm3s+rby282rryZuLEH9erLcPkVraWzPafSuG4sFmcD/ON8hcGr8997 X-Original-Sender: noreply@launchpad.net X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::22f is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Merge authors: Yongqin Liu (liuyq0307) Related merge proposals: https://code.launchpad.net/~liuyq0307/lava-dispatcher/ADBConnectError-as-err/+merge/168222 proposed by: Yongqin Liu (liuyq0307) review: Approve - Antonio Terceiro (terceiro) ------------------------------------------------------------ revno: 625 [merge] committer: Yongqin Liu branch nick: lava-dispatcher timestamp: Thu 2013-06-13 09:51:01 +0800 message: fix to treat ADBConnectError as err in run method of job.py, so that we can get the trace of the error modified: lava_dispatcher/job.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/job.py' --- lava_dispatcher/job.py 2013-04-23 10:33:49 +0000 +++ lava_dispatcher/job.py 2013-06-08 02:59:56 +0000 @@ -176,7 +176,7 @@ try: status = 'fail' action.run(**params) - except ADBConnectError: + except ADBConnectError as err: if cmd.get('command') == 'boot_linaro_android_image': logging.warning(('[ACTION-E] %s failed to create the' ' adb connection') % (cmd['command']))