Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[windows][x64] Build failed in CI #66380

Closed
MaximLipnin opened this issue Mar 9, 2022 · 3 comments · Fixed by #66400
Closed

[windows][x64] Build failed in CI #66380

MaximLipnin opened this issue Mar 9, 2022 · 3 comments · Fixed by #66400
Labels
area-Host blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' untriaged New issue has not been triaged by the area owner

Comments

@MaximLipnin
Copy link
Contributor

Configuration: Build windows x64 Release AllSubsets_Mono
Build: https://dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_apis/build/builds/1652171/logs/242

...
2022-03-08T21:31:15.0453750Z   [157/166] Linking CXX shared library test\ijw\ijw.dll
2022-03-08T21:31:15.0752223Z   FAILED: test/ijw/ijw.dll test/ijw/ijw.lib 
2022-03-08T21:31:15.0889364Z   cmd.exe /C "cd . && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_dll --intdir=test\ijw\CMakeFiles\ijw.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100220~1.0\x86\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100220~1.0\x86\mt.exe --manifests  -- C:\PROGRA~2\MICROS~1\2019\ENTERP~1\VC\Tools\MSVC\1429~1.301\bin\Hostx86\x64\link.exe /nologo test\ijw\CMakeFiles\ijw.dir\ijw.cpp.obj  /out:test\ijw\ijw.dll /implib:test\ijw\ijw.lib /pdb:test\ijw\ijw.pdb /dll /version:0.0 /machine:x64 /guard:cf /MANIFEST:NO /LARGEADDRESSAWARE /PDBCOMPRESS /DEBUG /IGNORE:4197,4013,4254,4070,4221 /SUBSYSTEM:WINDOWS,6.01 /guard:ehcont /CETCOMPAT  /LTCG /OPT:REF /OPT:ICF /INCREMENTAL:NO /NODEFAULTLIB:libucrt.lib /DEFAULTLIB:ucrt.lib  ijwhost.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib  && cd ."
2022-03-08T21:31:15.1131029Z   LINK: command "C:\PROGRA~2\MICROS~1\2019\ENTERP~1\VC\Tools\MSVC\1429~1.301\bin\Hostx86\x64\link.exe /nologo test\ijw\CMakeFiles\ijw.dir\ijw.cpp.obj /out:test\ijw\ijw.dll /implib:test\ijw\ijw.lib /pdb:test\ijw\ijw.pdb /dll /version:0.0 /machine:x64 /guard:cf /MANIFEST:NO /LARGEADDRESSAWARE /PDBCOMPRESS /DEBUG /IGNORE:4197,4013,4254,4070,4221 /SUBSYSTEM:WINDOWS,6.01 /guard:ehcont /CETCOMPAT /LTCG /OPT:REF /OPT:ICF /INCREMENTAL:NO /NODEFAULTLIB:libucrt.lib /DEFAULTLIB:ucrt.lib ijwhost.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib" failed (exit code 1181) with the following output:
2022-03-08T21:31:15.1443366Z   LINK : fatal error LNK1181: cannot open input file 'ijwhost.lib'
...
2022-03-08T21:31:16.3844117Z   ninja: build stopped: subcommand failed.
2022-03-08T21:31:16.3851077Z   Failed to generate native component build project!
2022-03-08T21:31:16.3998089Z D:\a\_work\1\s\src\native\corehost\corehost.proj(104,5): error MSB3073: The command ""D:\a\_work\1\s\src\native\corehost\build.cmd" Release x64 apphostver 7.0.0-ci hostver 7.0.0-ci fxrver 7.0.0-ci policyver 7.0.0-ci commit 906146aba64a9c14bcc77cffa5f540ead31cd4a7 rid win-x64 portable incremental-native-build rootdir D:\a\_work\1\s\ coreclrartifacts D:\a\_work\1\s\artifacts\bin\coreclr\windows.x64.Release\ runtimeflavor Mono runtimeconfiguration Release" exited with code 1.
2022-03-08T21:31:16.4206184Z ##[error]src\native\corehost\corehost.proj(104,5): error MSB3073: (NETCORE_ENGINEERING_TELEMETRY=Build) The command ""D:\a\_work\1\s\src\native\corehost\build.cmd" Release x64 apphostver 7.0.0-ci hostver 7.0.0-ci fxrver 7.0.0-ci policyver 7.0.0-ci commit 906146aba64a9c14bcc77cffa5f540ead31cd4a7 rid win-x64 portable incremental-native-build rootdir D:\a\_work\1\s\ coreclrartifacts D:\a\_work\1\s\artifacts\bin\coreclr\windows.x64.Release\ runtimeflavor Mono runtimeconfiguration Release" exited with code 1.
2022-03-08T21:31:16.4296792Z 
2022-03-08T21:31:16.4303273Z Build FAILED.
@dotnet-issue-labeler dotnet-issue-labeler bot added area-Host untriaged New issue has not been triaged by the area owner labels Mar 9, 2022
@ghost
Copy link

ghost commented Mar 9, 2022

Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov
See info in area-owners.md if you want to be subscribed.

Issue Details

Configuration: Build windows x64 Release AllSubsets_Mono
Build: https://dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_apis/build/builds/1652171/logs/242

...
2022-03-08T21:31:15.0453750Z   [157/166] Linking CXX shared library test\ijw\ijw.dll
2022-03-08T21:31:15.0752223Z   FAILED: test/ijw/ijw.dll test/ijw/ijw.lib 
2022-03-08T21:31:15.0889364Z   cmd.exe /C "cd . && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_dll --intdir=test\ijw\CMakeFiles\ijw.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100220~1.0\x86\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100220~1.0\x86\mt.exe --manifests  -- C:\PROGRA~2\MICROS~1\2019\ENTERP~1\VC\Tools\MSVC\1429~1.301\bin\Hostx86\x64\link.exe /nologo test\ijw\CMakeFiles\ijw.dir\ijw.cpp.obj  /out:test\ijw\ijw.dll /implib:test\ijw\ijw.lib /pdb:test\ijw\ijw.pdb /dll /version:0.0 /machine:x64 /guard:cf /MANIFEST:NO /LARGEADDRESSAWARE /PDBCOMPRESS /DEBUG /IGNORE:4197,4013,4254,4070,4221 /SUBSYSTEM:WINDOWS,6.01 /guard:ehcont /CETCOMPAT  /LTCG /OPT:REF /OPT:ICF /INCREMENTAL:NO /NODEFAULTLIB:libucrt.lib /DEFAULTLIB:ucrt.lib  ijwhost.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib  && cd ."
2022-03-08T21:31:15.1131029Z   LINK: command "C:\PROGRA~2\MICROS~1\2019\ENTERP~1\VC\Tools\MSVC\1429~1.301\bin\Hostx86\x64\link.exe /nologo test\ijw\CMakeFiles\ijw.dir\ijw.cpp.obj /out:test\ijw\ijw.dll /implib:test\ijw\ijw.lib /pdb:test\ijw\ijw.pdb /dll /version:0.0 /machine:x64 /guard:cf /MANIFEST:NO /LARGEADDRESSAWARE /PDBCOMPRESS /DEBUG /IGNORE:4197,4013,4254,4070,4221 /SUBSYSTEM:WINDOWS,6.01 /guard:ehcont /CETCOMPAT /LTCG /OPT:REF /OPT:ICF /INCREMENTAL:NO /NODEFAULTLIB:libucrt.lib /DEFAULTLIB:ucrt.lib ijwhost.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib" failed (exit code 1181) with the following output:
2022-03-08T21:31:15.1443366Z   LINK : fatal error LNK1181: cannot open input file 'ijwhost.lib'
...
2022-03-08T21:31:16.3844117Z   ninja: build stopped: subcommand failed.
2022-03-08T21:31:16.3851077Z   Failed to generate native component build project!
2022-03-08T21:31:16.3998089Z D:\a\_work\1\s\src\native\corehost\corehost.proj(104,5): error MSB3073: The command ""D:\a\_work\1\s\src\native\corehost\build.cmd" Release x64 apphostver 7.0.0-ci hostver 7.0.0-ci fxrver 7.0.0-ci policyver 7.0.0-ci commit 906146aba64a9c14bcc77cffa5f540ead31cd4a7 rid win-x64 portable incremental-native-build rootdir D:\a\_work\1\s\ coreclrartifacts D:\a\_work\1\s\artifacts\bin\coreclr\windows.x64.Release\ runtimeflavor Mono runtimeconfiguration Release" exited with code 1.
2022-03-08T21:31:16.4206184Z ##[error]src\native\corehost\corehost.proj(104,5): error MSB3073: (NETCORE_ENGINEERING_TELEMETRY=Build) The command ""D:\a\_work\1\s\src\native\corehost\build.cmd" Release x64 apphostver 7.0.0-ci hostver 7.0.0-ci fxrver 7.0.0-ci policyver 7.0.0-ci commit 906146aba64a9c14bcc77cffa5f540ead31cd4a7 rid win-x64 portable incremental-native-build rootdir D:\a\_work\1\s\ coreclrartifacts D:\a\_work\1\s\artifacts\bin\coreclr\windows.x64.Release\ runtimeflavor Mono runtimeconfiguration Release" exited with code 1.
2022-03-08T21:31:16.4296792Z 
2022-03-08T21:31:16.4303273Z Build FAILED.
Author: MaximLipnin
Assignees: -
Labels:

area-Host, untriaged

Milestone: -

@vitek-karas
Copy link
Member

@elinor-fung probably related to your IJW test changes

@elinor-fung
Copy link
Member

Boo, will take a look.

@steveisok steveisok added the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Mar 9, 2022
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Mar 9, 2022
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Mar 9, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Apr 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Host blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants