From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web11.72.1637700579282339250 for ; Tue, 23 Nov 2021 12:49:47 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=oB3DnoBx; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=0961a87863=stephen.iversen@hpe.com) Received: from pps.filterd (m0148663.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1ANKelSo023517 for ; Tue, 23 Nov 2021 20:49:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : subject : date : message-id : content-type : mime-version; s=pps0720; bh=2xDxB4SSCO7wBLg9ZYT6VTCqaa1xQ8janjbIexbmTMM=; b=oB3DnoBxlrXHUSm3/shhai6eEsqlYkl3FS805bC2vAc385QScl7qCd7LLRSjh+ALCf2j EQUZJAaFnjHaf7khx3bV5NC2XkNUOD10rNyXFNQC8pZcWfywNMY3zfyi6UmjOiTijr1n iRm2oJJQPWJR+wzqJPgY5LJOZi/Ik7ggXIpIbkAPgJSoZGins37OdQOeeHTuMXFY/ubS 1ESVzSeKNCcHIjEZwLata4fNqm0uIc8Sy+tjkNYmBRC9+are4BDTuFm9LmYxW/7w2GzE RrCdF3Y1P0my2YDWHU9jQgHsJQHxQoQI+JRFrbDbguOb4yq5ciUbR9VVzCTT50CsFqvZ Gw== Received: from g2t2352.austin.hpe.com (g2t2352.austin.hpe.com [15.233.44.25]) by mx0a-002e3701.pphosted.com with ESMTP id 3cgfs72ex6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 23 Nov 2021 20:49:36 +0000 Received: from G4W10204.americas.hpqcorp.net (g4w10204.houston.hpecorp.net [16.207.82.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g2t2352.austin.hpe.com (Postfix) with ESMTPS id 7078AB0 for ; Tue, 23 Nov 2021 20:49:35 +0000 (UTC) Received: from G1W8106.americas.hpqcorp.net (16.193.72.61) by G4W10204.americas.hpqcorp.net (16.207.82.16) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Tue, 23 Nov 2021 20:49:34 +0000 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (15.241.52.12) by G1W8106.americas.hpqcorp.net (16.193.72.61) with Microsoft SMTP Server (TLS) id 15.0.1497.23 via Frontend Transport; Tue, 23 Nov 2021 20:49:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LdpW83p9Ed3wzCVXqlFgXUz7OI7yVqi+a30WsvCe3LkrqKx3g6SoZ1ykhauO5Q/qa+FDl/wUTVfPjJkJZhABeQuoYDJxR1YRR1RBsZaglan7PT5P+Zayro2Lj+D5IMvhlBtRkEgL0AuM9kuXLxFApKHk5/TOtNj2Xdqvqj9EK7O4AhBysLl0oa2M5dHIhA0lS8e9XyXulpXxWLwv5Igh84AQKR4zEKD0MvEZCxX/WNqQ+A7mBj2QQBv+dYB6KsxYfmlehoT/gmrnLsXKzI/cp0561EFWhRPI0vCbOrwkKfBZzfukq992M/CJMGRZWtdGkByTHoOfuKGp5js8g+N+pg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=2xDxB4SSCO7wBLg9ZYT6VTCqaa1xQ8janjbIexbmTMM=; b=BNaVzfYLFoKbtJv52yccvujG4+7BqwkMaCzLAdz1iZucUCXlqAP2BbRt0/awyzRdgOpkWcl+KuEt61XOoy2CS+qAikxpMoAWNCUtcB7NMEPtciqG8rYJB0Ot1c0mFcoqO3PkWEpZvw1JVb9uAHmHHu8qy4ilgCX38DH71f4Us4O/Iu4Q5LUU8PBprFNz53Qs6htE/XWrBAYvLd+FrZRT2qqrt97/v/APhVz/KAjcFVBxMrV+drI2ui6cJa5yh/OEymV1iZWcQGHKPLpcFoBdQXinfULAdI1LXsBMSQZ8zEvUSug/sLB84NVBEWCtTf8LEf3xn+BqXcNUWajLn5Gw2g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none Received: from CS1PR8401MB0951.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7510::13) by CS1PR8401MB1045.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7511::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.22; Tue, 23 Nov 2021 20:49:33 +0000 Received: from CS1PR8401MB0951.NAMPRD84.PROD.OUTLOOK.COM ([fe80::e0e5:d645:3fbf:67b3]) by CS1PR8401MB0951.NAMPRD84.PROD.OUTLOOK.COM ([fe80::e0e5:d645:3fbf:67b3%12]) with mapi id 15.20.4713.026; Tue, 23 Nov 2021 20:49:33 +0000 From: "Iversen, Stephen" To: "devel@edk2.groups.io" Subject: Build.py Tools Code Failure Thread-Topic: Build.py Tools Code Failure Thread-Index: Adfgq2idwakG+eH0TdasLhQMZcmN6A== Date: Tue, 23 Nov 2021 20:49:33 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1175bc27-85b8-4f3c-60cd-08d9aec2c0e4 x-ms-traffictypediagnostic: CS1PR8401MB1045: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: HiDmK1716tbZiu/LEsUvYc40gDbb9h3MQdCvnUfC3pEPkD61sGtADr1ifjMLfrrOrZ+plby05UIU2OYZ8xrA0yTaImTL22Zd6BNAk17ef/sA/dZEMTmZxt26ZEvbcAnJEE+1lWitdKV84wjIgjQxdsXTq672/bnu2w4yJYLDU4AjCFL/HemwYbN1Q5OTx/rY9ihDexvDxNaBXjtoaw+cmsWWh7dAXqyp5JupG2bml8fQPNYNRUOTYNjE+Ycs7sq40K7BJZIbHrQu0++KfUGbX5BGj6w4UXT6yO2k05qw5YAnaiBwzK/hab9w+MxdWpObsaifrbWzmozekkJ8uFOT4fmhk7/rqnAESTPffOlgjLJgTUY7HfVGUhiZ2syxIBWxLOPh6/wm3QM9IrMyn4dMMV2riTrVATtXXQodzAtdiDSAW6jaebrBKNAOLCWL4DD3Il+ga1pwWl3+Mk8j6KfizR0aIIX69AiQBV9Rywd3jCK/nkOMmwj6BkXvn3E7Cjhhc8oeX7H8tWdEgfcwW43xP2rp6Fjf60sltwmyeVn0xnvWsTf72sKckj1Ke7TqmH3hp02k+QQj+SvXp9zVoHKbATx7t31rfjl7/NYcK1ztBPi+J5nn0OThhdE4TmmyQbOvu7C7bi/7TMso88Y/y5KOsy1zCpHQ34dp74P7NKUoCGEF21sfMuRf056n8scvR2+CZVnu+3wEdBKAFZDMpDUAiE1UDR/i4wX2RnC4VMrJM2w= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CS1PR8401MB0951.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(366004)(122000001)(38100700002)(86362001)(76116006)(9326002)(5660300002)(7696005)(71200400001)(508600001)(6506007)(55016003)(26005)(82960400001)(33656002)(186003)(66946007)(6916009)(64756008)(52536014)(8676002)(66446008)(66556008)(66476007)(316002)(2906002)(55236004)(8936002)(38070700005)(3480700007)(83380400001)(9686003)(403724002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?5X8s7TzMGuyPUCi6VgGsK7p1jRWM33e/y5BLbklhSx3wuAeqJ5UXcq0s+dg0?= =?us-ascii?Q?BQYRqhdY3vc6zmJ6/iSFoHrLlsSTxEqpfZJZ2VPehhois5MRQzl8zSTo2f9I?= =?us-ascii?Q?OHCCvAgR4Lhkc02rI/8jc4x4ZTb/6v1Jkpx7Ga/dJ7QgnffBHttqDLAhWMc6?= =?us-ascii?Q?cGO5m3k8TYNnwVxUkrcdkbhb97Noy9PrfrlkmFaJD0H02T9FeLQICMWZTGP8?= =?us-ascii?Q?gzvDebyMQyUHqw6ezp2Ra/6/tPff7EGkqZeoqsjcZ2sqXBRUja9K5jQZhzXq?= =?us-ascii?Q?6JawmLIcmz8WOMXPJn90Dlq5+OrIOCv3tAuwpcqO68sfyStCVoh2/dCqoKT6?= =?us-ascii?Q?jTcNhjYhAOJTSikeIFoIkTd1AEawUsncutmzJlp8kOFVaMdJp40+AQp5IP6q?= =?us-ascii?Q?9bL+O9UZZ99YTVgLah4ADbTbSlv8WZYVEpcpqOHLIES8wwNJKSMi4Pd8Aek2?= =?us-ascii?Q?AJVbTFv0d+M1atN7lfKUE8qZrHENIaNxp16sgiFzlm1j4nTrxkoJ/wrgYbUF?= =?us-ascii?Q?t4/1GAI+MxlQjyVF50en1tRaAYMsAGNmG29I/8AizAvMc8pumT3l8KBDynSW?= =?us-ascii?Q?h9bAEfm/YuHkXqMN8Y43in74RQSlTsTLvsXeeTptNMSxNsWp4fzW4+HTodrT?= =?us-ascii?Q?bPEnWgDKmeVRn7wOmtmZofx10n7JFexrd4sDa+do0yie20PjANrZJRr8yp5H?= =?us-ascii?Q?Ln6+m47JAy6uUe6j3IjlkIWv0xvQ8idoT5kWzrSv/RtbcL4DBxBIszJDTNdl?= =?us-ascii?Q?ap70dy51nZpFE3+0mmxTNMuGGz0yeMsfPF/5FnEFEgZt+ImRNdmBIgVmBWv+?= =?us-ascii?Q?4bfcP7lQqg3vuJ4oyQaXnDXWdirGlzK2l/nUcTRrXhUBe8LgX6yQBVQzI8G9?= =?us-ascii?Q?DNIhydBZR4gdDAUl8p44BQZE1WAR/j5jAXJqnR6c3UIVBK51V90bKDZUiYMG?= =?us-ascii?Q?wkVgUHX75LKV6wo84dowEL6UTnmUZNYJA2KOgJ5cZbmkosts9NyXp05UJERw?= =?us-ascii?Q?ALFmQwrSErwycQSkYD5Sawk/2l06VYm8RC7ujMOjcBtxnv7yD18oPgPPW8VW?= =?us-ascii?Q?I+Z3WzTQOfWwivgp2DkGZHNDM4gys/Oq0Bqs5H0f00XS3lEstyJddeE7INt2?= =?us-ascii?Q?6wIK3SFK/5s19u3v7Vxw4QfQ1aP/HWb3VK2A1JTvmeud0Mbhehb3+Iv59hOs?= =?us-ascii?Q?WKo2thSQT3SxvGfhOV8uEvM4uzwHEcl5YzEnR+U17AnFzi858bgjIicALEMU?= =?us-ascii?Q?Aog57VsOtpYaEmNvUX0I7LKVb6zGC/sSI81UCIt4HpUjpDgOxMemfOqwbOwt?= =?us-ascii?Q?N22GndsZe8n/LKbVDbp2MNrFWo1K6OPy/3RapNb/TPVEobYRMxwk1UO5fLBa?= =?us-ascii?Q?JBZ+g+gh3Zs7D6JAfitK9/23fLfwq5qYtPaoPz4wz3L4QspWzykrgMi5vtlT?= =?us-ascii?Q?EhZyKu78WZ56f34JrgcXKGp9Elg8gdtskCJMNWYLg5r8NlhsFqGH5ZxN/K1v?= =?us-ascii?Q?kbA/D5Rhj3wKXzPXKtSso4XgwHRZl5KnlpIGSDQS3xgJrLwb0Xq2XzQmHoJh?= =?us-ascii?Q?OEH5ChQRQWJljDWbwZJyopO5hVCGYAKhnlDWzQhJiKjX3nmYno/nbY5jGyQE?= =?us-ascii?Q?SMEruHF12L9+DnizPA1qjOc=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CS1PR8401MB0951.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 1175bc27-85b8-4f3c-60cd-08d9aec2c0e4 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Nov 2021 20:49:33.1367 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: IVid+2bDd8v2BQvX3esqkid8sumbbZdTTg76+vjgxrBqdYNnMkVVZdNFOvGqc785jUPOHlc3lp5dT875YxlgyA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR8401MB1045 X-OriginatorOrg: hpe.com X-Proofpoint-GUID: xUugCxsAf3ydI1I-QtMvcfjPd0_389mn X-Proofpoint-ORIG-GUID: xUugCxsAf3ydI1I-QtMvcfjPd0_389mn X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-23_07,2021-11-23_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 malwarescore=0 clxscore=1011 suspectscore=0 adultscore=0 priorityscore=1501 impostorscore=0 mlxscore=0 spamscore=0 mlxlogscore=557 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2111230100 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_CS1PR8401MB0951DC471A760632D50CE463E7609CS1PR8401MB0951_" --_000_CS1PR8401MB0951DC471A760632D50CE463E7609CS1PR8401MB0951_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, I obtained the following error when trying to build a BIOS image. Traceback (most recent call last): File "/workarea/Edk2/BaseTools/Source/Python/GenFds/GenFds.py", line 371,= in GenFdsApi GenFds.GenFd('', FdfParserObj, BuildWorkSpace, ArchList) File "/workarea/Edk2/BaseTools/Source/Python/GenFds/GenFds.py", line 510,= in GenFd FdObj.GenFd() File "/workarea/Edk2/BaseTools/Source/Python/GenFds/Fd.py", line 131, in = GenFd RegionObj.AddToBuffer (FdBuffer, self.BaseAddress, self.BlockSizeList, se= lf.ErasePolarity, GenFdsGlobalVariable.ImageBinDict, self.DefineVarDict, Fl= ag=3DFlag) File "/workarea/Edk2/BaseTools/Source/Python/GenFds/Region.py", line 134,= in AddToBuffer FvObj.AddToBuffer(FvBuffer, FvBaseAddress, BlockSize, BlockNum, ErasePola= rity, Flag=3DFlag) File "/workarea/Edk2/BaseTools/Source/Python/GenFds/Fv.py", line 127, in = AddToBuffer FileName =3D FfsFile.GenFfs(MacroDict, FvParentAddr=3DBaseAddress, IsMake= file=3DFlag, FvName=3Dself.UiFvName) File "/workarea/Edk2/BaseTools/Source/Python/GenFds/FfsFileStatement.py",= line 72, in GenFfs shutil.rmtree(OutputDir) File "/usr/lib/python2.7/shutil.py", line 275, in rmtree onerror(os.remove, fullname, sys.exc_info()) File "/usr/lib/python2.7/shutil.py", line 273, in rmtree os.remove(fullname) OSError: [Errno 13] Permission denied: '/workarea/Intel/Build/EagleStream= FspPkg/DEBUG_GCC5/FV/Ffs/D9093578-08EB-44DF-B9D8-D0C1D3D55D96FSP-S/D9093578= -08EB-44DF-B9D8-D0C1D3D55D96SEC1.raw.txt' It instructed me to email you for help. What is the appropriate measure to = fix this? Thanks! Stephen Iversen --_000_CS1PR8401MB0951DC471A760632D50CE463E7609CS1PR8401MB0951_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

 

I obtained the following error when trying to build = a BIOS image.

 

  Traceback (most re= cent call last):

  File "/workar= ea/Edk2/BaseTools/Source/Python/GenFds/GenFds.py", line 371, in GenFds= Api

  GenFds.GenFd('', F= dfParserObj, BuildWorkSpace, ArchList)

  File "/workar= ea/Edk2/BaseTools/Source/Python/GenFds/GenFds.py", line 510, in GenFd<= o:p>

  FdObj.GenFd()=

  File "/workar= ea/Edk2/BaseTools/Source/Python/GenFds/Fd.py", line 131, in GenFd=

  RegionObj.AddToBuf= fer (FdBuffer, self.BaseAddress, self.BlockSizeList, self.ErasePolarity, Ge= nFdsGlobalVariable.ImageBinDict, self.DefineVarDict, Flag=3DFlag)

  File "/workar= ea/Edk2/BaseTools/Source/Python/GenFds/Region.py", line 134, in AddToB= uffer

  FvObj.AddToBuffer(= FvBuffer, FvBaseAddress, BlockSize, BlockNum, ErasePolarity, Flag=3DFlag)

  File "/workar= ea/Edk2/BaseTools/Source/Python/GenFds/Fv.py", line 127, in AddToBuffe= r

  FileName =3D FfsFi= le.GenFfs(MacroDict, FvParentAddr=3DBaseAddress, IsMakefile=3DFlag, FvName= =3Dself.UiFvName)

  File "/workar= ea/Edk2/BaseTools/Source/Python/GenFds/FfsFileStatement.py", line 72, = in GenFfs

  shutil.rmtree(Outp= utDir)

  File "/usr/li= b/python2.7/shutil.py", line 275, in rmtree

  onerror(os.remove,= fullname, sys.exc_info())

  File "/usr/li= b/python2.7/shutil.py", line 273, in rmtree

  os.remove(fullname= )

  OSError: [Errno 13= ] Permission denied: '/workarea/Intel/Build/EagleStreamFspPkg/DEBUG_GCC5/FV= /Ffs/D9093578-08EB-44DF-B9D8-D0C1D3D55D96FSP-S/D9093578-08EB-44DF-B9D8-D0C1= D3D55D96SEC1.raw.txt'

 

It instructed me to email you for help. What is the = appropriate measure to fix this?

 

Thanks!

Stephen Iversen

--_000_CS1PR8401MB0951DC471A760632D50CE463E7609CS1PR8401MB0951_--