回复: Need help with CI/CD failure for the PR


gaoliming
 

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

Thanks
Liming

-----邮件原件-----
发件人: Kinney, Michael D <michael.d.kinney@intel.com>
发送时间: 2021年6月24日 11:16
收件人: gaoliming <gaoliming@byosoft.com.cn>; 'Sunil V L'
<sunilvl@ventanamicro.com>; devel@edk2.groups.io; 'Sean Brogan'
<sean.brogan@microsoft.com>; Kinney, Michael D
<michael.d.kinney@intel.com>
抄送: 'Chang, Abner (HPS SW/FW Technologist)' <abner.chang@hpe.com>;
'Schaefer, Daniel' <daniel.schaefer@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@byosoft.com.cn>
Sent: Wednesday, June 23, 2021 6:45 PM
To: 'Sunil V L' <sunilvl@ventanamicro.com>; devel@edk2.groups.io; Kinney,
Michael D <michael.d.kinney@intel.com>; 'Sean
Brogan' <sean.brogan@microsoft.com>
Cc: 'Chang, Abner (HPS SW/FW Technologist)' <abner.chang@hpe.com>;
'Schaefer, Daniel' <daniel.schaefer@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@ventanamicro.com>
发送时间: 2021年6月22日 18:53
收件人: devel@edk2.groups.io
抄送: gaoliming@byosoft.com.cn; Chang, Abner (HPS SW/FW
Technologist)
<abner.chang@hpe.com>; Schaefer, Daniel <daniel.schaefer@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

Join devel@edk2.groups.io to automatically receive all group messages.