Innnnnnteresting. I’ll try to reproduce later today. I *thought* the CISettings declared a relative workspace, but maybe there’s something that we’re 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 lots 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=GCC5 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/ChainCreationInstructions.txt deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/CreateTestCerts.cmd deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/SignFirmwareWithEKUs.cmd deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/TestEKUParsingIssuingCA.ini deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/TestEKUParsingLeafSigner.ini deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/TestEKUParsingLeafSignerPid1.ini deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/TestEKUParsingLeafSignerPid12345.ini deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/TestEKUParsingNoEKUsInSigner.ini deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/TestEKUParsingPolicyCA.ini deleted: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestEKUCerts/TestEKUParsingRoot.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