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

Host tests fail to restore on osx-arm64 #79470

Closed
VSadov opened this issue Dec 9, 2022 · 2 comments · Fixed by #79894
Closed

Host tests fail to restore on osx-arm64 #79470

VSadov opened this issue Dec 9, 2022 · 2 comments · Fixed by #79894
Assignees

Comments

@VSadov
Copy link
Member

VSadov commented Dec 9, 2022

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)
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Dec 9, 2022
@ghost
Copy link

ghost commented Dec 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

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

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)
Author: VSadov
Assignees: -
Labels:

area-Host

Milestone: -

@VSadov
Copy link
Member Author

VSadov commented Dec 9, 2022

cc: @janvorli

@VSadov VSadov self-assigned this Dec 15, 2022
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Dec 22, 2022
@ghost ghost removed in-pr There is an active PR which will close this issue when it is merged untriaged New issue has not been triaged by the area owner labels Dec 23, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Jan 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant