Skip to content

FrameworkHiveSelection_GlobalHiveWithBetterMatch failed in CI #45510

@ViktorHofer

Description

@ViktorHofer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Hostblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'untriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions