From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web11.2592.1608339704041157939 for ; Fri, 18 Dec 2020 17:01:44 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=zCeHfV6D; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: nathaniel.l.desimone@intel.com) IronPort-SDR: 0zJWA+zHDhUHjIH74MIv3FIw03htW89C2u7zh37LD3KD3Mux+Gsd1/sAmnM8jcAWi5nYrPqqkb lchfkJpthA0g== X-IronPort-AV: E=McAfee;i="6000,8403,9839"; a="237103547" X-IronPort-AV: E=Sophos;i="5.78,432,1599548400"; d="scan'208";a="237103547" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Dec 2020 17:01:42 -0800 IronPort-SDR: dfz18BRfUEJhFLY3DinacugLAvJv5eihR8TQ6ZMxJzvi84IJ4TY1d+BeuOxQZkth2GG6jwlnsd ZBT6xccxh8/g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,432,1599548400"; d="scan'208";a="386774393" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga004.fm.intel.com with ESMTP; 18 Dec 2020 17:01:42 -0800 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 18 Dec 2020 17:01:40 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Fri, 18 Dec 2020 17:01:40 -0800 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.176) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Fri, 18 Dec 2020 17:01:39 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ly1il7iVGaR0oipvm0HBAX0Drp+l0NEL3O8TICac8G1X1bmILpEM4+kBkrJUa1ux6aBiNC3nsFaaXnRHja3H0G5JpwdUGObF4dFilc5WX5JR2+Z40/wP+j2hzeLv+rWaCUV75c2xOypPdXisT/QQH+1TexY3CnuShCOvDacTB0PhF8Ish+t8WUGU7GM2JZ9gedUMUQvnnFK+nkNIduGn5Ev0AlfhOQivyMIWf46SPorejfFVxR1Jcf3OTyOGvsGLKSq/7lGg71k9+FU2sd1iiREa7THiQF4u2xpOzu9LDHHnHT0EMi9G3Sq1VFonRdn3vkf1h9tCdu9Bt3A7CfmYdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iHzeqAFzqhCYDSn/KwBkH0zxidPKODVv9FmdW3BBLZI=; b=BJkEw/3WUGm8ajxw1HXKEVbPHwFF5yjQN0QjkKKZFV3Z6kkCfcqmnrlDMD3DXytEAs581Y5gJCmo0I6o607Sab9zmET6fciBvtrQR0ZrapQ/bWEynxBZ2iTC+QwjkMxXTLff4sdtztqKNqoC0CGBPexvEBErStfFiRjVNAqN0TciNqhAhBNsrDLSmHQ46JB/lv3dQzn8L6iKn7PU+ngvaMokKkuK8yMTAi6jLU1RszUJ/08Nc4KOgBM5Y3v95FYAkdj3ah2q4oJXsf944Ohc2FEsJupGTu1zkorAZczeAZ5slxCwkp/J9B6PgfUzj27qu/tDnSX/m+SGAfP3rzC3SQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iHzeqAFzqhCYDSn/KwBkH0zxidPKODVv9FmdW3BBLZI=; b=zCeHfV6Di2HBB6eTDlgjK1y8YNamvBucxizoBS01lQvogrjGTRWiwpgeTkSLql9EsZ9KzqNOD8m7Bx/rRfgzfv7uGaiI1V4j8vPUmKJzu9rqgWUwMaXAw0mnLBH6NrBiFL1Jp/Y9GZWqHb3bLpZR+ZXwYvcJvUqVBmd1DbJJmew= Received: from MWHPR1101MB2160.namprd11.prod.outlook.com (2603:10b6:301:5b::12) by MW3PR11MB4619.namprd11.prod.outlook.com (2603:10b6:303:5b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.25; Sat, 19 Dec 2020 01:01:38 +0000 Received: from MWHPR1101MB2160.namprd11.prod.outlook.com ([fe80::3161:c00f:c5c5:f710]) by MWHPR1101MB2160.namprd11.prod.outlook.com ([fe80::3161:c00f:c5c5:f710%8]) with mapi id 15.20.3654.028; Sat, 19 Dec 2020 01:01:38 +0000 From: "Nate DeSimone" To: "devel@edk2.groups.io" , "Desimone, Nathaniel L" CC: "Desimone, Ashley E" , "Pandya, Puja" , Bret Barkelew , "Agyeman, Prince" , "Bjorge, Erik C" Subject: Re: [edk2-devel] [edk2-staging/EdkRepo] [PATCH] EdkRepo: Prevent environment variables from causing install failures Thread-Topic: [edk2-devel] [edk2-staging/EdkRepo] [PATCH] EdkRepo: Prevent environment variables from causing install failures Thread-Index: AQHW1PjiiZvqBhJ50U2iTAykVQbBBan9mwaw Date: Sat, 19 Dec 2020 01:01:38 +0000 Message-ID: References: <1651B62A411DB85B.25702@groups.io> In-Reply-To: <1651B62A411DB85B.25702@groups.io> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=intel.com; x-originating-ip: [50.53.190.176] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8d42a9ee-8a53-4bfa-cdeb-08d8a3b9a3e2 x-ms-traffictypediagnostic: MW3PR11MB4619: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:327; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: GUFtRt/sAREEo4S8R0tZsSAeaYw1QZqXmqT6u/GWvsIUFE1o8XQtPVayZUulneFsSV9Gh2OQKKcHPyTziX1+q3FP5LOTf+Zi/kRG26Yg1fljUk+++K6BmOlKrs4QQllOdifPlXjx+XzyNK+7riQCSQqWSsZ61UsOgP2MeAqh+69nvJFAXlpKh3g/gb96/HKce6LS6gMRdRvC0P4M9jmq/wIt4Ae7c4Msq2aq225TsB7mOcPvXTo2HvLfwgbLcAN1EpttgnkR0hu+b6vf62qJfRSAUPxd9WQD3A86sXJDNxSHAALugQIELCAiYgFQbNmHIZ8mcpXndfX73kGcO4Pdx3SKNhVJKgIwV1p3DRSAAtD5hq5sdLGLk+GmnOrf6QLLT/N974i/RlnmHQge+PU5qf9HhlTZ9dOs7nM6Rw7Hx+kawkhW1YnmUbR8ZLSp7LDKSpByMlrgHiWxRdfLeKNzng== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR1101MB2160.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(396003)(376002)(39860400002)(136003)(366004)(346002)(4326008)(8676002)(83380400001)(52536014)(6506007)(64756008)(76116006)(316002)(53546011)(33656002)(186003)(8936002)(26005)(66556008)(54906003)(66476007)(110136005)(66946007)(2906002)(478600001)(71200400001)(966005)(86362001)(107886003)(7696005)(55016002)(66446008)(9686003)(5660300002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?gUhh7pHYYIEi3npcY5b689jSJiSEhRYDBlN01garDxb6GtkKN8QxtG0yJVal?= =?us-ascii?Q?oVTSyxmC8ecg14+/ZjkuyAI8v6xIQZUXgIuFO+qX4Q49tq724VkJMwlTBQr3?= =?us-ascii?Q?5K1hWQVwdWceaYeOjfq5ibCI2Sf5yvz/FbyPkAvmuGYA3BbPjzPt9YNyFVa7?= =?us-ascii?Q?jQ4j3xVsohpvSpmrfuxCgW01Z5EsyjUN52pW5ZboA4MBTxRjbpif4rry18wX?= =?us-ascii?Q?fA4BDPzFqLX3u1lSv6GXfe9rH7eB5tTDM1ocwh3xKMl0HR0u/qRAUbBl11H6?= =?us-ascii?Q?MV4ASVs8z+a+dWEUAwuB9MCt549B4aooxED0z8S+7VEmCzsADoA52GoR7g9C?= =?us-ascii?Q?OyPauReziI4hU1LRuEPRr0GwlFOqljh44S/Cg8u2ooudA4377BmqG3Bksbo8?= =?us-ascii?Q?4fuAc2efTQW3FlFNhK+Xc7gEKmgpAlFukpESXMH/zpPnzUrugqUOuuroHFTp?= =?us-ascii?Q?8lUWhHFZcg1mflJskAEQWHwNs3+tdBqrc96mDh722SLT0H+vDLtrsmg0iWyF?= =?us-ascii?Q?dJFN3CC06k/vYLm1/qcTpzS0QU0QrfXegE+rtNG889SSGtBc3Iftj/w2gtlO?= =?us-ascii?Q?H7cyPstj5az8NryxxcCTC2TPDmVQvxsqbitkJY6QOfnmRhc9il5m2j3adOBV?= =?us-ascii?Q?mSbTetJF3aZBNmRQ3fpW7mpsemRNK/W/pohNK9bQ8GB9vatNOFF5rhJ5xbLf?= =?us-ascii?Q?sq6RHJg+kQnQkf9z/DurQ4dAFrOnpRXI6e3rmqH44+d4/wD4azd3eNPLom84?= =?us-ascii?Q?57FOfVPXYb4T3xh8NjX/hIBq6ozAskfBAret9qlvEqGVax8pvEEmleD0bV1K?= =?us-ascii?Q?z6wmx6wdUWqJCp/uQDHg9drDI1tRJM4VB1nD1LOaBkj13G+/LsmdE8wj05Iv?= =?us-ascii?Q?iZ51VkC/MCcYx8Zf0yR+6+hRoA887wI6QLIkZvW7MOouNzNyOelpgtRBVWVK?= =?us-ascii?Q?v3bDppy4Mz0txKzrA7AoQ1KDikf+VEwqQ0nSxAdHPRw=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR1101MB2160.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8d42a9ee-8a53-4bfa-cdeb-08d8a3b9a3e2 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Dec 2020 01:01:38.4743 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: MBbeWOKIL6UbAroU0K9okkQV1gkiZCqcrsoRBrDgdWGL9/8O6M7kzfT94nHlU99ewXlFeEM1edaPNIQGgEhygLktz4zlIdxcnPs0HC/8hVs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4619 Return-Path: nathaniel.l.desimone@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Pushed: https://github.com/tianocore/edk2-staging/commit/b5d45cf > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Nate > DeSimone > Sent: Thursday, December 17, 2020 8:47 PM > To: devel@edk2.groups.io > Cc: Desimone, Ashley E ; Pandya, Puja > ; Bret Barkelew ; > Agyeman, Prince ; Bjorge, Erik C > > Subject: [edk2-devel] [edk2-staging/EdkRepo] [PATCH] EdkRepo: Prevent > environment variables from causing install failures >=20 > If the following two environment variables in the global system scope: >=20 > PIP_INDEX_URL > PIP_TARGET >=20 > It will breaks the EdkRepo installer's ability to place files into the P= ython site- > packages directory. To workaround this, the installer should temporarily > delete those environment variables. >=20 > Cc: Ashley E Desimone > Cc: Nate DeSimone > Cc: Puja Pandya > Cc: Bret Barkelew > Cc: Prince Agyeman > Cc: Erik Bjorge > Signed-off-by: Nate DeSimone > --- > edkrepo_installer/EdkRepoInstaller/InstallWorker.cs | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/edkrepo_installer/EdkRepoInstaller/InstallWorker.cs > b/edkrepo_installer/EdkRepoInstaller/InstallWorker.cs > index 679b4f4..0dadbbf 100644 > --- a/edkrepo_installer/EdkRepoInstaller/InstallWorker.cs > +++ b/edkrepo_installer/EdkRepoInstaller/InstallWorker.cs > @@ -576,6 +576,8 @@ namespace TianoCore.EdkRepoInstaller > Action ReportFailure =3D new Action(delegate () { FailureRe= ported =3D > true; }); > Environment.SetEnvironmentVariable("PYTHONHOME", null); > Environment.SetEnvironmentVariable("PYTHONPATH", null); > + Environment.SetEnvironmentVariable("PIP_INDEX_URL", null); > + Environment.SetEnvironmentVariable("PIP_TARGET", null); > if (VendorCustomizer.Instance !=3D null) > { > VendorCustomizer.Instance.WriteToInstallLog =3D new > Action(InstallLogger.Log); > -- > 2.27.0.windows.1 >=20 >=20 >=20 >=20 >=20