* Running stuart_ci_build outside of edk2 tree deletes lots of files
@ 2020-12-03 21:24 Rebecca Cran
2020-12-03 21:33 ` [EXTERNAL] " Bret Barkelew
2020-12-03 22:08 ` [edk2-devel] " Sean
0 siblings, 2 replies; 5+ messages in thread
From: Rebecca Cran @ 2020-12-03 21:24 UTC (permalink / raw)
To: devel@edk2.groups.io; +Cc: Michael D Kinney, Sean Brogan, Bret Barkelew
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
--
Rebecca Cran
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [EXTERNAL] Running stuart_ci_build outside of edk2 tree deletes lots of files
2020-12-03 21:24 Running stuart_ci_build outside of edk2 tree deletes lots of files Rebecca Cran
@ 2020-12-03 21:33 ` Bret Barkelew
2020-12-03 22:06 ` Rebecca Cran
2020-12-03 22:08 ` [edk2-devel] " Sean
1 sibling, 1 reply; 5+ messages in thread
From: Bret Barkelew @ 2020-12-03 21:33 UTC (permalink / raw)
To: Rebecca Cran, devel@edk2.groups.io; +Cc: Kinney, Michael D, Sean Brogan
[-- Attachment #1: Type: text/plain, Size: 4390 bytes --]
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<mailto:rebecca@bsdio.com>
Sent: Thursday, December 3, 2020 1:24 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Cc: Kinney, Michael D<mailto:michael.d.kinney@intel.com>; Sean Brogan<mailto:sean.brogan@microsoft.com>; Bret Barkelew<mailto:Bret.Barkelew@microsoft.com>
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 <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
--
Rebecca Cran
[-- Attachment #2: Type: text/html, Size: 8181 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [EXTERNAL] Running stuart_ci_build outside of edk2 tree deletes lots of files
2020-12-03 21:33 ` [EXTERNAL] " Bret Barkelew
@ 2020-12-03 22:06 ` Rebecca Cran
0 siblings, 0 replies; 5+ messages in thread
From: Rebecca Cran @ 2020-12-03 22:06 UTC (permalink / raw)
To: Bret Barkelew, devel@edk2.groups.io; +Cc: Kinney, Michael D, Sean Brogan
[-- Attachment #1: Type: text/plain, Size: 4644 bytes --]
I've opened https://github.com/tianocore/edk2-pytool-extensions/issues/231 .
--
Rebecca Cran
On 12/3/20 2:33 PM, Bret Barkelew wrote:
>
> 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 <mailto:rebecca@bsdio.com>
> *Sent: *Thursday, December 3, 2020 1:24 PM
> *To: *devel@edk2.groups.io <mailto:devel@edk2.groups.io>
> *Cc: *Kinney, Michael D <mailto:michael.d.kinney@intel.com>; Sean
> Brogan <mailto:sean.brogan@microsoft.com>; Bret Barkelew
> <mailto:Bret.Barkelew@microsoft.com>
> *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 <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
>
>
> --
> Rebecca Cran
>
[-- Attachment #2: Type: text/html, Size: 8120 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [edk2-devel] Running stuart_ci_build outside of edk2 tree deletes lots of files
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:08 ` Sean
2020-12-03 22:34 ` Rebecca Cran
1 sibling, 1 reply; 5+ messages in thread
From: Sean @ 2020-12-03 22:08 UTC (permalink / raw)
To: devel, rebecca; +Cc: Michael D Kinney, Sean Brogan, Bret Barkelew
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
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [edk2-devel] Running stuart_ci_build outside of edk2 tree deletes lots of files
2020-12-03 22:08 ` [edk2-devel] " Sean
@ 2020-12-03 22:34 ` Rebecca Cran
0 siblings, 0 replies; 5+ messages in thread
From: Rebecca Cran @ 2020-12-03 22:34 UTC (permalink / raw)
To: Sean Brogan, devel; +Cc: Michael D Kinney, Sean Brogan, Bret Barkelew
Thanks. I've attached CI_BUILDLOG.txt to
https://github.com/tianocore/edk2-pytool-extensions/issues/231 .
Since that issue now exists, I'd prefer if people could look at it there
instead of duplicating the information into Bugzilla unless it's
definitely an edk2 bug.
--
Rebecca Cran
On 12/3/20 3:08 PM, Sean Brogan wrote:
> 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
>>
>>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-12-03 22:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [edk2-devel] " Sean
2020-12-03 22:34 ` Rebecca Cran
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox