From patchwork Fri Nov 9 15:45:16 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Doan X-Patchwork-Id: 12793 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 17AC323E28 for ; Fri, 9 Nov 2012 15:45:21 +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 6DF08A18551 for ; Fri, 9 Nov 2012 15:45:20 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so5811453iej.11 for ; Fri, 09 Nov 2012 07:45:19 -0800 (PST) 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=mHLbwh/kZHojJ4VaW7BXR/13xq4VqU/8Ow467Y6H1RU=; b=HZc7GV5DpSMioKFvkKdN0f1lhNwY5nSFnQhimJX029tek6aaYEqIP6/7JIipo5x/NN n8oL899cCsurz8pNG/T3Voe9glZ6F3hf+MTguwtDu0+GmLvGlISdkxE4Z2AXphSnZeo9 m3Jhi+TxNh8HAJI0xXfPfEo65s9PrcuRDeEbopaRC+p6Qy4wSBEx3SDmR7KzGoI7Nb1N d5tV2cvWgH4mz5ah+qX7/v6UEaCvTfvK1RJ88v2IidTIIuPSOv9B4WuxNc1dWS9RGl0y McxjLISmd7PnlCJt85zNwJxKY24zpCw21IjNe4lPN3pZqnB+OufD2fUe1qaOyi1cFg/R 50oQ== Received: by 10.50.187.197 with SMTP id fu5mr1098948igc.70.1352475919905; Fri, 09 Nov 2012 07:45:19 -0800 (PST) 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 n20csp44365igt; Fri, 9 Nov 2012 07:45:19 -0800 (PST) Received: by 10.180.14.73 with SMTP id n9mr3268053wic.15.1352475918391; Fri, 09 Nov 2012 07:45:18 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id ej3si166227wid.3.2012.11.09.07.45.16 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 09 Nov 2012 07:45:18 -0800 (PST) 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 1TWqlg-0008Sa-Fw for ; Fri, 09 Nov 2012 15:45:16 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 55E70E418B for ; Fri, 9 Nov 2012 15:45: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: 442 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 442: Run bzr branch with BZR_HOME=/dev/null Message-Id: <20121109154516.31643.91024.launchpad@ackee.canonical.com> Date: Fri, 09 Nov 2012 15:45:16 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="16250"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 305444b3c4655551921f2adcc15964ef7e6da071 X-Gm-Message-State: ALoCoQnidVDDRcGK4KsCNktcxgpT7psbTUolRbWldFOFEY99VhCWcjtdO5WtLWv1/+giBAqhjLh/ Merge authors: Paul Sokolovsky (pfalcon) Related merge proposals: https://code.launchpad.net/~pfalcon/lava-dispatcher/1076381-bzr_home/+merge/133636 proposed by: Paul Sokolovsky (pfalcon) review: Approve - Andy Doan (doanac) ------------------------------------------------------------ revno: 442 [merge] committer: Andy Doan branch nick: lava-dispatcher timestamp: Fri 2012-11-09 09:43:53 -0600 message: Run bzr branch with BZR_HOME=/dev/null modified: lava_dispatcher/actions/lava_test_shell.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/actions/lava_test_shell.py' --- lava_dispatcher/actions/lava_test_shell.py 2012-11-02 08:33:10 +0000 +++ lava_dispatcher/actions/lava_test_shell.py 2012-11-08 14:08:30 +0000 @@ -181,7 +181,11 @@ os.chdir(testdir) for repo in testdef['install'].get('bzr-repos', []): logging.info("bzr branch %s" % repo) - subprocess.check_call(['bzr', 'branch', repo]) + # Pass non-existent BZR_HOME value, or otherwise bzr may + # have non-reproducible behavior because it may rely on + # bzr whoami value, presence of ssh keys, etc. + subprocess.check_call(['bzr', 'branch', repo], + env={'BZR_HOME': '/dev/null', 'BZR_LOG': '/dev/null'}) name = repo.replace('lp:', '').split('/')[-1] self._sw_sources.append(self._bzr_info(repo, name)) for repo in testdef['install'].get('git-repos', []):