From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (NAM10-BN7-obe.outbound.protection.outlook.com [40.107.92.114]) by mx.groups.io with SMTP id smtpd.web12.9436.1596500560963294554 for ; Mon, 03 Aug 2020 17:22:41 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=XZET4WtE; spf=pass (domain: microsoft.com, ip: 40.107.92.114, mailfrom: bret.barkelew@microsoft.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kzgzANPq65yelh7CXiBpUwTBqxESIBlanEmb6j1KX2TIMWySvsBiSM4H78g8p/i7vmTLckuWFOK+r0xBTEjaKUtLNZ6D2lc0BQw8WHRIZjR6kvrBItYIDOJv9Q5wTo9e3NOcGoo7VDGlcqFj46rELyt880pevw8Y/Sy471hQHChLRiOZEXuMZ5tjqcFnvNjN++yosP229wA0gf4ZaIYCu8JcZ0TBorxmp5R3Tvqp/bfSQfVIcAA36b57KJEKJioIueTX4j/txZ6YXqRvs499NWnGUT3PO6txK2uNwzw3cNnP5e/MRuMPJeSh+BCUCIow+cqL0Ni/MsGs9kyxZaP7vg== 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=YK4yI5OyZ/C9Bqr66Y0cozJiWbWeU6CbkPOQqGlEhEY=; b=mXp+yuzGUT9v/6TjHyeZxkBGmp/1KikI5aRvON4ApR6iATLtxGq7viTIU/DCii8c50wpeFr5ualYFnwjrJU5Cj22dt+cDk8MI5c+SOFR0+CqF5ML+fzXQAhSvtVYWuyhQG202a+XLV/2P9WRuPRxdAGTK/o5zyTjtG4hS/idCEdBTuTDRaYELLBTQMyR4lI//kZ+A1rneQleu47w6yuz/M3CGq9scGTUbfQZD/GKZAeD3wAu7vOZHQerYo/NqYyjR40xjtVUIbVcNmfSJOzkEvyZH75noKLlqxa27djgNVjzyh2cxOwnD+chLPuI0oV0PCkXTdjnVy2rAxg1gAgW5g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YK4yI5OyZ/C9Bqr66Y0cozJiWbWeU6CbkPOQqGlEhEY=; b=XZET4WtEvYTm11JcqMveYEZE2gpykomDU9B4EAQ9xyi6Lr0GIWDdtIT+HYL1vKKbf5Aj2Plo+kNDIMjQ/AwDR1zWVa8aJlg2SBfjQ4/6S2Vfb40UHmYH/vHYOaHJQoiuYB5FABzQkD1pLnyDtyEPg5JfIljtNqcp8OWHdnw/lpY= Received: from CY4PR21MB0743.namprd21.prod.outlook.com (2603:10b6:903:b2::9) by CY4PR21MB0280.namprd21.prod.outlook.com (2603:10b6:903:bb::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.9; Tue, 4 Aug 2020 00:22:38 +0000 Received: from CY4PR21MB0743.namprd21.prod.outlook.com ([fe80::2ca0:7d3e:e918:c47a]) by CY4PR21MB0743.namprd21.prod.outlook.com ([fe80::2ca0:7d3e:e918:c47a%11]) with mapi id 15.20.3283.003; Tue, 4 Aug 2020 00:22:38 +0000 From: "Bret Barkelew" To: Bret Barkelew , "devel@edk2.groups.io" CC: Sean Brogan , "Kinney, Michael D" , liming.gao Subject: Re: [EXTERNAL] [PATCH v2 1/1] .pytool/Plugin/HostUnitTestCompilerPlugin: Enable BUILDREPORT on host tests Thread-Topic: [EXTERNAL] [PATCH v2 1/1] .pytool/Plugin/HostUnitTestCompilerPlugin: Enable BUILDREPORT on host tests Thread-Index: AQHWaeh0ry/bJYX6Akum/1TG/1vylqknFsRo Date: Tue, 4 Aug 2020 00:22:38 +0000 Message-ID: References: <20200803225002.1235-1-brbarkel@microsoft.com> In-Reply-To: <20200803225002.1235-1-brbarkel@microsoft.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2020-08-04T00:22:09.4912482Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Privileged authentication-results: corthon.com; dkim=none (message not signed) header.d=none;corthon.com; dmarc=none action=none header.from=microsoft.com; x-originating-ip: [174.21.66.92] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: dcab8177-4bf4-4538-e338-08d8380c7e67 x-ms-traffictypediagnostic: CY4PR21MB0280: x-ms-exchange-transport-forked: True x-ld-processed: 72f988bf-86f1-41af-91ab-2d7cd011db47,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KoNL3cCfkapKuqminXoAvwRHO04kUfH+fUkCJNnKlsFUKCboQCd0INNJJBy+2SY89aNBk88UkPcgrCU1S0JXdIQKfhtnx8hoKTxSq+0dr3TM3bKLHyNfvKYrNLHB0O65WICw1IdJwqxf839pA7CKjpXIp/NIUHnOjNsJmtoBbuCPtI6/IEdhRZOrbg76Lh9nwJlNUqjqgdDTt2BYyUBQm2OreMHVb6Odd6rpN3+k1VDSdZsbEa1tLQYJOrNoq04giECOSVU4JHw3qxWIF9PBEP9LQgj/f5Po6uPVvGnFRVVEUYjtkA93UYIGuCcXJLZBWvWZvD1Jnu2YJosCO82HCwP4b0Tb38V1tLeB8ciXnU3UNeIzs3KU7yxMWp4TezzM x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY4PR21MB0743.namprd21.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(396003)(136003)(366004)(376002)(346002)(39860400002)(10290500003)(6506007)(316002)(2906002)(53546011)(54906003)(110136005)(7696005)(55016002)(478600001)(86362001)(66446008)(4326008)(66946007)(8990500004)(64756008)(83380400001)(66556008)(66476007)(76116006)(82950400001)(8936002)(33656002)(5660300002)(9686003)(26005)(186003)(82960400001)(71200400001)(8676002)(52536014)(213903007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: 9XBWcDtV60AxqU5+QdMrXDR4WqeOJllGTvBcKd2vhScU9XGxRS1E8PBMZ36UmElC44fGecolWWdVRlf0l7K7bFC9e9h0MkZtE6qjGXbYCv+AEPiFFLioG5AszYFle/dM958ZtGo5gsMgxOzugXe+7lg5HP+9qE3IB1hVkbDJQjFod+DLo3wr0DSU1V9fDdDR0h7rW0G2aMKrV3w02xFXP7VIYtFPnlXlLHiCLfuU9kikL+Qp6p0W+NdbQ61ZHVdg+dPM+u2ZLO8FUTFtjeDVpj+yNlPCOxHbRKZbXs4Mro8mysM7oCP9rGjrBZqIR9GEoMpAWqCZsUaUFxYpnzKvK0zJkpLeJ1JeWZxakHrzYd4XGnQWXWy0Q9EHuLe/uLTxHyOKHB4INEx9841C6cN9+EXM9MDQB/0+qds8eJbeIX7uXxitteRnQwl5aWMq57dkHgebUScf98q/obq5I7OI8uuGPFWmXANAs3hseR4wCbK2Fxhz2zdN7OcJ7t76CTC9yctL6cIhh1rizqNjwxNyAq63qoIVpE9zHjLYZp9Rniy9NGQnFfQ22IbVr6Li9w6E7EC5L/iomstAqI5vPHd+KN2lECSztR39Qc8bqOjAEU0IlPvgk5iWz6INd6mhro3fD0rQg+Foe2jEruDYAjR93w== MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY4PR21MB0743.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: dcab8177-4bf4-4538-e338-08d8380c7e67 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Aug 2020 00:22:38.3046 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: wint82FeH7o39J0Ld7KV/i0Au08qjQM+ujevWUU2iLXCBpmhVauc29j1s9bf/zy+8or5osJBxkOifRh0t7yJVQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0280 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_CY4PR21MB0743A62B9B4F74CDD3DC1445EF4A0CY4PR21MB0743namp_" --_000_CY4PR21MB0743A62B9B4F74CDD3DC1445EF4A0CY4PR21MB0743namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Second version (ignore the title) of this coming soon to update the regular= builds and collect the artifacts. - Bret From: Bret Barkelew Sent: Monday, August 3, 2020 3:50 PM To: devel@edk2.groups.io Cc: Sean Brogan; Bret Barkelew; Kinney, Michael D; liming.gao Subject: [EXTERNAL] [PATCH v2 1/1] .pytool/Plugin/HostUnitTestCompilerPlugi= n: Enable BUILDREPORT on host tests Update the CI invocable that builds host-based unit tests to make sure that BUILDREPORT is built for all tests. This is useful for determining which libraries were consumed in the build. Cc: Sean Brogan Cc: Bret Barkelew Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Bret Barkelew --- .pytool/Plugin/HostUnitTestCompilerPlugin/HostUnitTestCompilerPlugin.py | = 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pytool/Plugin/HostUnitTestCompilerPlugin/HostUnitTestCompiler= Plugin.py b/.pytool/Plugin/HostUnitTestCompilerPlugin/HostUnitTestCompilerP= lugin.py index f21b40caf291..43abd1f4795b 100644 --- a/.pytool/Plugin/HostUnitTestCompilerPlugin/HostUnitTestCompilerPlugin.= py +++ b/.pytool/Plugin/HostUnitTestCompilerPlugin/HostUnitTestCompilerPlugin.= py @@ -86,6 +86,8 @@ class HostUnitTestCompilerPlugin(ICiBuildPlugin): def RunBuildPlugin(self, packagename, Edk2pathObj, pkgconfig, environm= ent, PLM, PLMHelper, tc, output_stream=3DNone): self._env =3D environment environment.SetValue("CI_BUILD_TYPE", "host_unit_test", "Set in Ho= stUnitTestCompilerPlugin") + environment.SetValue("BUILDREPORTING", "TRUE", "Set in HostUnitTes= tCompilerPlugin") + environment.SetValue("BUILDREPORT_TYPES", "PCD DEPEX LIBRARY BUILD= _FLAGS", "Set in HostUnitTestCompilerPlugin") # Parse the config for required DscPath element if "DscPath" not in pkgconfig: -- 2.27.0.windows.1 --_000_CY4PR21MB0743A62B9B4F74CDD3DC1445EF4A0CY4PR21MB0743namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Second version (ignore the title) of this coming soo= n to update the regular builds and collect the artifacts.

 

- Bret

 

From: Bret Barkelew
Sent: Monday, August 3, 2020 3:50 PM
To: devel@edk2.groups.io=
Cc: Sean Brogan; Bret Barkelew; Kinney, Mi= chael D; liming.gao
Subject: [EXTERNAL] [PATCH v2 1/1] .pytool/Plugin/HostUnitTestCompil= erPlugin: Enable BUILDREPORT on host tests

 

Update the CI invocab= le that builds host-based unit tests to make
sure that BUILDREPORT is built for all tests. This is useful for
determining which libraries were consumed in the build.

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Bret Barkelew <Bret.Barkelew@microsoft.com>
---
 .pytool/Plugin/HostUnitTestCompilerPlugin/HostUnitTestCompilerPlugin.= py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.pytool/Plugin/HostUnitTestCompilerPlugin/HostUnitTestCompiler= Plugin.py b/.pytool/Plugin/HostUnitTestCompilerPlugin/HostUnitTestCompilerP= lugin.py
index f21b40caf291..43abd1f4795b 100644
--- a/.pytool/Plugin/HostUnitTestCompilerPlugin/HostUnitTestCompilerPlugin.= py
+++ b/.pytool/Plugin/HostUnitTestCompilerPlugin/HostUnitTestCompilerPlugin.= py
@@ -86,6 +86,8 @@ class HostUnitTestCompilerPlugin(ICiBuildPlugin):
     def RunBuildPlugin(self, packagename, Edk2pathObj,= pkgconfig, environment, PLM, PLMHelper, tc, output_stream=3DNone):

         self._env =3D environment<= br>
         environment.SetValue("= ;CI_BUILD_TYPE", "host_unit_test", "Set in HostUnitTest= CompilerPlugin")

+        environment.SetValue("BUIL= DREPORTING", "TRUE", "Set in HostUnitTestCompilerPlugin= ")

+        environment.SetValue("BUIL= DREPORT_TYPES", "PCD DEPEX LIBRARY BUILD_FLAGS", "Set i= n HostUnitTestCompilerPlugin")

 

         # Parse the config for req= uired DscPath element

         if "DscPath" not= in pkgconfig:

--
2.27.0.windows.1

 

--_000_CY4PR21MB0743A62B9B4F74CDD3DC1445EF4A0CY4PR21MB0743namp_--