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

[release/9.0] HostActivation installer tests are expecting 9.0.0 but getting 9.0.0-ci in PRs #108994

Closed
carlossanlop opened this issue Oct 17, 2024 · 3 comments
Assignees
Labels
area-Host area-Infrastructure-installer blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab test-failure
Milestone

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Oct 17, 2024

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=846401
Build error leg or test failing:

  • build_osx_x64_release_Installer_Build_And_Test-trx_2
  • Microsoft.DotNet.CoreSetup.Test.HostActivation.FrameworkDependentAppLaunch.AppHost_CLI_MissingRuntimeFramework_ErrorReportedInStdErr

Error Message

{
  "ErrorMessage" : "No match greater than or equal to [9.0.0-ci] found.",
  "BuildRetry" : false,
  "ExcludeConsoleLog" : false
}
WARNING failure message 'The command error output did not contain expected result: 'Framework: 'Microsoft.NETCore.App', version '9.0.0' (x64)'
File Name: /Users/runner/work/1/s/artifacts/tests/host/osx.x64.Release/ha/yw4mqrmv.eat/HelloWorld/HelloWorld
Arguments:
Environment:
DOTNET_ROOT = /Users/runner/work/1/s/artifacts/tests/host/osx.x64.Release/ha/23202fcg.2wn/cliErrors
DOTNET_ROOT(x86) = /Users/runner/work/1/s/artifacts/tests/host/osx.x64.Release/ha/23202fcg.2wn/cliErrors
Exit Code: 0x96
StdOut:


StdErr:
Tracing enabled @ Thu Oct 17 16:40:18 2024 UTC
--- Invoked apphost [version: 9.0.0 @Commit: 2d7c3a549d19d3ebd236d233175c9ed9828eff58] main = {
/Users/runner/work/1/s/artifacts/tests/host/osx.x64.Release/ha/yw4mqrmv.eat/HelloWorld/HelloWorld
}
The managed DLL bound to this executable is: 'HelloWorld.dll'
.NET root search location options: 0
Using environment variable DOTNET_ROOT=[/Users/runner/work/1/s/artifacts/tests/host/osx.x64.Release/ha/23202fcg.2wn/cliErrors] as runtime location.
Reading fx resolver directory=[/Users/runner/work/1/s/artifacts/tests/host/osx.x64.Release/ha/23202fcg.2wn/cliErrors/host/fxr]
Considering fxr version=[9.0.0]...
Detected latest fxr version=[/Users/runner/work/1/s/artifacts/tests/host/osx.x64.Release/ha/23202fcg.2wn/cliErrors/host/fxr/9.0.0]...
Resolved fxr [/Users/runner/work/1/s/artifacts/tests/host/osx.x64.Release/ha/23202fcg.2wn/cliErrors/host/fxr/9.0.0/libhostfxr.dylib]...
Invoking fx resolver [/Users/runner/work/1/s/artifacts/tests/host/osx.x64.Release/ha/23202fcg.2wn/cliErrors/host/fxr/9.0.0/libhostfxr.dylib] hostfxr_main_startupinfo
Host path: [/Users/runner/work/1/s/artifacts/tests/host/osx.x64.Release/ha/yw4mqrmv.eat/HelloWorld/HelloWorld]
Dotnet path: [/Users/runner/work/1/s/artifacts/tests/host/osx.x64.Release/ha/23202fcg.2wn/cliErrors]
App path: [/Users/runner/work/1/s/artifacts/tests/host/osx.x64.Release/ha/yw4mqrmv.eat/HelloWorld/HelloWorld.dll]
Tracing enabled @ Thu Oct 17 16:40:18 2024 UTC
--- Invoked hostfxr_main_startupinfo [version: 9.0.0 @Commit: 2d7c3a549d19d3ebd236d233175c9ed9828eff58]
Checking if CoreCLR path exists=[/Users/runner/work/1/s/artifacts/tests/host/osx.x64.Release/ha/23202fcg.2wn/cliErrors/libcoreclr.dylib]
--- Executing in a native executable mode...
Using dotnet root path [/Users/runner/work/1/s/artifacts/tests/host/osx.x64.Release/ha/23202fcg.2wn/cliErrors]
App runtimeconfig.json from [/Users/runner/work/1/s/artifacts/tests/host/osx.x64.Release/ha/yw4mqrmv.eat/HelloWorld/HelloWorld.dll]
Runtime config is cfg=/Users/runner/work/1/s/artifacts/tests/host/osx.x64.Release/ha/yw4mqrmv.eat/HelloWorld/HelloWorld.runtimeconfig.json dev=/Users/runner/work/1/s/artifacts/tests/host/osx.x64.Release/ha/yw4mqrmv.eat/HelloWorld/HelloWorld.runtimeconfig.dev.json
Attempting to read dev runtime config: /Users/runner/work/1/s/artifacts/tests/host/osx.x64.Release/ha/yw4mqrmv.eat/HelloWorld/HelloWorld.runtimeconfig.dev.json
Attempting to read runtime config: /Users/runner/work/1/s/artifacts/tests/host/osx.x64.Release/ha/yw4mqrmv.eat/HelloWorld/HelloWorld.runtimeconfig.json
Runtime config [/Users/runner/work/1/s/artifacts/tests/host/osx.x64.Release/ha/yw4mqrmv.eat/HelloWorld/HelloWorld.runtimeconfig.json] is valid=[1]
--- The specified framework 'Microsoft.NETCore.App', version '9.0.0-ci', apply_patches=1, version_compatibility_range=minor is compatible with the previously referenced version '9.0.0-ci'.
--- Resolving FX directory, name 'Microsoft.NETCore.App' version '9.0.0-ci'
Searching FX directory in [/Users/runner/work/1/s/artifacts/tests/host/osx.x64.Release/ha/23202fcg.2wn/cliErrors]
Attempting FX roll forward starting from version='[9.0.0-ci]', apply_patches=1, version_compatibility_range=minor, roll_to_highest_version=0, prefer_release=0
'Roll forward' enabled with version_compatibility_range [minor]. Looking for the lowest release/pre-release greater than or equal version to [9.0.0-ci]
No match greater than or equal to [9.0.0-ci] found.
Framework reference di...

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=846401
Error message validated: [No match greater than or equal to [9.0.0-ci] found.]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/17/2024 7:10:56 PM UTC

Report

Build Definition Test Pull Request
847627 dotnet/runtime Microsoft.DotNet.CoreSetup.Test.HostActivation.FrameworkDependentAppLaunch.AppHost_CLI_MissingRuntimeFramework_ErrorReportedInStdErr(missingHostfxr: False)
847556 dotnet/runtime Microsoft.DotNet.CoreSetup.Test.HostActivation.FrameworkDependentAppLaunch.AppHost_CLI_MissingRuntimeFramework_ErrorReportedInStdErr(missingHostfxr: False) #109013
847485 dotnet/runtime Microsoft.DotNet.CoreSetup.Test.HostActivation.FrameworkDependentAppLaunch.AppHost_CLI_MissingRuntimeFramework_ErrorReportedInStdErr(missingHostfxr: False)
847177 dotnet/runtime Microsoft.DotNet.CoreSetup.Test.HostActivation.FrameworkDependentAppLaunch.AppHost_CLI_MissingRuntimeFramework_ErrorReportedInStdErr(missingHostfxr: False) #109009
847217 dotnet/runtime Microsoft.DotNet.CoreSetup.Test.HostActivation.FrameworkDependentAppLaunch.AppHost_CLI_MissingRuntimeFramework_ErrorReportedInStdErr(missingHostfxr: False) #109013
847042 dotnet/runtime Microsoft.DotNet.CoreSetup.Test.HostActivation.FrameworkDependentAppLaunch.AppHost_CLI_MissingRuntimeFramework_ErrorReportedInStdErr(missingHostfxr: False)
846981 dotnet/runtime Microsoft.DotNet.CoreSetup.Test.HostActivation.FrameworkDependentAppLaunch.AppHost_CLI_MissingRuntimeFramework_ErrorReportedInStdErr(missingHostfxr: False)
846929 dotnet/runtime Microsoft.DotNet.CoreSetup.Test.HostActivation.FrameworkDependentAppLaunch.AppHost_CLI_MissingRuntimeFramework_ErrorReportedInStdErr(missingHostfxr: False) #109003
846875 dotnet/runtime Microsoft.DotNet.CoreSetup.Test.HostActivation.FrameworkDependentAppLaunch.AppHost_CLI_MissingRuntimeFramework_ErrorReportedInStdErr(missingHostfxr: False)
846714 dotnet/runtime Microsoft.DotNet.CoreSetup.Test.HostActivation.FrameworkDependentAppLaunch.AppHost_CLI_MissingRuntimeFramework_ErrorReportedInStdErr(missingHostfxr: False) #108995
846663 dotnet/runtime Microsoft.DotNet.CoreSetup.Test.HostActivation.FrameworkDependentAppLaunch.AppHost_CLI_MissingRuntimeFramework_ErrorReportedInStdErr(missingHostfxr: False) #108843
846630 dotnet/runtime Microsoft.DotNet.CoreSetup.Test.HostActivation.FrameworkDependentAppLaunch.AppHost_CLI_MissingRuntimeFramework_ErrorReportedInStdErr(missingHostfxr: False)
846615 dotnet/runtime Microsoft.DotNet.CoreSetup.Test.HostActivation.FrameworkDependentAppLaunch.AppHost_CLI_MissingRuntimeFramework_ErrorReportedInStdErr(missingHostfxr: False) #108516
846660 dotnet/runtime Microsoft.DotNet.CoreSetup.Test.HostActivation.FrameworkDependentAppLaunch.AppHost_CLI_MissingRuntimeFramework_ErrorReportedInStdErr(missingHostfxr: False) #108751
2563222 dotnet-runtime Microsoft.DotNet.CoreSetup.Test.HostActivation.FrameworkDependentAppLaunch.AppHost_CLI_MissingRuntimeFramework_ErrorReportedInStdErr(missingHostfxr: False) #43919
846401 dotnet/runtime Microsoft.DotNet.CoreSetup.Test.HostActivation.FrameworkDependentAppLaunch.AppHost_CLI_MissingRuntimeFramework_ErrorReportedInStdErr(missingHostfxr: False) #108482

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 16 16
@carlossanlop carlossanlop added area-Host area-Infrastructure-installer blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab test-failure labels Oct 17, 2024
@carlossanlop carlossanlop added this to the 9.0.0 milestone Oct 17, 2024
Copy link
Contributor

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

@elinor-fung
Copy link
Member

It seems the Version we have when building the test assets here:

<Target Name="UpdateRuntimeFrameworkVersion"
Condition="'$(UseLocalTargetingRuntimePack)' == 'true'"
AfterTargets="ResolveTargetingPackAssets">
<ItemGroup>
<RuntimeFramework Version="$(Version)"
Condition="'%(RuntimeFramework.FrameworkName)' == '$(LocalFrameworkOverrideName)'" />
</ItemGroup>
</Target>

Is not the same as the Version we have when creating the .NET install layout for the tests here:

<Target Name="ReturnProductVersion" Returns="$(Version)" />

The test assets have 9.0.0-ci (which is written into their runtimeconfig.json), while the .NET install layout has 9.0.0.

@elinor-fung
Copy link
Member

This was fixed with #109031

@github-actions github-actions bot locked and limited conversation to collaborators Nov 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Host area-Infrastructure-installer blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab test-failure
Projects
Archived in project
Development

No branches or pull requests

4 participants