From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-00154904.pphosted.com (mx0a-00154904.pphosted.com [148.163.133.20]) by mx.groups.io with SMTP id smtpd.web09.293.1618247938712858472 for ; Mon, 12 Apr 2021 10:18:58 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@dell.com header.s=smtpout1 header.b=vku8QbtZ; spf=pass (domain: dell.com, ip: 148.163.133.20, mailfrom: shivanshi.pandya@dell.com) Received: from pps.filterd (m0170389.ppops.net [127.0.0.1]) by mx0a-00154904.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 13CH8IiA032295; Mon, 12 Apr 2021 13:18:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dell.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=smtpout1; bh=8ee5+c1Fd01BhsTx+BAYpR5tpFJu0p0k7FOxUTkHu3A=; b=vku8QbtZKvSqd9AgcBWXuJm0A21u7R6Oo5rnmWKReN10RfeEF1Oszv7GTumoJVerEo5K rOXQm1FYCR2g0jKH3wSc3rNsT2HVcMBiDVq3Q2XGdfeyjyqfJhaSU9JFOzJX6ZOvaYXP uqZ1PFm6imbE0Ho1ob62y6k5frDSaKNsfO7/z5QNptsNpi2v5/fBUFY7rNltsmJcgOWi wM6HbB6cK/sPVdbh0VOZ+pFugAYWKjeJFvxDxGpvPNpDpJ9C2oRfSu8EBvERVLwwHgjG IOZdmzxDPDGRWKEwb9bpwEdFxYe0Ch7/W4lWRUEhss0tasG3zTcoLr2tQdW3oIpiaKS7 Pw== Received: from mx0a-00154901.pphosted.com (mx0b-00154901.pphosted.com [67.231.157.37]) by mx0a-00154904.pphosted.com with ESMTP id 37vrykrd04-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 12 Apr 2021 13:18:55 -0400 Received: from pps.filterd (m0089484.ppops.net [127.0.0.1]) by mx0b-00154901.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 13CH5UCm127151; Mon, 12 Apr 2021 13:18:55 -0400 Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2177.outbound.protection.outlook.com [104.47.55.177]) by mx0b-00154901.pphosted.com with ESMTP id 37usb9v5w7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 12 Apr 2021 13:18:54 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZI2hJ1QsM9qvqqFb3HbqHqPZhsdxI9NioOeksIocPGDcfpH5dnxW5n4tjLHZRngoXENH4LDHWYXsZAyne18gSlK4vE4MRwIKucIf2dGgkMnq9b0wglCVp5v2t7TmiuHSrFWQ/1Crkti/pbAZ15RYXsgk8BJr/zPVI9/XBjFhJp+wrFneTpWtgvoPq8GCGEmQuo6A+uENUdXb2GheHpM+7NbjctbVzHSqD5rZ/LUw5bDTGT72I1CYm9weC0SLmdZl2gHnpgwPy53x04fPtNXVPAwJ3zF+jsz5JnlsAl3+knS8bhZfUm3vnie/WeDBHplpUc2H1YsKaTK6Hqsb3sdl9w== 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=8ee5+c1Fd01BhsTx+BAYpR5tpFJu0p0k7FOxUTkHu3A=; b=DZpYOYuV1OhXqZ0cfaIVnSX/ssKxa3eU7Zyihj6wGzMGsVOYdMwpLfU8vWzUcEIXHXndK6i4DvV/5TkGPexkINyj17EcPubNtU0SAUhhSDiEzTC87Mx4WcWaeJjpihZihoNN1Dr7gD6QhXpy+ebUBOSsupmincK/b71ufucQmGHQXi2M9Qsrktv2bP/VvhmzCQTK7AFmV5OcvIGFO6G7Q3EZAcdhYNk0kGz160odRtlvjwidYcadfK38K/4RrrR4X4bWL3qGmgB71hD95HWHJ6iH21JbHad6svb+qlrNF3rOI15egjmNTqnAfcNxFMwSQR8oTLX4XAlZ7VKD/k3qqQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=dell.com; dmarc=pass action=none header.from=dell.com; dkim=pass header.d=dell.com; arc=none Received: from SA0PR19MB4410.namprd19.prod.outlook.com (2603:10b6:806:c1::18) by SN6PR19MB2238.namprd19.prod.outlook.com (2603:10b6:805:61::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.22; Mon, 12 Apr 2021 17:18:50 +0000 Received: from SA0PR19MB4410.namprd19.prod.outlook.com ([fe80::896f:6ac4:3369:a3e]) by SA0PR19MB4410.namprd19.prod.outlook.com ([fe80::896f:6ac4:3369:a3e%3]) with mapi id 15.20.4020.022; Mon, 12 Apr 2021 17:18:50 +0000 From: "Pandya, Shivanshi" To: Bret Barkelew , Andrew Fish , edk2-devel-groups-io Subject: Re: [EXTERNAL] [edk2-devel] Build Failed for QEMU35Pkg Thread-Topic: [EXTERNAL] [edk2-devel] Build Failed for QEMU35Pkg Thread-Index: AQHXL7jUhwDrJa6zhU6rmuIkC4YZ/KqxE02AgAAMmhA= Date: Mon, 12 Apr 2021 17:18:50 +0000 Message-ID: References: <5741C996-EB86-4630-AFB0-620E33E9DAB6@apple.com> ,<693BCFB4-B9AC-411A-8E8E-5BDC9B7EB03D@apple.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: msip_labels: MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Name=External Public; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_SetDate=2021-04-12T17:18:47.3431391Z; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Owner=Shivanshi_Pandya@Dell.com; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_SiteId=945c199a-83a2-4e80-9f8c-5a91be5752dd; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Enabled=True; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Application=Microsoft Azure Information Protection; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_ActionId=9a395daf-7efd-4e21-bb2c-a33f4511dc1e; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Extended_MSFT_Method=Manual; 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=2021-04-12T16:29:38.5441594Z authentication-results: microsoft.com; dkim=none (message not signed) header.d=none;microsoft.com; dmarc=none action=none header.from=Dell.com; x-originating-ip: [98.156.163.139] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 66ad2624-fca5-4851-8b0d-08d8fdd70a6a x-ms-traffictypediagnostic: SN6PR19MB2238: x-microsoft-antispam-prvs: x-exotenant: 2khUwGVqB6N9v58KS13ncyUmMJd8q4 x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dZmFDV0JC3VG2DF/fG65FE6Z6k48L0RS8ZFN0i1K6mo45PqQshYwXcEh9m3IohU1T1FT2NNHzngpB0jrTW9l4CleCLe/qqnY54oCn77wcHpYuD1uFxbagt3KMK6nRBxKYl+ufWEGj357bzxlkHVdf+x6NSO0DshM/aCAKpP801+8yzZdjaw7ITGTLMX7OZXa9t4nOvxEHVOqYQoi81PcTvcJLKMG92APHdKAFqV4rRMXc+RltmFwNqTCYr8VUZYEjGU4lhMzMbRDCOmI1mELs4r0TVFuR7417UMAOZd2QSzZOU7U+ryzKKsZ6105zsXJRjJ2OYZgNmEgXx18N7jqb9H3lyMIrZ2oWyXm1aItXPRlkosMAHm//nH3fopwbUQ7af/8o9+b2k2281CxUF50KXDf1057p82hZaEqCaM0ANTr3gmG6AGDJOH713t/OLJW8J/z1PnbRLDdEfYsgZghlIPsbnjcH3qH/4zGp40ItKeIUbOVoNQfa85RJaAA2ryPwEA3ASyWttFWMsenZUAP2lGyHJ8nXCibfyG9S7wsvINr2RWytgCPOx0X3cZOAR7olOppXdgBxOSbYAx08C/+SLf1NjMIjNtlpFP117waE1OmAUG1KVCoAwAOxBl61XHWU6+WBqrBb5Wj39bwcF6fEihic89E2EHuC54hkfBXNSFR2P36cZdTZJF1nBYWtc4L x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA0PR19MB4410.namprd19.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(376002)(366004)(39860400002)(136003)(346002)(396003)(71200400001)(33656002)(6506007)(66616009)(52536014)(8676002)(9686003)(76116006)(99936003)(86362001)(2906002)(66946007)(45080400002)(8936002)(66556008)(38100700002)(26005)(66446008)(478600001)(186003)(166002)(83380400001)(55016002)(66476007)(7696005)(110136005)(316002)(786003)(5660300002)(64756008)(53546011);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?M4nffbBGkW8SfUkMHGNg/q/s9CTfKBtG/xVUE33MC7KJyewGJZtSv/RPmGlf?= =?us-ascii?Q?TglsfT9bOdu6S0o5YRf02QGI2r92+Y/tUs2UvUrhp+xjLxSAF8q/iUyBhzO2?= =?us-ascii?Q?p1AM9RV4u0uNr0v3WXyoASrUm22C6fL8f2unp+3oPq7SgPDB3bSHQDMY8cvi?= =?us-ascii?Q?aIAJ5FQgzAismEm9MVp7qGzJPtGZfuNU8w3oAx/zysm/bzyCzFXOJOqwKkC3?= =?us-ascii?Q?krBjYEWVPOJcVuFyysZtLj8fMPtrPoNuxmQrybPTCBCodMKkQG74BrmXln94?= =?us-ascii?Q?saBD2ahwJlech0doppyX9B0r0oE6CI9GC8WDjK4ok1/hJo1VltgyWgtqxkoA?= =?us-ascii?Q?nkWldAplLRRsZ5WI+UYHkqIrWpH/AzL2Nn4zuPPXR2NG9ja3a8QYGsXk/NHG?= =?us-ascii?Q?NL3rUZ35/OoU0bS8grqVcjHO8NShZxoXGtlRGypEBwaVl2rrytQB9W0YKAf8?= =?us-ascii?Q?l+E9XBsBQSDTul/xYqmRma4uoMcYXfmddnu97OqsKrsuOxHrAcBFhZLFfgpT?= =?us-ascii?Q?q38P6hSPqbYu32vw02m/7v3klRqsPLZDHgMgVsndja3ePP1qd1l90da+grX+?= =?us-ascii?Q?vhTY/wED6cdwlIzXErerBmtK9zMXy2qRmye2f9N511xAXfaOD2FMmKDBLVY3?= =?us-ascii?Q?hhhIp2n7sDSqUud7A1pu7bbenSMUKYFsfWohhBIPScASey+uWPvE88ROnEsZ?= =?us-ascii?Q?Y7NgvN1wnjLy4vcukFkGEmMiEsLC3eayzMZjEQiUUCofukBNQ8cYukuHgbyb?= =?us-ascii?Q?teV+NtSgDc4tkFOQ/WmIlNG66A9m9qdZC+STO8xu/RRw3dlEjeHzL3yS3mtZ?= =?us-ascii?Q?qBtCEP8LlYcrCNeWR0rN0bl4zyuXn/HJSmZ6vrKAUrlLGKGo2LzI00jRYbz+?= =?us-ascii?Q?K2K+Lk5dQmH8dotnvvXCnPG/u4vBfFt+7h6vGtHwIHc9sbvH0QCkc+Yh6NqC?= =?us-ascii?Q?tV5YANln5VphcPDWkNnKEp9AZiGA8I2HftXvNYMi2102ERP27OnP1Sqq59rn?= =?us-ascii?Q?rkkhSDbwAzb77tWnCYFnH57Itv0MKC4wFu3uJxPVY4Rte96KA4QJsc5yp+dx?= =?us-ascii?Q?yj7WhMPBNe7jeK5RHUuKua74WgIY9XmJouGJ9ydkWu38Pwl1t8O0Uy4O/pt3?= =?us-ascii?Q?o8de4X8QDhDMtD12tBibB+21IKmA8uSh1/RSKDHRqxxV/tbAd0dXIbcxo7qI?= =?us-ascii?Q?8QbciGykfPXVYOlb4SKhbs02eks0w4vBUKQp+zmYKT6dXi4qXCbkX5E+r9KM?= =?us-ascii?Q?Um9DNAOZLGzp10+0F22i8RMY7RzOLzCP8Dl2E7HGTEpc8xNwyf4BSy4FFv6W?= =?us-ascii?Q?fbppsS5Asc0Xb0OjvnSzUUNs?= x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: Dell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA0PR19MB4410.namprd19.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 66ad2624-fca5-4851-8b0d-08d8fdd70a6a X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2021 17:18:50.6246 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 945c199a-83a2-4e80-9f8c-5a91be5752dd X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: RtFXCwphhemaSlZXYxrh5FW+yh5OB+B5lxWKA3PsP3pNNPdWaKOCgByA4Uu6AGnwPhD3ZnXocCAcGZzyjg0aPa78CPRXswZy2KPN3UDAw7Y= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR19MB2238 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.761 definitions=2021-04-12_11:2021-04-12,2021-04-12 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 priorityscore=1501 suspectscore=0 bulkscore=0 malwarescore=0 lowpriorityscore=0 impostorscore=0 spamscore=0 adultscore=0 clxscore=1011 mlxscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104060000 definitions=main-2104120109 X-Proofpoint-GUID: RyILta6w-NCLn5Vd9Xi55X02O5Q-V1sF X-Proofpoint-ORIG-GUID: RyILta6w-NCLn5Vd9Xi55X02O5Q-V1sF X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 adultscore=0 malwarescore=0 phishscore=0 spamscore=0 mlxlogscore=999 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104060000 definitions=main-2104120109 X-Groupsio-MsgNum: 73974 Content-Language: en-US Content-Type: multipart/related; boundary="_004_SA0PR19MB4410E6BF1866D5C33A2AF1B291709SA0PR19MB4410namp_"; type="multipart/alternative" --_004_SA0PR19MB4410E6BF1866D5C33A2AF1B291709SA0PR19MB4410namp_ Content-Type: multipart/alternative; boundary="_000_SA0PR19MB4410E6BF1866D5C33A2AF1B291709SA0PR19MB4410namp_" --_000_SA0PR19MB4410E6BF1866D5C33A2AF1B291709SA0PR19MB4410namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hey All, Thank you for your thoughts and responses. I have figured it out. The branch has been updated with fix which I missed! Got the successful bu= ild done. Thank you, Shivanshi From: Bret Barkelew Sent: Monday, April 12, 2021 11:32 AM To: Andrew Fish; edk2-devel-groups-io Cc: Pandya, Shivanshi Subject: RE: [EXTERNAL] [edk2-devel] Build Failed for QEMU35Pkg [EXTERNAL EMAIL] To my knowledge, we do not currently have a required version; the current = state is it either works or it doesn't, and if it doesn't it's on you to fi= gure that out from the failures. I'm not opposed to adding one - if there's interest. I'd have to think abo= ut the best place to add it. The idea of making it its own test is interest= ing. It wouldn't prevent you from getting other test data, but it would let= you know you aren't on the ideal version and there may be unpredictable re= sults. Ponder ponder... - Bret From: Andrew Fish Sent: Monday, April 12, 2021 9:27 AM To: edk2-devel-groups-io; Bret Barkelew Cc: Shivanshi.Pandya@dell.com Subject: Re: [EXTERNAL] [edk2-devel] Build Failed for QEMU35Pkg On Apr 9, 2021, at 6:33 PM, Bret Barkelew via groups.io [nam06.safelinks.p= rotection.outlook.com] > wrote: Andrew, Not a scheme that I would consider a "good" scheme. You can see what we're= running CI against (in Mu and EDK, both), by checking for the "UsePythonV= ersion" command in the .azurepipelines/pr-gate-steps.yml file. Bret, If I understand correctly the CI list is the recommended versions, but not= the required versions. Do we have any concept of the required versions? I = guess we could put a python assert to enforce min Python version? I guess w= e could be more aggressive on the required Python version (forces people to= install a custom Python version for the edk2 build), or build a CI test th= at tests the min Python version for the tools... Sorry mostly thinking out loud.... Thanks, Andrew Fish Shivanshi, I just ran a build on my system with that exact version of Python (3.9.0).= Did your build produce a "BUILD_TOOLS_REPORT.json" file? If so, can you se= nd it? Can you also send the exact command that you're running when you see this = issue? Thanks! - Bret From: Andrew Fish Sent: Friday, April 9, 2021 4:54 PM To: edk2-devel-groups-io; Bret Barkelew Cc: Shivanshi.Pandya@dell.com Subject: [EXTERNAL] Re: [edk2-devel] Build Failed for QEMU35Pkg On Apr 9, 2021, at 1:55 PM, Bret Barkelew via groups.io [nam06.safelinks.p= rotection.outlook.com] > wrote: It looks like a Python 3.8.x vs 3.9.x issue. Do we have a scheme to require a min Python version? Thanks, Andrew Fish It looks as if you're using Mu Q35 as your platform. Can you tell me what = branch you're on? - Bret From: Pandya, Shivanshi via groups.io Sent: Friday, April 9, 2021 1:52 PM To: devel@edk2.groups.io Subject: [EXTERNAL] [edk2-devel] Build Failed for QEMU35Pkg Hello, Build failed with following call trace build.py... INFO - : error C0DE: Unknown fatal error when processing [c:\bea\dfci\mu_= tiano_platforms\Common\PRM\PrmPkg\Library\DxePrmModuleDiscoveryLib\DxePrmMo= duleDiscoveryLib.inf [X64, VS2017, DEBUG]] INFO - INFO - (Please send email to devel@edk2.groups.io for help, attaching following call stack trace!) INFO - INFO - (Python 3.9.0 on win32) Traceback (most recent call last): INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source= \Python\build\build.py", line 2635, in Main INFO - MyBuild.Launch() INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source= \Python\build\build.py", line 2430, in Launch INFO - self._MultiThreadBuildPlatform() INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source= \Python\build\build.py", line 2238, in _MultiThreadBuildPlatform INFO - Wa, self.BuildModules =3D self.PerformAutoGen(BuildTarget,ToolC= hain) INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source= \Python\build\build.py", line 2112, in PerformAutoGen INFO - CmdListDict =3D self._GenFfsCmd(Wa.ArchList) INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source= \Python\build\build.py", line 2009, in _GenFfsCmd INFO - GenFfsDict =3D GenFds.GenFfsMakefile('', GlobalData.gFdfParser,= self, ArchList, GlobalData) INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source= \Python\GenFds\GenFds.py", line 541, in GenFfsMakefile INFO - FdObj.GenFd(Flag=3DTrue) INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source= \Python\GenFds\Fd.py", line 131, in GenFd INFO - RegionObj.AddToBuffer (FdBuffer, self.BaseAddress, self.BlockSi= zeList, self.ErasePolarity, GenFdsGlobalVariable.ImageBinDict, self.DefineV= arDict, Flag=3DFlag) INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source= \Python\GenFds\Region.py", line 134, in AddToBuffer INFO - FvObj.AddToBuffer(FvBuffer, FvBaseAddress, BlockSize, BlockNum,= ErasePolarity, Flag=3DFlag) INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source= \Python\GenFds\Fv.py", line 127, in AddToBuffer INFO - FileName =3D FfsFile.GenFfs(MacroDict, FvParentAddr=3DBaseAddre= ss, IsMakefile=3DFlag, FvName=3Dself.UiFvName) INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source= \Python\GenFds\FfsInfStatement.py", line 518, in GenFfs INFO - InputSectList, InputSectAlignments =3D self.__GenComplexFileSec= tion__(Rule, FvChildAddr, FvParentAddr, IsMakefile=3DIsMakefile) INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source= \Python\GenFds\FfsInfStatement.py", line 969, in __GenComplexFileSection__ INFO - SectList, Align =3D Sect.GenSection(self.OutputPath, self.Modul= eGuid, SecIndex, self.KeyStringList, self, IsMakefile =3D IsMakefile) INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source= \Python\GenFds\EfiSection.py", line 218, in GenSection INFO - GenFdsGlobalVariable.GenerateSection(OutputFile, [], 'EFI_SECTI= ON_USER_INTERFACE', INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source= \Python\GenFds\GenFdsGlobalVariable.py", line 466, in GenerateSection INFO - SectionData.fromstring(Ui.encode("utf_16_le")) INFO - AttributeError: 'array.array' object has no attribute 'fromstring' Kind Regards, Shivanshi <79C90400E51C4EC6A197393CD98D0F7A.png> --_000_SA0PR19MB4410E6BF1866D5C33A2AF1B291709SA0PR19MB4410namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hey All,

 

Thank you for your thoughts and responses. I have f= igured it out.

The branch has been updated with fix which I missed= ! Got the successful build done.

 

Thank you,

Shivanshi

 

From: Bret Barkelew <Bret.Barkelew@micros= oft.com>
Sent: Monday, April 12, 2021 11:32 AM
To: Andrew Fish; edk2-devel-groups-io
Cc: Pandya, Shivanshi
Subject: RE: [EXTERNAL] [edk2-devel] Build Failed for QEMU35Pkg

 

[EXTERNAL EMAIL]

To my knowledge, we do not currently have a require= d version; the current state is it either works or it doesn’t, and if= it doesn’t it’s on you to figure that out from the failures.

 

I’m not opposed to adding one – if ther= e’s interest. I’d have to think about the best place to add it.= The idea of making it its own test is interesting. It wouldn’t preve= nt you from getting other test data, but it would let you know you aren’t on the ideal version and there may be unpredictable results.= Ponder ponder…

 

- Bret

 

From: And= rew Fish
Sent: Monday, April 12, 2021 9:27 AM
To: edk2-devel-groups-io; Bret Barkelew
Cc: Shivanshi.Pandya@d= ell.com
Subject: Re: [EXTERNAL] [edk2-devel] Build Failed for QEMU35Pkg

 

 

 

 

Andrew,

Not a scheme that I would consider a “good= 221; scheme. You can see what we’re running CI against (in Mu and EDK= , both), by checking for the  “UsePythonVersion” command i= n the .azurepipelines/pr-gate-steps.yml file.

 

 

Bret,

 

If I understand correctly the CI list is the recomm= ended versions, but not the required versions. Do we have any concept of th= e required versions? I guess we could put a python assert to enforce min Py= thon version? I guess we could be more aggressive on the required Python version (forces people to install a cus= tom Python version for the edk2 build), or build a CI test that tests the m= in Python version for the tools...

 

Sorry mostly thinking out loud…. 

 

Thanks,

 

Andrew Fish

 

 

Shivanshi,

I just ran a build on my system with that exact ver= sion of Python (3.9.0). Did your build produce a “BUILD_TOOLS_REPORT.= json” file? If so, can you send it?

Can you also send the exact command that you’= re running when you see this issue?

 

Thanks!

 

- Bret <= /span>

 

From: = ;Andrew Fish
Sent: Friday, Apr= il 9, 2021 4:54 PM
To: edk2-devel-groups-io; = Bret Barkelew
Cc: Shivanshi.Pandya@dell.com
Subject: [EXTERNA= L] Re: [edk2-devel] Build Failed for QEMU35Pkg

 

 



On Apr 9, 2021, at 1:55 PM, Bret Barkelew via groups.i= o [nam06.safelinks.protection.outlook.com] <bret.barkelew=3Dmicrosoft.com@groups.io> wrote:=

 

It looks like a Python 3.8.x vs 3.9.x issue.

 

 

Do we have a scheme to require a min Python version= ?

 

Thanks,

 

Andrew Fish



It looks as if you’re using Mu Q35 as your pl= atform. Can you tell me what branch you’re on?

 

- Bret <= /span>

 

From: = ;Pandya= , Shivanshi via groups.io
Sent: Friday, Apr= il 9, 2021 1:52 PM
To: devel@edk2.groups.io
Subject: [EXTERNA= L] [edk2-devel] Build Failed for QEMU35Pkg

 

Hello,

 

Build failed with following call trace

 

build.py...

INFO -  : error C0DE: Unknown fatal error when= processing [c:\bea\dfci\mu_tiano_platforms\Common\PRM\PrmPkg\Library\DxePr= mModuleDiscoveryLib\DxePrmModuleDiscoveryLib.inf [X64, VS2017, DEBUG]]=

INFO -

INFO - (Please send email to devel@e= dk2.groups.io for hel= p, attaching following call stack trace!)

INFO -

INFO - (Python 3.9.0 on win32) Traceback (most rece= nt call last):

INFO -   File "C:\BEA\DFCI\mu_tiano_= platforms\MU_BASECORE\BaseTools\Source\Python\build\build.py", line 26= 35, in Main

INFO -     MyBuild.Launch()

INFO -   File "C:\BEA\DFCI\mu_tiano_= platforms\MU_BASECORE\BaseTools\Source\Python\build\build.py", line 24= 30, in Launch

INFO -     self._MultiThreadBui= ldPlatform()

INFO -   File "C:\BEA\DFCI\mu_tiano_= platforms\MU_BASECORE\BaseTools\Source\Python\build\build.py", line 22= 38, in _MultiThreadBuildPlatform

INFO -     Wa, self.BuildModule= s =3D self.PerformAutoGen(BuildTarget,ToolChain)

INFO -   File "C:\BEA\DFCI\mu_tiano_= platforms\MU_BASECORE\BaseTools\Source\Python\build\build.py", line 21= 12, in PerformAutoGen

INFO -     CmdListDict =3D self= ._GenFfsCmd(Wa.ArchList)

INFO -   File "C:\BEA\DFCI\mu_tiano_= platforms\MU_BASECORE\BaseTools\Source\Python\build\build.py", line 20= 09, in _GenFfsCmd

INFO -     GenFfsDict =3D GenFd= s.GenFfsMakefile('', GlobalData.gFdfParser, self, ArchList, GlobalData)

INFO -   File "C:\BEA\DFCI\mu_tiano_= platforms\MU_BASECORE\BaseTools\Source\Python\GenFds\GenFds.py", line = 541, in GenFfsMakefile

INFO -     FdObj.GenFd(Flag=3DT= rue)

INFO -   File "C:\BEA\DFCI\mu_tiano_= platforms\MU_BASECORE\BaseTools\Source\Python\GenFds\Fd.py", line 131,= in GenFd

INFO -     RegionObj.AddToBuffe= r (FdBuffer, self.BaseAddress, self.BlockSizeList, self.ErasePolarity, GenF= dsGlobalVariable.ImageBinDict, self.DefineVarDict, Flag=3DFlag)<= /p>

INFO -   File "C:\BEA\DFCI\mu_tiano_= platforms\MU_BASECORE\BaseTools\Source\Python\GenFds\Region.py", line = 134, in AddToBuffer

INFO -     FvObj.AddToBuffer(Fv= Buffer, FvBaseAddress, BlockSize, BlockNum, ErasePolarity, Flag=3DFlag)

INFO -   File "C:\BEA\DFCI\mu_tiano_= platforms\MU_BASECORE\BaseTools\Source\Python\GenFds\Fv.py", line 127,= in AddToBuffer

INFO -     FileName =3D FfsFile= .GenFfs(MacroDict, FvParentAddr=3DBaseAddress, IsMakefile=3DFlag, FvName=3D= self.UiFvName)

INFO -   File "C:\BEA\DFCI\mu_tiano_= platforms\MU_BASECORE\BaseTools\Source\Python\GenFds\FfsInfStatement.py&quo= t;, line 518, in GenFfs

INFO -     InputSectList, Input= SectAlignments =3D self.__GenComplexFileSection__(Rule, FvChildAddr, FvPare= ntAddr, IsMakefile=3DIsMakefile)

INFO -   File "C:\BEA\DFCI\mu_tiano_= platforms\MU_BASECORE\BaseTools\Source\Python\GenFds\FfsInfStatement.py&quo= t;, line 969, in __GenComplexFileSection__

INFO -     SectList, Align =3D = Sect.GenSection(self.OutputPath, self.ModuleGuid, SecIndex, self.KeyStringL= ist, self, IsMakefile =3D IsMakefile)

INFO -   File "C:\BEA\DFCI\mu_tiano_= platforms\MU_BASECORE\BaseTools\Source\Python\GenFds\EfiSection.py", l= ine 218, in GenSection

INFO -     GenFdsGlobalVariable= .GenerateSection(OutputFile, [], 'EFI_SECTION_USER_INTERFACE',

INFO -   File "C:\BEA\DFCI\mu_tiano_= platforms\MU_BASECORE\BaseTools\Source\Python\GenFds\GenFdsGlobalVariable.p= y", line 466, in GenerateSection

INFO -     SectionData.fromstri= ng(Ui.encode("utf_16_le"))

INFO - AttributeError: 'array.array' object has no = attribute 'fromstring'

 

Kind Regards,

Shivanshi

 

<79C90400E51C4EC6A197393CD98D0F7A.png>

 

 

<CC6C706EF927441BBD49E964355D5AA6.png>

 

 

--_000_SA0PR19MB4410E6BF1866D5C33A2AF1B291709SA0PR19MB4410namp_-- --_004_SA0PR19MB4410E6BF1866D5C33A2AF1B291709SA0PR19MB4410namp_ Content-Type: image/png; name="image002.png" Content-Description: image002.png Content-Disposition: inline; filename="image002.png"; size=157; creation-date="Mon, 12 Apr 2021 17:18:49 GMT"; modification-date="Mon, 12 Apr 2021 17:18:49 GMT" Content-ID: Content-Transfer-Encoding: base64 iVBORw0KGgoAAAANSUhEUgAAAdYAAAABCAMAAABUiH9LAAAAAXNSR0IArs4c6QAAAANQTFRFv83b Bi0mqAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUATWljcm9zb2Z0IE9mZmlj ZX/tNXEAAAAOSURBVChTY2AYBcMwBAAB1wABNAVB1QAAAABJRU5ErkJggg== --_004_SA0PR19MB4410E6BF1866D5C33A2AF1B291709SA0PR19MB4410namp_--