From patchwork Thu Sep 12 17:11:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tyler Baker X-Patchwork-Id: 20009 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f198.google.com (mail-qc0-f198.google.com [209.85.216.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 47891202DE for ; Thu, 12 Sep 2013 17:11:27 +0000 (UTC) Received: by mail-qc0-f198.google.com with SMTP id l13sf74996qcy.1 for ; Thu, 12 Sep 2013 10:11:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mime-version:to:from:subject :message-id:date:reply-to:sender:errors-to:precedence :x-original-sender:x-original-authentication-results:mailing-list :list-id:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=Bh72vC/tpKESF/zUGdpYSnisoS1S+tnr/HZG/732hRs=; b=PC1J5pXAZ5WWHqS+G8LoKK89/QAhWwSG4fgspN8uJCZsK5tSnRatCyfO9ChkHthRPE 1Hxa6ubuKtj4N2sNy3VNy21ZRIf7ffUsHJF6EHvZaAdr29w+hJBF8dXC37wztd8EFKO+ IzjMu3pIMi9RWLL2nYyqsxn0e+cOm5s12wD1WKYW/4hzgUO412sfMUKSlcKvjdqFbcLk UHuD/fEhuSlUFENTPTL8pEJptSkGzCcvKQ3kQcRBEToIjf9hWIdSA/U58h7W2O+I+0fL iJ5bdJTrOVEL1MzzYy7DrrksXbCdZSk+KXMRYyNoIAZF8qm4UeNLOOpKCFb+f2fXwYOR cDvg== X-Gm-Message-State: ALoCoQnp4hjXvc4zzkv4JGpdHrzPyacEf3pTBAOY12fw6lPzS6/UbeqnPPdfVm3IRHTbbNQPgnd8 X-Received: by 10.236.32.74 with SMTP id n50mr3167721yha.13.1379005887255; Thu, 12 Sep 2013 10:11:27 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.85.200 with SMTP id j8ls827168qez.6.gmail; Thu, 12 Sep 2013 10:11:27 -0700 (PDT) X-Received: by 10.221.44.136 with SMTP id ug8mr7468894vcb.13.1379005887001; Thu, 12 Sep 2013 10:11:27 -0700 (PDT) Received: from mail-vb0-f48.google.com (mail-vb0-f48.google.com [209.85.212.48]) by mx.google.com with ESMTPS id zw10si1545008vdb.96.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Sep 2013 10:11:26 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.48 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.48; Received: by mail-vb0-f48.google.com with SMTP id w16so61937vbf.35 for ; Thu, 12 Sep 2013 10:11:26 -0700 (PDT) X-Received: by 10.220.237.208 with SMTP id kp16mr7447077vcb.4.1379005886844; Thu, 12 Sep 2013 10:11:26 -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.220.174.196 with SMTP id u4csp32053vcz; Thu, 12 Sep 2013 10:11:26 -0700 (PDT) X-Received: by 10.180.185.77 with SMTP id fa13mr6701143wic.58.1379005885275; Thu, 12 Sep 2013 10:11:25 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id r6si9413760wiy.59.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 12 Sep 2013 10:11:25 -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 1VKAQO-0008IE-L1 for ; Thu, 12 Sep 2013 17:11:24 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 92BC4F3005 for ; Thu, 12 Sep 2013 17:11:24 +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: 683 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 683: Fix for bug 1224359 Message-Id: <20130912171124.30073.60171.launchpad@ackee.canonical.com> Date: Thu, 12 Sep 2013 17:11:24 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: list X-Generated-By: Launchpad (canonical.com); Revision="16761"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: e1c90df8530f2dd8eecf024bd100cb012a3c9075 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: noreply@launchpad.net X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.48 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: , ------------------------------------------------------------ revno: 683 committer: Tyler Baker branch nick: lava-dispatcher timestamp: Thu 2013-09-12 10:10:44 -0700 message: Fix for bug 1224359 modified: lava_dispatcher/client/base.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/client/base.py' --- lava_dispatcher/client/base.py 2013-09-05 00:10:08 +0000 +++ lava_dispatcher/client/base.py 2013-09-12 17:10:44 +0000 @@ -151,7 +151,7 @@ def get_target_ip(self): logging.info("Waiting for network to come up") try: - self.wait_network_up(timeout=20) + self.wait_network_up() except NetworkError: logging.exception("Unable to reach LAVA server") raise @@ -161,7 +161,7 @@ "awk '{print \"<\" $1 \">\"}'" % self._client.config.default_network_interface) self.run( - cmd, [pattern1, pexpect.EOF, pexpect.TIMEOUT], timeout=5) + cmd, [pattern1, pexpect.EOF, pexpect.TIMEOUT], timeout=60) if self.match_id != 0: msg = "Unable to determine target image IP address" logging.error(msg) @@ -177,7 +177,7 @@ self.run( "LC_ALL=C ping -W4 -c1 %s" % lava_server_ip, ["1 received|1 packets received", "0 received|0 packets received", "Network is unreachable"], - timeout=5, failok=True) + timeout=60, failok=True) if self.match_id == 0: return True else: