[edk2-devel] 回复: Need help with CI/CD failure for the PR

gaoliming gaoliming at byosoft.com.cn
Thu Jun 24 03:45:07 UTC 2021


Mike:
  Thanks for your help. I can download build log and see the real issue. 

Thanks
Liming
> -----邮件原件-----
> 发件人: Kinney, Michael D <michael.d.kinney at intel.com>
> 发送时间: 2021年6月24日 11:16
> 收件人: gaoliming <gaoliming at byosoft.com.cn>; 'Sunil V L'
> <sunilvl at ventanamicro.com>; devel at edk2.groups.io; 'Sean Brogan'
> <sean.brogan at microsoft.com>; Kinney, Michael D
> <michael.d.kinney at intel.com>
> 抄送: 'Chang, Abner (HPS SW/FW Technologist)' <abner.chang at hpe.com>;
> 'Schaefer, Daniel' <daniel.schaefer at hpe.com>
> 主题: RE: Need help with CI/CD failure for the PR
> 
> Liming,
> 
> Looks like it failed to build BaseTools:
> 
> https://dev.azure.com/tianocore/edk2-ci/_build/results?buildId=24448&view
> =logs&jobId=4a97f94c-8e1f-5e76-68ba-50872604dd63&j=2640d2b2-7c53-5a
> 2b-80c7-040377c664fd&t=9d40d6fd-f2ec-5369-fb67-2d935d8d6b47
> 
> This PR modified GenFw, so it is likely related.
> 
> You have to download artifact to see the detailed log.  Select
> "BASETOOLS_BUILD.txt from the following link:
> 
> https://dev.azure.com/tianocore/edk2-ci/_build/results?buildId=24448&view
> =artifacts&pathAsName=false&type=publishedArtifacts
> 
> 
> INFO - Microsoft (R) Program Maintenance Utility Version 14.29.30038.1
> INFO - Copyright (C) Microsoft Corporation.  All rights reserved.
> INFO -
> INFO - 	cl.exe -c  /nologo /Zi /c /O2 /MT /W4 /WX /D
> _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE  -I . -I
> D:\a\1\s\BaseTools\Source\C\Include -I
> D:\a\1\s\BaseTools\Source\C\Include\Ia32 -I
> D:\a\1\s\BaseTools\Source\C\Common GenFw.c -FoGenFw.obj
> INFO - GenFw.c
> INFO - 	cl.exe -c  /nologo /Zi /c /O2 /MT /W4 /WX /D
> _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE  -I . -I
> D:\a\1\s\BaseTools\Source\C\Include -I
> D:\a\1\s\BaseTools\Source\C\Include\Ia32 -I
> D:\a\1\s\BaseTools\Source\C\Common ElfConvert.c -FoElfConvert.obj
> INFO - ElfConvert.c
> INFO - 	cl.exe -c  /nologo /Zi /c /O2 /MT /W4 /WX /D
> _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE  -I . -I
> D:\a\1\s\BaseTools\Source\C\Include -I
> D:\a\1\s\BaseTools\Source\C\Include\Ia32 -I
> D:\a\1\s\BaseTools\Source\C\Common Elf32Convert.c -FoElf32Convert.obj
> INFO - Elf32Convert.c
> INFO - 	cl.exe -c  /nologo /Zi /c /O2 /MT /W4 /WX /D
> _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE  -I . -I
> D:\a\1\s\BaseTools\Source\C\Include -I
> D:\a\1\s\BaseTools\Source\C\Include\Ia32 -I
> D:\a\1\s\BaseTools\Source\C\Common Elf64Convert.c -FoElf64Convert.obj
> INFO - Elf64Convert.c
> INFO - Elf64Convert.c(540): error C2220: the following warning is treated as
> an error
> INFO - Elf64Convert.c(540): warning C4244: '=': conversion from 'Elf64_Addr'
> to 'UINT32', possible loss of data
> INFO - NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
> Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30037\bin\HostX86\x86\cl.ex
> e"' : return code '0x2'
> INFO - Stop.
> INFO -
> INFO - NMAKE : fatal error U1077: 'if' : return code '0x1'
> INFO - Stop.
> INFO - NMAKE : fatal error U1077: 'if' : return code '0x1'
> INFO - Stop.
> INFO - ------------------------------------------------
> INFO - --------------Cmd Output Finished---------------
> INFO - --------- Running Time (mm:ss): 00:29 ----------
> INFO - ----------- Return Code: 0x00000002 ------------
> INFO - ------------------------------------------------
> 
> Best regardm,
> 
> Mike
> 
> 
> > -----Original Message-----
> > From: gaoliming <gaoliming at byosoft.com.cn>
> > Sent: Wednesday, June 23, 2021 6:45 PM
> > To: 'Sunil V L' <sunilvl at ventanamicro.com>; devel at edk2.groups.io; Kinney,
> Michael D <michael.d.kinney at intel.com>; 'Sean
> > Brogan' <sean.brogan at microsoft.com>
> > Cc: 'Chang, Abner (HPS SW/FW Technologist)' <abner.chang at hpe.com>;
> 'Schaefer, Daniel' <daniel.schaefer at hpe.com>
> > Subject: 回复: Need help with CI/CD failure for the PR
> >
> > Mike and Sean:
> >   Have you any idea on how to find the error message in PR failure report?
> >
> >   For this PR https://github.com/tianocore/edk2/pull/1738, I don't find the
> real error message.
> >
> > Thanks
> > Liming
> > > -----邮件原件-----
> > > 发件人: Sunil V L <sunilvl at ventanamicro.com>
> > > 发送时间: 2021年6月22日 18:53
> > > 收件人: devel at edk2.groups.io
> > > 抄送: gaoliming at byosoft.com.cn; Chang, Abner (HPS SW/FW
> Technologist)
> > > <abner.chang at hpe.com>; Schaefer, Daniel <daniel.schaefer at hpe.com>
> > > 主题: Need help with CI/CD failure for the PR
> > >
> > > Hi,
> > >
> > > The PR https://github.com/tianocore/edk2/pull/1738 has hit error with
> below
> > > message.
> > >
> > > "PR can not be merged due to a Windows VS2019 failure. Please resolve
> and
> > > resubmit"
> > >
> > > Unfortunately, I am unable to gather any details why it is failing. Also, I
> don't
> > > have VS2019 build environment to try the build myself. Could some one
> with
> > > VS2019 or knowledge of this build environment help me what exactly is
> the
> > > issue with my patch?
> > >
> > > Thanks in advance!
> > >
> > > Sunil
> >
> >





-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#77038): https://edk2.groups.io/g/devel/message/77038
Mute This Topic: https://groups.io/mt/83753862/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-






More information about the edk2-devel-archive mailing list