Repository navigation
Closed
Labels
Known Build ErrorUse this to report build issues in the .NET Helix tabarea-Interop-coreclrblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'blocking-official-buildblocking-servicing
Milestone
Description
Error Blob
@akoeplinger @vitek-karas I opened an issue to link the failures to it.
Reproduction Steps
- Queues:
Build windows x86 release Runtime_DebugandBuild windows x86 release MSBuild_CMake - Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=520568&view=logs&j=e93c566c-b6be-5acb-6fc2-de2972d01fec&t=8e46592b-8951-5fe4-2e11-17ce22174753&l=4532
- Log output x86:
[163/194] Building CXX object test\ijw\CMakeFiles\ijw.dir\ijw.cpp.obj
FAILED: test/ijw/CMakeFiles/ijw.dir/ijw.cpp.obj
C:\PROGRA~1\MICROS~1\2022\ENTERP~1\VC\Tools\MSVC\1438~1.331\bin\Hostx86\x86\cl.exe /nologo /TP -DHOST_WINDOWS -DHOST_X86 -DNDEBUG -DTARGET_32BIT -DTARGET_WINDOWS -DTARGET_X86 -DURTBLDENV_FRIENDLY=Retail -D_FILE_OFFSET_BITS=64 -Dijw_EXPORTS /DWIN32 /D_WINDOWS /O2 /Ob2 /DNDEBUG -MD /Ox /nologo /W4 /WX /Oi /Oy- /Gm- /Zp8 /Gy /GS /fp:precise /FC /MP /Zm200 /Zc:strictStrings /Zc:wchar_t /Zc:inline /Zc:forScope /wd4065 /wd4100 /wd4127 /wd4131 /wd4189 /wd4200 /wd4201 /wd4206 /wd4239 /wd4245 /wd4291 /wd4310 /wd4324 /wd4366 /wd4456 /wd4457 /wd4458 /wd4459 /wd4463 /wd4505 /wd4702 /wd4706 /wd4733 /wd4815 /wd4838 /wd4918 /wd4960 /wd4961 /wd5105 /wd5205 /we4007 /we4013 /we4102 /we4551 /we4700 /we4640 /we4806 /w34092 /w34121 /w34125 /w34130 /w34132 /w34212 /w34530 /w35038 /w44177 /Zi /ZH:SHA_256 /source-charset:utf-8 /Gz /GL /we4456 /we4457 /we4458 /we4459 /wd4365 /wd4679 /clr:netcore /AID:\a\_work\1\s\.dotnet/packs/Microsoft.NETCore.App.Ref/7.0.13/ref/net7.0 /showIncludes /Fotest\ijw\CMakeFiles\ijw.dir\ijw.cpp.obj /Fdtest\ijw\CMakeFiles\ijw.dir\ /FS -c D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(6): error C2220: the following warning is treated as an error
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(6): warning C5271: consider replacing #using <System.Console.dll> with command line argument /FU "D:\a\_work\1\s\.dotnet\packs\Microsoft.NETCore.App.Ref\7.0.13\ref\net7.0\System.Console.dll"
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(6): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(7): warning C5271: consider replacing #using <System.Runtime.Loader.dll> with command line argument /FU "D:\a\_work\1\s\.dotnet\packs\Microsoft.NETCore.App.Ref\7.0.13\ref\net7.0\System.Runtime.Loader.dll"
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(7): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings
- Log output x64:
Building Custom Rule D:/a/_work/1/s/src/native/corehost/test/ijw/CMakeLists.txt
ijw.cpp
.NETCoreApp,Version=v7.0.AssemblyAttributes.cpp
D:\a\_work\1\s\artifacts\obj\ijw\x86\Release\.NETCoreApp,Version=v7.0.AssemblyAttributes.cpp(1,8): error C2220: the following warning is treated as an error [D:\a\_work\1\s\artifacts\obj\win-x86.Release\corehost\ide\test\ijw\ijw.vcxproj]
D:\a\_work\1\s\artifacts\obj\ijw\x86\Release\.NETCoreApp,Version=v7.0.AssemblyAttributes.cpp(1,8): warning C5271: consider replacing #using <mscorlib.dll> with command line argument /FU "D:\a\_work\1\s\.dotnet\packs\Microsoft.NETCore.App.Ref\7.0.13\ref\net7.0\mscorlib.dll" [D:\a\_work\1\s\artifacts\obj\win-x86.Release\corehost\ide\test\ijw\ijw.vcxproj]
D:\a\_work\1\s\artifacts\obj\ijw\x86\Release\.NETCoreApp,Version=v7.0.AssemblyAttributes.cpp(1,8): warning C5271: [D:\a\_work\1\s\artifacts\obj\win-x86.Release\corehost\ide\test\ijw\ijw.vcxproj]
D:\a\_work\1\s\artifacts\obj\ijw\x86\Release\.NETCoreApp,Version=v7.0.AssemblyAttributes.cpp(1,8):
to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(6,8): error C2220: the following warning is treated as an error [D:\a\_work\1\s\artifacts\obj\win-x86.Release\corehost\ide\test\ijw\ijw.vcxproj]
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(6,8): warning C5271: consider replacing #using <System.Console.dll> with command line argument /FU "D:\a\_work\1\s\.dotnet\packs\Microsoft.NETCore.App.Ref\7.0.13\ref\net7.0\System.Console.dll" [D:\a\_work\1\s\artifacts\obj\win-x86.Release\corehost\ide\test\ijw\ijw.vcxproj]
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(6,8): warning C5271: [D:\a\_work\1\s\artifacts\obj\win-x86.Release\corehost\ide\test\ijw\ijw.vcxproj]
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(6,8):
to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(7,8): warning C5271: consider replacing #using <System.Runtime.Loader.dll> with command line argument /FU "D:\a\_work\1\s\.dotnet\packs\Microsoft.NETCore.App.Ref\7.0.13\ref\net7.0\System.Runtime.Loader.dll" [D:\a\_work\1\s\artifacts\obj\win-x86.Release\corehost\ide\test\ijw\ijw.vcxproj]
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(7,8): warning C5271: [D:\a\_work\1\s\artifacts\obj\win-x86.Release\corehost\ide\test\ijw\ijw.vcxproj]
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(7,8):
to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=520568
Error message validated: warning C5271: consider replacing #using
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 1/10/2024 1:48:54 AM UTC
Report
| Build | Definition | Step Name | Console log | Pull Request |
|---|---|---|---|---|
| 521815 | dotnet/runtime | Build | Log | #96764 |
| 521817 | dotnet/runtime | Build product | Log | #96764 |
| 521816 | dotnet/runtime | Build product | Log | #96764 |
| 521668 | dotnet/runtime | Build | Log | #96758 |
| 521669 | dotnet/runtime | Build product | Log | #96758 |
| 521670 | dotnet/runtime | Build product | Log | #96758 |
| 521538 | dotnet/runtime | Build | Log | #96755 |
| 2349770 | dotnet-runtime | Build | Log | |
| 2349760 | dotnet-runtime | Build | Log | |
| 521526 | dotnet/runtime | Prepare TestHost with runtime CoreCLR | Log | |
| 521518 | dotnet/runtime | Build | Log | |
| 521540 | dotnet/runtime | Build product | Log | #96755 |
| 521539 | dotnet/runtime | Build product | Log | #96755 |
| 521519 | dotnet/runtime | Build product | Log | |
| 521442 | dotnet/runtime | Build product | Log | |
| 521430 | dotnet/runtime | Build product | Log | |
| 521434 | dotnet/runtime | Build product | Log | |
| 521429 | dotnet/runtime | Build product | Log | |
| 2349464 | dotnet-runtime | Build native test components | Log | |
| 521061 | dotnet/runtime | Build native test components | Log | |
| 521049 | dotnet/runtime | Build | Log | |
| 520888 | dotnet/runtime | Prepare TestHost with runtime CoreCLR | Log | |
| 520811 | dotnet/runtime | Build | Log | |
| 520953 | dotnet/runtime | Build product | Log | |
| 520802 | dotnet/runtime | Prepare TestHost with runtime CoreCLR | Log | |
| 520796 | dotnet/runtime | Build | Log | |
| 2349303 | dotnet-runtime | Build | Log | |
| 2349294 | dotnet-runtime | Build | Log | |
| 520795 | dotnet/runtime | Build native test components | Log | |
| 520797 | dotnet/runtime | Build product | Log | |
| 2349295 | dotnet-runtime | Build native test components | Log | |
| 520565 | dotnet/runtime | Build | Log | #96723 |
| 2349197 | dotnet-runtime | Build | Log | |
| 520635 | dotnet/runtime | Build product | Log | |
| 520489 | dotnet/runtime | Prepare TestHost with runtime CoreCLR | Log | |
| 514863 | dotnet/runtime | Build tests | Log | #96489 |
| 519217 | dotnet/runtime | Build tests | Log | #96667 |
| 520481 | dotnet/runtime | Build | Log | |
| 519287 | dotnet/runtime | Build product | Log | #96673 |
| 514864 | dotnet/runtime | Build product | Log | #96489 |
| 514865 | dotnet/runtime | Build product | Log | #96489 |
| 519218 | dotnet/runtime | Build product | Log | #96667 |
| 519288 | dotnet/runtime | Build product | Log | #96673 |
| 519219 | dotnet/runtime | Build product | Log | #96667 |
| 520571 | dotnet/runtime | Build product | Log | #96723 |
| 520568 | dotnet/runtime | Build product | Log | #96723 |
| 2349018 | dotnet-runtime | Build native test components | Log | |
| 520479 | dotnet/runtime | Build native test components | Log | |
| 520482 | dotnet/runtime | Build product | Log | |
| 520361 | dotnet/runtime | Build | Log | #96718 |
| 520042 | dotnet/runtime | Build | Log | #96708 |
| 520043 | dotnet/runtime | Build product | Log | #96708 |
| 519181 | dotnet/runtime | Build product | Log | |
| 519171 | dotnet/runtime | Build product | Log | |
| 519178 | dotnet/runtime | Build product | Log | |
| 519170 | dotnet/runtime | Build product | Log |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 56 | 56 |
Known Issue Error Message
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": "",
"BuildRetry": false,
"ErrorPattern": "FAILED: .+ijw\.cpp\.obj",
"ExcludeConsoleLog": false
}Metadata
Metadata
Assignees
Labels
Known Build ErrorUse this to report build issues in the .NET Helix tabarea-Interop-coreclrblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'blocking-official-buildblocking-servicing
Activity
carlossanlop commentedon Jan 10, 2024
It's already fixed in main and 8.0, and #92878 so we need it backported to 7.0.
carlossanlop commentedon Jan 10, 2024
Seems to be even more impactful than I initially thought. I found another failure log that does not match the selected text in the ErrorMessage, so I'll instead use the ErrorPattern that would match
FAILED: test/ijw/CMakeFiles/ijw.dir/ijw.cpp.obj.https://dev.azure.com/dnceng-public/public/_build/results?buildId=521631&view=logs&j=0bc77094-9fcd-5c38-f6e4-27d2ae131589&t=0eda4080-ac10-5e2b-f8c7-f0b168217e47&l=5535
carlossanlop commentedon Jan 12, 2024
Fixed by #96788