Skip to content

Host tests fail to restore on osx-arm64 #79470

@VSadov

Description

@VSadov

I am trying to build host tests, after successfully building clr, libs, host(with no tests), packs, ..., building the tests part fails.

Is there something that needs to be done to make it work, or host tests are essentially broken on on a contributor's machine for osx-arm64 ?

How does the lab build/run the tests?

./build.sh clr+libs -rc Checked -lc Release <=== OK
./build.sh host.native+host.tools+host.pkg -rc Checked -lc Release <=== OK
./build.sh packs -rc Checked -lc Release  <== OK
./build.sh host.tests -rc Checked -lc Release -test  <=== FAIL
Build FAILED.

/usr/local/share/dotnet/sdk/7.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(135,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'osx-arm64'. [/Users/vs/Hosting01/runtime/src/installer/tests/Assets/TestProjects/StandaloneApp3x/StandaloneApp3x.csproj::TargetFramework=netcoreapp3.0]
/usr/local/share/dotnet/sdk/7.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(135,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'osx-arm64'. [/Users/vs/Hosting01/runtime/src/installer/tests/Assets/TestProjects/StandaloneApp3x/StandaloneApp3x.csproj::TargetFramework=netcoreapp3.0]
/usr/local/share/dotnet/sdk/7.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(135,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'osx-arm64'. [/Users/vs/Hosting01/runtime/src/installer/tests/Assets/TestProjects/StandaloneApp3x/StandaloneApp3x.csproj::TargetFramework=netcoreapp3.0]
/usr/local/share/dotnet/sdk/7.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(135,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'osx-arm64'. [/Users/vs/Hosting01/runtime/src/installer/tests/Assets/TestProjects/StandaloneApp3x/StandaloneApp3x.csproj::TargetFramework=netcoreapp3.0]
/Users/vs/Hosting01/runtime/src/installer/tests/PrepareTestAssets/PrepareTestAssets.proj(123,5): error MSB4181: The "MSBuild" task returned false but did not log an error.
    0 Warning(s)
    5 Error(s)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions