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

FrameworkHiveSelection_GlobalHiveWithBetterMatch failed in CI #45510

Closed
ViktorHofer opened this issue Dec 3, 2020 · 6 comments
Closed

FrameworkHiveSelection_GlobalHiveWithBetterMatch failed in CI #45510

ViktorHofer opened this issue Dec 3, 2020 · 6 comments
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

@ViktorHofer
Copy link
Member

ViktorHofer commented Dec 3, 2020

https://dev.azure.com/dnceng/public/_build/results?buildId=906108&view=ms.vss-test-web.build-test-results-tab&runId=28912544&resultId=100177&paneView=debug

Configuration: Installer-coreclr-windows_x86-Debug

Expected command to pass but it did not."\r\nFile Name: F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive\dotnet.exe\r\nArguments: F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\FrameworkReferenceApp\FrameworkReferenceApp.dll\r\nExit Code: -532462766\r\nStdOut:\r\n\r\nStdErr:\r\nTracing enabled @ Wed Dec  2 19:54:41 2020 GMT\r\n--- Invoked dotnet [version: 6.0.0-ci, commit hash: 63247336f41751582d12423fe6852bd73dd0f09f] main = {\r\nF:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive\dotnet.exe\r\nF:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\FrameworkReferenceApp\FrameworkReferenceApp.dll\r\n}\r\nReading fx resolver directory=[F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive\host\fxr]\r\nConsidering fxr version=[6.0.0-ci]...\r\nDetected latest fxr version=[F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive\host\fxr\6.0.0-ci]...\r\nResolved fxr [F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive\host\fxr\6.0.0-ci\hostfxr.dll]...\r\nLoaded library from F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive\host\fxr\6.0.0-ci\hostfxr.dll\r\nInvoking fx resolver [F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive\host\fxr\6.0.0-ci\hostfxr.dll] hostfxr_main_startupinfo\r\nHost path: [F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive\dotnet.exe]\r\nDotnet path: [F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive\]\r\nApp path: [F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive\dotnet.dll]\r\nTracing enabled @ Wed Dec  2 19:54:41 2020 GMT\r\n--- Invoked hostfxr_main_startupinfo [commit hash: 63247336f41751582d12423fe6852bd73dd0f09f]\r\nChecking if CoreCLR path exists=[F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive\coreclr.dll]\r\n--- Executing in muxer mode...\r\nUsing the provided arguments to determine the application to execute.\r\nUsing dotnet root path [F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive\]\r\nApp runtimeconfig.json from [F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\FrameworkReferenceApp\FrameworkReferenceApp.dll]\r\nRuntime config is cfg=F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\FrameworkReferenceApp\FrameworkReferenceApp.runtimeconfig.json dev=F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\FrameworkReferenceApp\FrameworkReferenceApp.runtimeconfig.dev.json\r\nAttempting to read runtime config: F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\FrameworkReferenceApp\FrameworkReferenceApp.runtimeconfig.json\r\nAttempting to read dev runtime config: F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\FrameworkReferenceApp\FrameworkReferenceApp.runtimeconfig.dev.json\r\nRuntime config [F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\FrameworkReferenceApp\FrameworkReferenceApp.runtimeconfig.json] is valid=[1]\r\n--- The specified framework 'Microsoft.NETCore.App', version '5.0.0', apply_patches=1, version_compatibility_range=minor is compatible with the previously referenced version '5.0.0'.\r\n--- Resolving FX directory, name 'Microsoft.NETCore.App' version '5.0.0'\r\nDOTNET_MULTILEVEL_LOOKUP is set to 1\r\nMultilevel lookup is true\r\nSearching FX directory in [F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive]\r\nAttempting FX roll forward star

Stacktrace:

   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at Microsoft.DotNet.CoreSetup.Test.CommandResultAssertions.Pass() in /_/src/installer/tests/TestUtils/Assertions/CommandResultAssertions.cs:line 30
   at Microsoft.DotNet.CoreSetup.Test.HostActivation.FrameworkResolution.FrameworkResolutionCommandResultExtensions.ShouldHaveResolvedFramework(CommandResult result, String resolvedFrameworkName, String resolvedFrameworkVersion) in /_/src/installer/tests/HostActivation.Tests/FrameworkResolution/FrameworkResolutionCommandResultExtensions.cs:line 18
   at Microsoft.DotNet.CoreSetup.Test.HostActivation.FrameworkResolution.MultipleHives.FrameworkHiveSelection_GlobalHiveWithBetterMatch() in /_/src/installer/tests/HostActivation.Tests/FrameworkResolution/MultipleHives.cs:line 32

cc @vitek-karas (?)

Runfo Tracking Issue: frameworkhiveselection_globalhivewithbettermatch

Build Definition Kind Run Name
1024695 runtime PR 49194 Installer-coreclr-windows_x86-Debug
1024695 runtime PR 49194 Installer-coreclr-windows_x64-Release
1024338 runtime PR 49194 Installer-coreclr-windows_x64-Release
1024338 runtime PR 49194 Installer-coreclr-windows_x86-Debug
1024212 runtime PR 49194 Installer-coreclr-windows_x86-Debug
1024212 runtime PR 49194 Installer-coreclr-windows_x64-Release

Build Result Summary

Day Hit Count Week Hit Count Month Hit Count
0 0 0
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Dec 3, 2020
@ghost
Copy link

ghost commented Dec 3, 2020

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

Issue Details

https://dev.azure.com/dnceng/public/_build/results?buildId=906108&view=ms.vss-test-web.build-test-results-tab&runId=28912544&resultId=100177&paneView=debug

Configuration: Installer-coreclr-windows_x86-Debug

Expected command to pass but it did not."\r\nFile Name: F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive\dotnet.exe\r\nArguments: F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\FrameworkReferenceApp\FrameworkReferenceApp.dll\r\nExit Code: -532462766\r\nStdOut:\r\n\r\nStdErr:\r\nTracing enabled @ Wed Dec  2 19:54:41 2020 GMT\r\n--- Invoked dotnet [version: 6.0.0-ci, commit hash: 63247336f41751582d12423fe6852bd73dd0f09f] main = {\r\nF:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive\dotnet.exe\r\nF:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\FrameworkReferenceApp\FrameworkReferenceApp.dll\r\n}\r\nReading fx resolver directory=[F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive\host\fxr]\r\nConsidering fxr version=[6.0.0-ci]...\r\nDetected latest fxr version=[F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive\host\fxr\6.0.0-ci]...\r\nResolved fxr [F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive\host\fxr\6.0.0-ci\hostfxr.dll]...\r\nLoaded library from F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive\host\fxr\6.0.0-ci\hostfxr.dll\r\nInvoking fx resolver [F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive\host\fxr\6.0.0-ci\hostfxr.dll] hostfxr_main_startupinfo\r\nHost path: [F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive\dotnet.exe]\r\nDotnet path: [F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive\]\r\nApp path: [F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive\dotnet.dll]\r\nTracing enabled @ Wed Dec  2 19:54:41 2020 GMT\r\n--- Invoked hostfxr_main_startupinfo [commit hash: 63247336f41751582d12423fe6852bd73dd0f09f]\r\nChecking if CoreCLR path exists=[F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive\coreclr.dll]\r\n--- Executing in muxer mode...\r\nUsing the provided arguments to determine the application to execute.\r\nUsing dotnet root path [F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive\]\r\nApp runtimeconfig.json from [F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\FrameworkReferenceApp\FrameworkReferenceApp.dll]\r\nRuntime config is cfg=F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\FrameworkReferenceApp\FrameworkReferenceApp.runtimeconfig.json dev=F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\FrameworkReferenceApp\FrameworkReferenceApp.runtimeconfig.dev.json\r\nAttempting to read runtime config: F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\FrameworkReferenceApp\FrameworkReferenceApp.runtimeconfig.json\r\nAttempting to read dev runtime config: F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\FrameworkReferenceApp\FrameworkReferenceApp.runtimeconfig.dev.json\r\nRuntime config [F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\FrameworkReferenceApp\FrameworkReferenceApp.runtimeconfig.json] is valid=[1]\r\n--- The specified framework 'Microsoft.NETCore.App', version '5.0.0', apply_patches=1, version_compatibility_range=minor is compatible with the previously referenced version '5.0.0'.\r\n--- Resolving FX directory, name 'Microsoft.NETCore.App' version '5.0.0'\r\nDOTNET_MULTILEVEL_LOOKUP is set to 1\r\nMultilevel lookup is true\r\nSearching FX directory in [F:\workspace\_work\1\s\artifacts\tests\Debug\ha\frameworkResolution\0\MainHive]\r\nAttempting FX roll forward star

Stacktrace:

   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at Microsoft.DotNet.CoreSetup.Test.CommandResultAssertions.Pass() in /_/src/installer/tests/TestUtils/Assertions/CommandResultAssertions.cs:line 30
   at Microsoft.DotNet.CoreSetup.Test.HostActivation.FrameworkResolution.FrameworkResolutionCommandResultExtensions.ShouldHaveResolvedFramework(CommandResult result, String resolvedFrameworkName, String resolvedFrameworkVersion) in /_/src/installer/tests/HostActivation.Tests/FrameworkResolution/FrameworkResolutionCommandResultExtensions.cs:line 18
   at Microsoft.DotNet.CoreSetup.Test.HostActivation.FrameworkResolution.MultipleHives.FrameworkHiveSelection_GlobalHiveWithBetterMatch() in /_/src/installer/tests/HostActivation.Tests/FrameworkResolution/MultipleHives.cs:line 32

cc @vitek-karas (?)

Author: ViktorHofer
Assignees: -
Labels:

area-Host

Milestone: -

@ViktorHofer ViktorHofer added the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Dec 3, 2020
@ViktorHofer
Copy link
Member Author

@agocke the test started to fail just recently, so presumably a regression? this is killing our pass rate, should we disable the test meanwhile?

@elinor-fung
Copy link
Member

This should be fixed by #45500

@ViktorHofer
Copy link
Member Author

Closing and will reopen if I see other hits. Thanks

@janvorli
Copy link
Member

@janvorli janvorli reopened this Dec 10, 2020
@janvorli
Copy link
Member

Ah, my PR is on the release/5.0 branch and the port of the fix obviously isn't there yet. So please disregard the comment above.

@ghost ghost locked as resolved and limited conversation to collaborators May 12, 2021
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

No branches or pull requests

4 participants