From: "Sean" <spbrogan@outlook.com>
To: devel@edk2.groups.io, rebecca@bsdio.com
Cc: Michael D Kinney <michael.d.kinney@intel.com>,
Sean Brogan <sean.brogan@microsoft.com>,
Bret Barkelew <Bret.Barkelew@microsoft.com>
Subject: Re: [edk2-devel] Running stuart_ci_build outside of edk2 tree deletes lots of files
Date: Thu, 3 Dec 2020 14:08:10 -0800 [thread overview]
Message-ID: <DM6PR07MB71808EE9BA02BF6934A10898C8F20@DM6PR07MB7180.namprd07.prod.outlook.com> (raw)
In-Reply-To: <c7a3bf4e-4b58-5e33-f632-6564075c54ad@bsdio.com>
can you provide the full log file?
My guess is this goes back to one of the newer plugins that are running
git operations (license check or ecc check).
If that is the case i would suggest opening an edk2 bug as i don't think
this is the right design for a ci plugin.
Thanks
Sean
On 12/3/2020 1:24 PM, Rebecca Cran wrote:
> 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 <file>..." to update what will be committed)
> (use "git restore <file>..." 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
>
>
next prev parent reply other threads:[~2020-12-03 22:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-03 21:24 Running stuart_ci_build outside of edk2 tree deletes lots of files Rebecca Cran
2020-12-03 21:33 ` [EXTERNAL] " Bret Barkelew
2020-12-03 22:06 ` Rebecca Cran
2020-12-03 22:08 ` Sean [this message]
2020-12-03 22:34 ` [edk2-devel] " Rebecca Cran
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DM6PR07MB71808EE9BA02BF6934A10898C8F20@DM6PR07MB7180.namprd07.prod.outlook.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox