From patchwork Wed Oct 31 13:38:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Pigott X-Patchwork-Id: 12631 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 1E67723FBB for ; Wed, 31 Oct 2012 13:38:18 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id C6940A18944 for ; Wed, 31 Oct 2012 13:38:17 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so1953713iej.11 for ; Wed, 31 Oct 2012 06:38:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf :content-type: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; bh=x9aJCNbE13CbzSdDaBj9sRStbUMVwhppK+KYnGUzWRk=; b=E6i+ZTbRHsgpXp7ZMDMmSP86DcQ/EaWm5uKcou0aUqZPnfhQNi4t09HNl3mK2TLVvc KDCsYewdok9pcE51SnepOGSA5kWF9FuNjgySGcgz7eb4ydicVxl8lynfbu43eRS4xjAM HI8g1a7ER4rkHEr71TxjFdjKPJaiGMgifQbCaJzM/x29jSQVAXKgiCVub+6XaUfrqr4L npq+HzrWrhY/Cz8kZsNEwuc25VYY2aROmHeeel7h6FPoJDn7rlRyHVarg6Pk51Qo9LHt KBruOSCt0qAHtbj3mXjHYEqwYc7JfQ3C3N7JKpx0ynjmSuFQvt9iwq4c4SFMiMg8osB5 oiyw== Received: by 10.42.57.10 with SMTP id b10mr31613570ich.54.1351690697244; Wed, 31 Oct 2012 06:38:17 -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.50.67.148 with SMTP id n20csp623102igt; Wed, 31 Oct 2012 06:38:16 -0700 (PDT) Received: by 10.216.136.31 with SMTP id v31mr20041996wei.104.1351690695294; Wed, 31 Oct 2012 06:38:15 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id ch7si11893325wib.43.2012.10.31.06.38.14 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 31 Oct 2012 06:38: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 1TTYUo-0001M6-D5 for ; Wed, 31 Oct 2012 13:38:14 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 55AA8E0151 for ; Wed, 31 Oct 2012 13:38: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: 428 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 428: Catch specific exception Message-Id: <20121031133814.30547.11723.launchpad@ackee.canonical.com> Date: Wed, 31 Oct 2012 13:38: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="16218"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: b5202a8cf2ba4d1214e91ffa7d8d1be33252df03 X-Gm-Message-State: ALoCoQk1fuFqEx7eFxeHHHVo//blU9UElftxb2k/R/7ed2O8cPhFdCBa3Tc8KFwjSHOiJHrq/dh0 ------------------------------------------------------------ revno: 428 committer: dave.pigott@linaro.org branch nick: network-retry timestamp: Wed 2012-10-31 14:35:24 +0100 message: Catch specific exception modified: lava_dispatcher/device/master.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/device/master.py' --- lava_dispatcher/device/master.py 2012-10-31 13:24:29 +0000 +++ lava_dispatcher/device/master.py 2012-10-31 13:35:24 +0000 @@ -460,7 +460,7 @@ try: self.wait_network_up() network_up = True - except: + except NetworkError: target.boot_master_image() attempts = attempts-1 if not network_up: