From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web11.2324.1624931111058584788 for ; Mon, 28 Jun 2021 18:45:12 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=VWpVUapA; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: steven.shi@intel.com) X-IronPort-AV: E=McAfee;i="6200,9189,10029"; a="208009950" X-IronPort-AV: E=Sophos;i="5.83,307,1616482800"; d="scan'208,217";a="208009950" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jun 2021 18:45:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,307,1616482800"; d="scan'208,217";a="475779939" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga004.fm.intel.com with ESMTP; 28 Jun 2021 18:45:08 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Mon, 28 Jun 2021 18:45:07 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Mon, 28 Jun 2021 18:45:07 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4 via Frontend Transport; Mon, 28 Jun 2021 18:45:07 -0700 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.45) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.4; Mon, 28 Jun 2021 18:45:06 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TUoWvioa/w9evK4urLLOSUQbWIwCn4H3sGjAnIBS0SrmRXafcpHccj0rVkfDGrklDnS1t7BxsQOBIdgCgL6Iao3565BMjIqb+gyZ0TNeKPoSrc6ZJ+IIGPL8Xd06OtRtzxraulgKaU2cueMvs3kZHBSKoOSNfXgYqQct+scQqhCg9ydJOmebEZtGDByHQRypbY7qr706VeH103QKHJd22T5wi5bgVCP7T3DQl2N1eFaEZIsIi/5dUv4IF6yYHICHR1zJavNQo0k/MA+yWyig4ASLPm6TNGBqbnPGit3wN72xqY+XnBt245DIJlKCpPxChThRrCReZYNqryzeftrZPw== 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=ztlb78FNKJwmRjys1HqziTsH4M5Rjx5BPV9YNwxpAPA=; b=A7FQujhDrYvuy72TLGIVFSJbgzsLjS+V48AWgv12o5pIu+qH3ku7fK8REujZql3phCOW28D76cCF/IeYlK6KPKCG59G+/YyFNJ7QpxuzlowYRMBWPvHAKyRF5ycSB7EpZfH100mvz/bUuW/QQk/FkYeHGdgwaO9IcY3OrOIor20kwHTpEDhScUazwAhNZg4nyULD0auTD6UTTKQLthmtzNIlCnhPsxo+9Qx39hsOzMVjV10sdkGA9M0+6qLYHusxy2/VOnEOxDnMkZWGe1FWuYDMEJwIMRvJ67QQLTuI6J6jiDoTAoYGR6dITcSQ/Eu35x6j8B0X37iD3w3ltT3QvA== 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=ztlb78FNKJwmRjys1HqziTsH4M5Rjx5BPV9YNwxpAPA=; b=VWpVUapAg8JFsK8xkWw6RaEi+VIhy+9XSTvK32tM94XvqVEEQsL40B6mQ3E5UPHJYdX9pR8EG3mkexV7+LzamsovulXn7E5ZvkkL0kONMUJxc9DmuTGIQW3hHKlM7JZN8piEKAWGcpaAj0tnMTR3T38O7O7lQytm5EwEVbo8NJM= Received: from DM4PR11MB5549.namprd11.prod.outlook.com (2603:10b6:5:388::7) by DM5PR1101MB2201.namprd11.prod.outlook.com (2603:10b6:4:51::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.18; Tue, 29 Jun 2021 01:45:05 +0000 Received: from DM4PR11MB5549.namprd11.prod.outlook.com ([fe80::9944:1b19:6f06:6446]) by DM4PR11MB5549.namprd11.prod.outlook.com ([fe80::9944:1b19:6f06:6446%2]) with mapi id 15.20.4242.023; Tue, 29 Jun 2021 01:45:05 +0000 From: "Steven Shi" To: "devel@edk2.groups.io" Subject: Do the edk2 CI unit tests work in Linux? Thread-Topic: Do the edk2 CI unit tests work in Linux? Thread-Index: Addsh/lWzUAlUAcaQu2uOb3cnLs5Eg== Date: Tue, 29 Jun 2021 01:45:05 +0000 Message-ID: Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 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: [192.198.142.12] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9afefc10-6496-43f3-fbbd-08d93a9f84f2 x-ms-traffictypediagnostic: DM5PR1101MB2201: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: uEtWPVTn2DBKhTn+LYnJ+F4Tr1oM31CNH8GvM1kvPSfZGM60bQhwg3LBke9XANVZVpKTNZ6AefJKfhAUNm/7QwlPnn7zhQGum3nxKOYHojgbwd0p3mglHNjkYp87z1l8xxC7Kcm0CczqOQveM0vvtQfAvBYDaiwN47viQ0Tfj60cGL2tlLBpNpspPUPvGAaEbE+Km9So+fROQYrilaeFW5e/B4zn/BDiylCbdHxnT/MKqEazap8nivrllHCQlVEWZ6TraQXN9HLQnUrwctq+ftUwadDAxLcGJM5lLsnvRQhf7tGbgG2RPOgAj9ksJ0lWbLbvKv7ThLxMfE8D7E1U7Fy7wsWX9zVJdRTNigtFoLDRPKMV/AeuNSgC5vSw4bvbthtzdYT0v9jD1Epi+IjW4i49g3QaWUZL4KpgIYYEAIj5zpD919UettMyltRaYEXIIVrnQnVEfpuaJxDyhfbQT33CehCm4OkKpn3sON7dXMT1heCoctAbSCNPvuoYHe3pqvZxAyUbHGUtCiFCXHpoM32SsBUFzfhN3M33d8Oso6Tz0Vh7yf/uFO/Rg+9rlgLplsexhirV9lcvUGNXgmHjKUNKhY1O2RXoA09qz/PrAW4QQREQFSfM0A86j3nXaB3XtwOdtQkB9hU7xkNi+vAlX4lizGKq4py2pOz2rEPkyH63xADyn3PqqdtiL4iqh+yLWIfnZYuqqkLKJ665fSJCTdB+qKYoR3yiPa9Cv2mCPsnrYE1szO+LW7atX00tAVDWuuyfFMMx2rQTYlJenEoPUPg3uxi5a9dl9koq/jUyfgRlSgU2weLzan3eBYn5LwQBKhMTirU75K4b2Lcg3BRv1Q== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM4PR11MB5549.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(136003)(39860400002)(376002)(346002)(396003)(366004)(9326002)(9686003)(33656002)(86362001)(8936002)(186003)(26005)(71200400001)(55016002)(8676002)(83380400001)(5660300002)(122000001)(6506007)(66946007)(6916009)(66446008)(64756008)(38100700002)(66556008)(2906002)(478600001)(76116006)(52536014)(7696005)(66476007)(316002)(166002)(460985005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?6vBtpTC6c4ZgHDzu+v3vK+N8vDZwV9px0A0YBrwLvIdEwXC5Lb1vjS55Vvjj?= =?us-ascii?Q?IjtU5EdxvdlOzl9Dm/siWuasRf2YzgqLCCZujsge2R9ZNiq09tMWhYpkyyiq?= =?us-ascii?Q?kYUGA1uMeHqB+CF/+YICTlaqbZroLRONpSLqQUd1pVQKWWRLsxnITgESfllK?= =?us-ascii?Q?PuWBo/z8tNeL0Y9vLSe9GxikCdOF5y59diJoreKKpwIJ0WAahMXx9NvMsDsm?= =?us-ascii?Q?IwUEZu++L1zSz6EArrzGUcbRkIwgPYqkKrFYLVwFE3PVsdMSru/soh9UKitZ?= =?us-ascii?Q?G5IkKud8QGXFY/pJvASm7iwBVP/c1d9WzqPv3VasKE4x4w7izrOfqZm8cnym?= =?us-ascii?Q?KfqpfzimhmzTd/ig74tumEIp9Njsj/kk1M/XjJzj3lS3d6P+Ib+YaEgAPuAs?= =?us-ascii?Q?QdwE+K6EFn90laBQlVq669GTMBjjxkMKn6oeE44zP7+7/qX6NdHnUQARYQf/?= =?us-ascii?Q?gNh5bl4LtMtzKppoFhZBG4Vfp5j76JiYFeRxU8hvvP9KJ3D2s7X01c7JF2Hs?= =?us-ascii?Q?f+hje6YYqsW8BglSX8qM5cLzOWrSRbyzdAbdGDwyUTELPI9LBMZdTbAs9+L8?= =?us-ascii?Q?+RHYSWsF84qLCUN9NCaRULk85Up/hNVOfXE04QJu8oxMCaXW5VSeLmkDuTRG?= =?us-ascii?Q?lviAiGOzaSqT55Cf/SVfpYK/8fnLI1zOGIrdAW8/Mt/gdQwiuhSrwqXEBaLu?= =?us-ascii?Q?qMVp52asaAP2GrD+lRPq4fybhIEsb5s4vvNltKON7FrVIryjM4qTtETWDP7/?= =?us-ascii?Q?gbsP5aL2Gj69FisTndwOeJrltB90HfR3wpdu9wLYV2b5GGesbtzugiLzAj/0?= =?us-ascii?Q?4gE+5IuDl4WKVrfZOQgyZe3XX7SkEiskwP5ng5WX/8M6P23EOx6kX3vCRCns?= =?us-ascii?Q?nFxHrRRmTiylshYGcKKgCyaP5oFDopvygi9H4wT5oatVAV/Ul7L8qhIeTKZb?= =?us-ascii?Q?4rWAljUA5QgVCOcuB/TDB/kMQfw+wchhIF6vdqCnyDYna8gd1Fpx8suMNhmw?= =?us-ascii?Q?05EOS1uflx/b20M2CLVTyC/ywoQuNd36dagYH05HrhhnyZdd0/Pnu0KB2qqc?= =?us-ascii?Q?Xbt2NUtaFYFgMvxUfcxtV3r+ErMky9cjXjx9XqirTh4hSl5Iow4p0F9uv9Bv?= =?us-ascii?Q?s+q1jm1Cs8JXoejLltq9nsaOZr22fIbv1QhRzFzJlwp9cMQYlTPm6Bz4+5bW?= =?us-ascii?Q?7za/71/EwY5bjMMn1igFeUsQFtutg9VaCR29htozoasupMdzeMRvjBw67mz8?= =?us-ascii?Q?Gt9ZKNyxWrv04Nj1hCCycCXnYLDxhH+6pSEG6K8zPmdDiny8cAHy1ByilJNO?= =?us-ascii?Q?dKK/5X9Lj/rJh8BII20gaFWT?= x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB5549.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9afefc10-6496-43f3-fbbd-08d93a9f84f2 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jun 2021 01:45:05.3367 (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: YP/PEUv0pBsU2X4m7r7sJAXdBYzp6XxMUQf+byayguZ7ESeXkolnYKZC58hgQGXfpnF12kKhCuYbt0Ivj9SSOg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1101MB2201 Return-Path: steven.shi@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_DM4PR11MB5549F327A454E86089F3844C8C029DM4PR11MB5549namp_" --_000_DM4PR11MB5549F327A454E86089F3844C8C029DM4PR11MB5549namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, I'm interested in the edk2 CI unit tests(https://github.com/tianocore/edk2/= tree/master/.pytool). I tested it in my local. It works well in Windows but= does not work in Linux. It looks the NuGet in pytool only has windows vers= ion (C:\steven\unit_test_env\Lib\site-packages\edk2toolext\bin\NuGet.exe) b= ut not support the Linux. Below is my detail test steps. Do the edk2 CI uni= t tests work in Linux? * Windows : c:\steven>py -m venv unit_test_env c:\steven>cd c:\steven\edk2 c:\steven\edk2>c:\steven\unit_test_env\Scripts\activate.bat (unit_test_env) c:\steven\edk2>pip install --upgrade -r pip-requirements.tx= t (unit_test_env) c:\steven\edk2>stuart_setup -c .pytool/CISettings.py TOOL_C= HAIN_TAG=3DVS2019 (unit_test_env) c:\steven\edk2>stuart_update -c .pytool/CISettings.py TOOL_= CHAIN_TAG=3DVS2019 (unit_test_env) c:\steven\edk2>edksetup.bat (unit_test_env) c:\steven\edk2>edksetup.bat Rebuild (unit_test_env) c:\steven\edk2>stuart_ci_build -c .pytool/CISettings.py TOO= L_CHAIN_TAG=3DVS2019 -a X64,IA32 -t DEBUG --verbose ... PROGRESS - Overall Build Status: Success SECTION - Summary PROGRESS - Success * Linux: jshi19@ub2-uefi-b01:~/wksp_efi$ python3 -m venv unit_test_env jshi19@ub2-uefi-b01:~/wksp_efi$ source unit_test_env/bin/activate (unit_test_env) jshi19@ub2-uefi-b01:~/wksp_efi/edk2-2$ pip install --upgrad= e -r pip-requirements.txt (unit_test_env) jshi19@ub2-uefi-b01:~/wksp_efi/edk2-2$ make -C BaseTools/ (unit_test_env) jshi19@ub2-uefi-b01:~/wksp_efi/edk2-2$ stuart_setup -c .pyt= ool/CISettings.py TOOL_CHAIN_TAG=3DGCC5 (unit_test_env) jshi19@ub2-uefi-b01:~/wksp_efi/edk2-2$ stuart_update -c .py= tool/CISettings.py TOOL_CHAIN_TAG=3DGCC5 SECTION - Init SDE WARNING - Using Pip Tools based BaseTools SECTION - Loading Plugins SECTION - Start Invocable Tool SECTION - Initial update of environment UpdatingWARNING - [SDE] Failed to fetch NugetDependecy: edk2-acpica-iasl@20= 200717.0.0: [Nuget] We failed to inst= all this version 20200717.0.0 of edk2-acpica-iasl WARNING - [SDE] Failed to fetch NugetDependecy: mu_nasm@2.15.05: [Nuget] We failed to install this version 2.15.05 of mu_nasm . Done SECTION - Updated/Verified 3 dependencies SECTION - Second pass update of environment UpdatingWARNING - [SDE] Failed to fetch NugetDependecy: edk2-acpica-iasl@20= 200717.0.0: [Nuget] We failed to inst= all this version 20200717.0.0 of edk2-acpica-iasl WARNING - [SDE] Failed to fetch NugetDependecy: mu_nasm@2.15.05: [Nuget] We failed to install this version 2.15.05 of mu_nasm . Done SECTION - Updated/Verified 3 dependencies ERROR - We were unable to successfully update 2 dependencies in environment SECTION - Summary ERROR - Error Thanks Steven Shi --_000_DM4PR11MB5549F327A454E86089F3844C8C029DM4PR11MB5549namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

I’m interested in the edk2 CI unit tests(https://github= .com/tianocore/edk2/tree/master/.pytool). I tested it in my local. It w= orks well in Windows but does not work in Linux. It looks the NuGet in pytool only has windows version (C:\steven\un= it_test_env\Lib\site-packages\edk2toolext\bin\NuGet.exe) but not support th= e Linux. Below is my detail test steps. Do the edk2 CI unit tests work in L= inux?

 

  • Windows :

c:\steven>py -m venv unit_test_env

c:\steven>cd  c:\steven\edk2

c:\steven\edk2>c:\steven\unit_test_env\Scripts\a= ctivate.bat

(unit_test_env) c:\steven\edk2>pip install --upg= rade -r pip-requirements.txt

(unit_test_env) c:\steven\edk2>stuart_setup -c .= pytool/CISettings.py TOOL_CHAIN_TAG=3DVS2019

(unit_test_env) c:\steven\edk2>stuart_update -c = .pytool/CISettings.py TOOL_CHAIN_TAG=3DVS2019

(unit_test_env) c:\steven\edk2>edksetup.bat

(unit_test_env) c:\steven\edk2>edksetup.bat Rebu= ild

(unit_test_env) c:\steven\edk2>stuart_ci_build -= c .pytool/CISettings.py TOOL_CHAIN_TAG=3DVS2019 -a X64,IA32 -t DEBUG --verb= ose

PROGRESS - Overall Build Status: Success=

SECTION - Summary

PROGRESS - Success

 

  • Linux:

jshi19@ub2-uefi-b01:~/wksp_efi$ python3 -m venv unit= _test_env

jshi19@ub2-uefi-b01:~/wksp_efi$ source unit_test_env= /bin/activate

(unit_test_env) jshi19@ub2-uefi-b01:~/wksp_efi/edk2-= 2$ pip install --upgrade -r pip-requirements.txt

(unit_test_env) jshi19@ub2-uefi-b01:~/wksp_efi/edk2-= 2$ make -C BaseTools/

(unit_test_env) jshi19@ub2-uefi-b01:~/wksp_efi/edk2-= 2$ stuart_setup -c .pytool/CISettings.py TOOL_CHAIN_TAG=3DGCC5

(unit_test_env) jshi19@ub2-uefi-b01:~/wksp_efi/edk2-= 2$ stuart_update -c .pytool/CISettings.py TOOL_CHAIN_TAG=3DGCC5<= /p>

SECTION - Init SDE

WARNING - Using Pip Tools based BaseTools=

SECTION - Loading Plugins

SECTION - Start Invocable Tool

SECTION - Initial update of environment

UpdatingWARNING - [SDE] Fa= iled to fetch NugetDependecy: edk2-acpica-iasl@20200717.= 0.0: [Nuget] We failed to install this version 20200717.0.0 of edk2-acp= ica-iasl

WARNING - [SDE] Failed to = fetch NugetDependecy: mu_nasm@2.15.05: [Nuget] We failed t= o install this version 2.15.05 of mu_nasm

. Done

SECTION -       Update= d/Verified 3 dependencies

SECTION - Second pass update of environment

UpdatingWARNING - [SDE] Failed to fetch NugetDepende= cy: edk2-acpica-iasl@20200717.0.0: [Nuget] We failed to install this versio= n 20200717.0.0 of edk2-acpica-iasl

WARNING - [SDE] Failed to fetch NugetDependecy: mu_nasm@2.15.05: [Nuget] We failed to install this version 2.15.05 of m= u_nasm

. Done

SECTION -       Update= d/Verified 3 dependencies

ERROR - We were unable to successfully update 2 depe= ndencies in environment

SECTION - Summary

ERROR - Error

 

 

 

 

Thanks

 

Steven Shi

 

 

 

--_000_DM4PR11MB5549F327A454E86089F3844C8C029DM4PR11MB5549namp_--