From patchwork Thu May 17 20:19:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael-Doyle Hudson X-Patchwork-Id: 8773 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 484D223E13 for ; Thu, 17 May 2012 20:19:19 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id 18544A182DF for ; Thu, 17 May 2012 20:19:19 +0000 (UTC) Received: by mail-gg0-f180.google.com with SMTP id f1so2735880ggn.11 for ; Thu, 17 May 2012 13:19:18 -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=ytOifRrpUFk5ZnEJeOplx4uTMyWGvaQHJX/dZj42FgY=; b=gQVvjBYxE7Cfb4gmIC5auHdaIHxJPwKkzXPy2mi7QweCDYT5NpW9e7n2hf/ODIKM22 QD5/IxOoramCh4eI3/3sUHT44vgGDX3LuRbiGaS2FOtNfxnS4yHQshY3PDfU3LSQCrpz V4qdo9uXuFyBvgKsRZjWRes8R6tneCgLg8E2VrSpfTTbHSnFuuqOO+v2hAgFh9P/DHl8 6X/+PVQkwkzzd+aiKWfU7p9+dhBLXgx6UuhwNKHUIShqphDUOfxAjIK1i9m7+exKtWOO uzMe9N+uUtalLJMZ+5R4ul5Qo6WJ5rgxy840yFP1xjbeoEYQtkjYhvEuq4s4fgLi/AOo k+/Q== Received: by 10.42.88.135 with SMTP id c7mr5617994icm.57.1337285958644; Thu, 17 May 2012 13:19:18 -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.231.35.72 with SMTP id o8csp54062ibd; Thu, 17 May 2012 13:19:16 -0700 (PDT) Received: by 10.180.87.35 with SMTP id u3mr21413094wiz.11.1337285955470; Thu, 17 May 2012 13:19:15 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id z55si5262873wem.23.2012.05.17.13.19.14 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 May 2012 13:19: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 1SV7AI-0008AQ-Oo for ; Thu, 17 May 2012 20:19:14 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id B3FF2E2B6B for ; Thu, 17 May 2012 20:19: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: 290 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 290: reapply dave's changes to increase timeouts around setting proxies Message-Id: <20120517201914.17716.24241.launchpad@ackee.canonical.com> Date: Thu, 17 May 2012 20:19: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="15259"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: f2cc7497962ccb8b7dbe5ed65b8c4c0635f3204e X-Gm-Message-State: ALoCoQkHvhTyjhhuC1P0ci3sVASqunOWFilN43knDatjGu6+kRPGbUpiZazyHa4ae/XymLDoyCB5 Merge authors: Dave Pigott (dpigott) Related merge proposals: https://code.launchpad.net/~dpigott/lava-dispatcher/timeout-changes/+merge/106163 proposed by: Dave Pigott (dpigott) review: Approve - Fathi Boudra (fboudra) ------------------------------------------------------------ revno: 290 [merge] committer: Michael Hudson-Doyle branch nick: trunk timestamp: Fri 2012-05-18 08:17:17 +1200 message: reapply dave's changes to increase timeouts around setting proxies 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 2012-04-23 05:51:22 +0000 +++ lava_dispatcher/client/base.py 2012-05-17 13:02:48 +0000 @@ -383,13 +383,16 @@ if lava_proxy: logging.info("Setting up http proxy") # haven't included Android support yet + # Timeout is 30 seconds because of some underlying + # problem that causes these commands to sometimes + # take around 15-20 seconds. self.proc.sendline("export http_proxy=%s" % lava_proxy) - self.proc.expect(prompt_str, timeout=10) + self.proc.expect(prompt_str, timeout=30) self.proc.sendline("echo 'Acquire::http::proxy \"%s\";' > /etc/apt/apt.conf.d/30proxy" % lava_proxy) - self.proc.expect(prompt_str, timeout=10) + self.proc.expect(prompt_str, timeout=30) else: self.proc.sendline("echo '' > /etc/apt/apt.conf.d/30proxy") - self.proc.expect(prompt_str, timeout=10) + self.proc.expect(prompt_str, timeout=30) def boot_master_image(self):