From patchwork Fri Jul 27 15:47:22 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Doan X-Patchwork-Id: 10337 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 867FD23E3D for ; Fri, 27 Jul 2012 15:47:25 +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 3AEC1A1917A for ; Fri, 27 Jul 2012 15:47:25 +0000 (UTC) Received: by yhpp61 with SMTP id p61so3327668yhp.11 for ; Fri, 27 Jul 2012 08:47:24 -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=MM+EezqI4XtBKq0Kz43czd2vHZqM/hmoSmBx3DoYGr0=; b=X9WaLle2fSX4UhjA2YVoZNC1D8nflBr+QRm5/7NJictGbF3kjQbymqGyAQC46eBU2T cFRjpf0OlEBg3lkZ79vmskMfQBltqYYzGEYCeRTTOO0Tvec0BI/IwkTB8xxlXYloQPmC Ml8Iqg9VwkC2x+9tQN6kuJyCvTNFLxTDELsnODITHBOO1Dgdysa/j+ZEC6fArPTsi/Md UwrdLKXnmYvwa7gdQymLGvFe5rqiwnt15YLHr0mLbQLtRtFzbhcsUPbSAihonOMB+AC1 eTrdJDnRcE1848G9EfaDFQVNG+JX96hGTKpGTxrLHZVc5JjjEKBGVWt/LrfWfKZMxLtq KMhQ== Received: by 10.50.220.136 with SMTP id pw8mr2495147igc.1.1343404044547; Fri, 27 Jul 2012 08:47:24 -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.43.93.3 with SMTP id bs3csp38888icc; Fri, 27 Jul 2012 08:47:23 -0700 (PDT) Received: by 10.216.162.141 with SMTP id y13mr1554574wek.14.1343404043171; Fri, 27 Jul 2012 08:47:23 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id e5si5921226wiz.14.2012.07.27.08.47.22 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 27 Jul 2012 08:47:23 -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 1Suml8-0005Rp-Jn for ; Fri, 27 Jul 2012 15:47:22 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 89DF2E00AA for ; Fri, 27 Jul 2012 15:47:22 +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: 360 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 360: use wget --no-cert to deal with https downloads Message-Id: <20120727154722.21352.19262.launchpad@ackee.canonical.com> Date: Fri, 27 Jul 2012 15:47:22 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="15694"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: ee4440e7b8572b5912d3321a427c906eeb7f6db1 X-Gm-Message-State: ALoCoQlXH+/BwEJJH9GGTtvV4BjI+H7qHjREJGLQ/Z9wllge/nKqwb8UPLJROIYQTN7S/ZG3r/E8 Merge authors: Abner Silva (abnerf) Related merge proposals: https://code.launchpad.net/~abnerf/lava-dispatcher/lava-dispatcher-no-cert/+merge/117056 proposed by: Abner Silva (abnerf) ------------------------------------------------------------ revno: 360 [merge] committer: Andy Doan branch nick: lava-dispatcher timestamp: Fri 2012-07-27 10:42:50 -0500 message: use wget --no-cert to deal with https downloads modified: lava_dispatcher/client/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/client/master.py' --- lava_dispatcher/client/master.py 2012-07-22 01:40:55 +0000 +++ lava_dispatcher/client/master.py 2012-07-27 12:15:47 +0000 @@ -81,7 +81,7 @@ while num_retry > 0: try: session.run( - 'wget --no-proxy --connect-timeout=30 %s -O- %s |' + 'wget --no-check-certificate --no-proxy --connect-timeout=30 %s -O- %s |' 'tar --warning=no-timestamp --numeric-owner -C %s -x%sf -' % (WGET_DEBUGGING_OPTIONS, tarball_url, dest, decompression_char), timeout=timeout) @@ -236,7 +236,7 @@ git_url = session._client.device_option("git_url_disablesuspend_sh") lava_proxy = session._client.context.lava_proxy session.run("sh -c 'export http_proxy=%s'" % lava_proxy) - session.run('wget %s -O %s' % (git_url, script_path)) + session.run('wget --no-check-certificate %s -O %s' % (git_url, script_path)) session.run('chmod +x %s' % script_path) session.run('chown :2000 %s' % script_path)