From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (NAM11-CO1-obe.outbound.protection.outlook.com [40.107.220.114]) by mx.groups.io with SMTP id smtpd.web08.4049.1607031206448988240 for ; Thu, 03 Dec 2020 13:33:26 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=B51i5ll6; spf=pass (domain: microsoft.com, ip: 40.107.220.114, mailfrom: bret.barkelew@microsoft.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i2k2ATVa3UDfvLZUhF+q784KMHVXjWQMJQBqCc7lzOQkkFsnOlhpKnLk2idngt4/GePWLkw+nkNVYTUcnDu1x8tIcLqOwidotSJ86fqs719VnnSj2jb8UrXoJ+q5SyKa1IO+3rYk7OToFAFGQ1kcrBu45BWx+UMp0iGzPzvC9wDDqVRgvTZ6E5LvJKuhPjHsIdIvRSLEii7/5vMRM/cTb/jhWME8wNvNs2G+hKgDYjW7EaAo8qJNvrdgqKRB8BVIKUNnIpO09P8HGrxRZOhMedD1RFmxtWGzFpExtllgsDX5McUiW2wGLO9glreI+OQ+VokMZifFLJ8/rV+u4fLu8w== 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=yJhKX5xljFutLOerp19PgEuIcnukIuHSCmBMjh/KMvQ=; b=VVFNQ/d3g7Un9f1mDumEw36bx7mB4mXWLCYlWbjT3MpenuwiXpe73v+WhINbh69PuucEhJoW5b71KdGWU0sA//232KcNrmHDZxWDWRrToURmxEXchBZWZflp4jXyp26165jK03s/G+X7zEHX+1KZdphxLP+8OhEwkLNZIy3WXxlatmcy/nvcrybFzotHpBuQAqC7p5HabgWeEGKSAIqNf6SvgD1WrMdLKG7/k7y7AKkbicsTXPll4Q6yb9sGUa8r58qwxnshuCb3sO2tlCyQHbJliYw8Gs+Gyudstev7EADovEaTpTscw1aBqeiRrHIIhXlikjkdQVuPco1U4/J6qA== 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=yJhKX5xljFutLOerp19PgEuIcnukIuHSCmBMjh/KMvQ=; b=B51i5ll6NAZl2affEoinVk3xx5tDAOAXxiIqxiPAK9KYn/HoYhrBh2vIINvvUde0rDD6uxycs5WmDgH4I9CpYzdKqfCCPmPBAr9pwha+5IxJD4h5mJog8l87BKVQzBvwY9aoorEm4rypCwVOy/qj7fY6cP7EJiiZQwdBm9M/crE= Received: from (2603:10b6:302:10::22) by MWHPR21MB0639.namprd21.prod.outlook.com (2603:10b6:300:127::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.2; Thu, 3 Dec 2020 21:33:18 +0000 Received: from MW2PR2101MB0890.namprd21.prod.outlook.com ([fe80::a807:8b5b:a667:d7c2]) by MW2PR2101MB0890.namprd21.prod.outlook.com ([fe80::a807:8b5b:a667:d7c2%4]) with mapi id 15.20.3654.005; Thu, 3 Dec 2020 21:33:18 +0000 From: "Bret Barkelew" To: Rebecca Cran , "devel@edk2.groups.io" CC: "Kinney, Michael D" , Sean Brogan Subject: Re: [EXTERNAL] Running stuart_ci_build outside of edk2 tree deletes lots of files Thread-Topic: [EXTERNAL] Running stuart_ci_build outside of edk2 tree deletes lots of files Thread-Index: AQHWybqpbdGfa8ioW0yZvcESGSUh5anl5BuB Date: Thu, 3 Dec 2020 21:33:18 +0000 Message-ID: References: In-Reply-To: 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-12-03T21:32:20.7463381Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Privileged authentication-results: bsdio.com; dkim=none (message not signed) header.d=none;bsdio.com; dmarc=none action=none header.from=microsoft.com; x-originating-ip: [71.212.128.184] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: da7ff3a8-1065-4723-46cc-08d897d30d24 x-ms-traffictypediagnostic: MWHPR21MB0639: 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:2657; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KZJqNxpgdTdcQmIGFh7CONgG/1ooWMRvtyvL7PtInZzF2Fgr0bayWNOFYxLDHCXhlkTFplYG2E7DjkFNcAPu/r1zTAofiIdBFWaOfplxlSkgbra4hsuprKDPLXMuJe0HYP8cRQReD+McwCwGVEFa/j9ytsfRHgsjx/so/ZCZUYX/4xew2FATGsu44JgtpLzqidkKufzzCVpqCLUFFl6UUROXYqc9HjccdAgNXnzkj3hHOSdA5MeFQVstbHbABFHCDuAGwSPj/DugybShGWKTrpoqapaxEEQj9w7KG9KdsHw6ny4kbMtBCp42FyRg1/0gVwHZXo+8XANDx/TseXZuUA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW2PR2101MB0890.namprd21.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(376002)(396003)(346002)(39860400002)(136003)(366004)(6506007)(53546011)(5660300002)(8990500004)(86362001)(83380400001)(7696005)(55016002)(52536014)(82950400001)(107886003)(82960400001)(71200400001)(26005)(186003)(33656002)(2906002)(4326008)(8676002)(54906003)(110136005)(10290500003)(316002)(66446008)(76116006)(9686003)(66556008)(66946007)(66476007)(478600001)(64756008)(8936002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?Windows-1252?Q?I69JfqeNDAC4rwsJ/9K4F3qDWl8mmciFhuKMJOjFUEnaK0GhKcsp9Q1m?= =?Windows-1252?Q?UtHS/MNY8H52lzh78TD5K7QA/fXtLG0zt7JzrnodlnrmuAU74VrPO7uo?= =?Windows-1252?Q?SOPjCX7NK0FA1EPk580pCbFbyluZyK53eyolBSDDTyN7xY0nNcf9lKge?= =?Windows-1252?Q?shcRIKUxGCR6A+CoW1aNJF3ux1/YYYjV86oM5BD/17zcG4XcjSmKP7OA?= =?Windows-1252?Q?B28KjcfiM5J+NB9F9tQBQd2Ifo7ydAR931RDdTT/6pzrBLaO3PJ+830V?= =?Windows-1252?Q?LgY2osGLp0wPr9MJoiT813TmG1DHdab83IFRUmwnt/KP1b3sZaaRHtx+?= =?Windows-1252?Q?HVQmzFo3QQvpIuwE26d73/IyELfMVHPgoqSZ4B67hTU4aMRYLj+nvq17?= =?Windows-1252?Q?kiJp01oJ08SQDhMTk0c6BhEa4aJghEWADzi/Eu6OdyVXdV/Aoc9ILiQP?= =?Windows-1252?Q?uMbMC9oC2B3ZVuzPv30z5+3cglVtj0VnQirglcOs5mQOtVqkYE24CqOJ?= =?Windows-1252?Q?NNF6LwSc58gb9SuhDrAa0v/fz8Fok+CDhmMV4/lxMGv6hVjvrD4Wr3XO?= =?Windows-1252?Q?yXZrj5FR6sOLQ+BRALlWVidBwpltVhYAeV3fbgFKEdM4NHqEr9eeNUlK?= =?Windows-1252?Q?t19zHUYaV/2WL8THdAh6DXmimGj5HjFLvv5dTEzje5MK6EQJKbVrCqHd?= =?Windows-1252?Q?b4+KCUfDkKfSgHmvhw1TZSltq3tQ3l5wNov2D/qeF8U9fM/HBmq+5FGp?= =?Windows-1252?Q?fomyghcs5gOLol/rcnTW4fVf5wCn2pYG3M6JC972LMfWc9jlbvFIYRcu?= =?Windows-1252?Q?+91WUPQmiqfi++RsLH4dnLA3gMb4ERSIUOtKqkEO/fu6sjk4/cI+Kzm9?= =?Windows-1252?Q?6M7Et+JxYzPjS9oPVwC/fvqaY2VXPhCyg2p+zpt0Wir58dvD3eNQ3joZ?= =?Windows-1252?Q?82wRFUrliX7/sFlzLIIZ4MP/89ldta1wLx90CueorGcDiT04Ag25NdKQ?= =?Windows-1252?Q?YcKjlC1u0mEcCq+ucUGAo/+ZkgwpxBaNqiZ+Lk/coGDtSlkA7lnybXBn?= =?Windows-1252?Q?eOAk92jPf1o387U7sTCrohTCWBFXciXl36YOqA=3D=3D?= MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW2PR2101MB0890.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: da7ff3a8-1065-4723-46cc-08d897d30d24 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Dec 2020 21:33:18.6730 (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: rYiafECAdFfYjYl51ZnTLgmAGEO8HeRiqBA26a9VQfGGZFA+awXRk9IsCkCtDSk+CK/lH3iAfeKYv1b+S2t8Rg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR21MB0639 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_MW2PR2101MB0890C320AC5831E36F76D40DEFF21MW2PR2101MB0890_" --_000_MW2PR2101MB0890C320AC5831E36F76D40DEFF21MW2PR2101MB0890_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Innnnnnteresting. I=92ll try to reproduce later today. I *thought* the CISe= ttings declared a relative workspace, but maybe there=92s something that we= =92re making an assumption on. Good sighting. Can you open a bug in edk2toolext? - Bret From: Rebecca Cran Sent: Thursday, December 3, 2020 1:24 PM To: devel@edk2.groups.io Cc: Kinney, Michael D; Sean Brogan; Bret Barkelew Subject: [EXTERNAL] Running stuart_ci_build outside of edk2 tree deletes lo= ts of files I know it probably isn't expected/supported, but I noticed that running stuart_ci_build outside of the edk2 tree causes it to delete a lot of files= : I ran the following from one directory above edk2: ~/.local/bin/stuart_ci_build -c edk2/.pytool/CISettings.py TOOL_CHAIN_TAG=3DGCC5 And afterwards, "git status" reported: Changes not staged for commit: (use "git add/rm ..." to update what will be committed) (use "git restore ..." to discard changes in working directory) modified: BaseTools/Source/Python/Ecc/exception.xml deleted: CryptoPkg/Library/BaseCryptLib/SysCall/UnitTestHostCrtWrapper.c deleted: CryptoPkg/Library/OpensslLib/openssl deleted: CryptoPkg/Library/OpensslLib/rand_pool.c deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/AuthenticodeTests.c deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/BaseCryptLibUnitTests.c deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/BlockCipherTests.c deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/DhTests.c deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/HashTests.c deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/HmacTests.c deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/OaepEncryptTests.c deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/Pkcs5Pbkdf2Tests.c deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/Pkcs7EkuTestSignatures.h deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/Pkcs7EkuTests.c deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/RandTests.c deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/RsaPkcs7Tests.c deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/RsaTests.c deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TSTests.c deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestBaseCryptLib.h deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestBaseCryptLibHost.inf deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestBaseCryptLibShell.inf deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/ChainCreationInst= ructions.txt deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/CreateTestCerts.c= md deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/SignFirmwareWithE= KUs.cmd deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/TestEKUParsingIss= uingCA.ini deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/TestEKUParsingLea= fSigner.ini deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/TestEKUParsingLea= fSignerPid1.ini deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/TestEKUParsingLea= fSignerPid12345.ini deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/TestEKUParsingNoE= KUsInSigner.ini deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/TestEKUParsingPol= icyCA.ini deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/TestEKUParsingRoo= t.ini deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/UnitTestMain.c deleted: MdeModulePkg/Library/BrotliCustomDecompressLib/brotli deleted: MdeModulePkg/Universal/RegularExpressionDxe/oniguruma deleted: UnitTestFrameworkPkg/Library/CmockaLib/cmocka I also got build errors such as: ERROR - Build.py #000 from /home/rebecca/src/uefi/edk2/CryptoPkg/Test/CryptoPkgHostUnitTest.dsc(35): File/directory not found in workspace CRITICAL - Build failed -- Rebecca Cran --_000_MW2PR2101MB0890C320AC5831E36F76D40DEFF21MW2PR2101MB0890_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable

Innnnnnteresting. I=92ll try to reproduce later toda= y. I *thought* the CISettings declared a relative workspace, but may= be there=92s something that we=92re making an assumption on. Good sighting.=

 

Can you open a bug in edk2toolext?

 

- Bret

 

From: Rebecca Cran
Sent: Thursday, December 3, 2020 1:24 PM
To: devel@edk2.groups.io=
Cc: Kinney, Michael D<= /a>; Sean Brogan; Bret Barkel= ew
Subject: [EXTERNAL] Running stuart_ci_build outside of edk2 tree del= etes lots of files

 

I know it probably is= n't expected/supported, but I noticed that running
stuart_ci_build outside of the edk2 tree causes it to delete a lot of files= :

I ran the following from one directory above edk2:

~/.local/bin/stuart_ci_build -c edk2/.pytool/CISettings.py
TOOL_CHAIN_TAG=3DGCC5

And afterwards, "git status" reported:

Changes not staged for commit:
   (use "git add/rm <file>..." to update what wil= l be committed)
   (use "git restore <file>..." to discard change= s in working directory)
         modified:   Base= Tools/Source/Python/Ecc/exception.xml
         deleted:
CryptoPkg/Library/BaseCryptLib/SysCall/UnitTestHostCrtWrapper.c
         deleted:   = CryptoPkg/Library/OpensslLib/openssl
         deleted:   = CryptoPkg/Library/OpensslLib/rand_pool.c
         deleted:
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/AuthenticodeTests.c
         deleted:
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/BaseCryptLibUnitTests.c
         deleted:
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/BlockCipherTests.c
         deleted: CryptoPkg/Test/Un= itTest/Library/BaseCryptLib/DhTests.c
         deleted: CryptoPkg/Test/Un= itTest/Library/BaseCryptLib/HashTests.c
         deleted: CryptoPkg/Test/Un= itTest/Library/BaseCryptLib/HmacTests.c
         deleted:
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/OaepEncryptTests.c
         deleted:
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/Pkcs5Pbkdf2Tests.c
         deleted:
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/Pkcs7EkuTestSignatures.h
         deleted:
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/Pkcs7EkuTests.c
         deleted: CryptoPkg/Test/Un= itTest/Library/BaseCryptLib/RandTests.c
         deleted:
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/RsaPkcs7Tests.c
         deleted: CryptoPkg/Test/Un= itTest/Library/BaseCryptLib/RsaTests.c
         deleted: CryptoPkg/Test/Un= itTest/Library/BaseCryptLib/TSTests.c
         deleted:
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestBaseCryptLib.h
         deleted:
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestBaseCryptLibHost.inf
         deleted:
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestBaseCryptLibShell.inf
         deleted:
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/ChainCreationInst= ructions.txt
         deleted:
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/CreateTestCerts.c= md
         deleted:
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/SignFirmwareWithE= KUs.cmd
         deleted:
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/TestEKUParsingIss= uingCA.ini
         deleted:
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/TestEKUParsingLea= fSigner.ini
         deleted:
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/TestEKUParsingLea= fSignerPid1.ini
         deleted:
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/TestEKUParsingLea= fSignerPid12345.ini
         deleted:
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/TestEKUParsingNoE= KUsInSigner.ini
         deleted:
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/TestEKUParsingPol= icyCA.ini
         deleted:
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/TestEKUParsingRoo= t.ini
         deleted:
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/UnitTestMain.c
         deleted: MdeModulePkg/Libr= ary/BrotliCustomDecompressLib/brotli
         deleted: MdeModulePkg/Univ= ersal/RegularExpressionDxe/oniguruma
         deleted:   = UnitTestFrameworkPkg/Library/CmockaLib/cmocka


I also got build errors such as:

ERROR - Build.py #000 from
/home/rebecca/src/uefi/edk2/CryptoPkg/Test/CryptoPkgHostUnitTest.dsc(35): <= br> File/directory not found in workspace
CRITICAL - Build failed


--
Rebecca Cran

 

--_000_MW2PR2101MB0890C320AC5831E36F76D40DEFF21MW2PR2101MB0890_--