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

Enable scenario-tests on win-x86 and osx-x64 #46399

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ViktorHofer
Copy link
Member

Contributes to dotnet/source-build#4844

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Request triage from a team member labels Jan 29, 2025
@ViktorHofer
Copy link
Member Author

/azp run sdk-unified-build-full

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ViktorHofer
Copy link
Member Author

   [FAIL] Microsoft.DotNet.ScenarioTests.SdkTemplateTests.SdkTemplateTests.VerifyWebTemplatePublishBundledAot
    System.InvalidOperationException : Failed to execute D:\a\_work\1\vmr\artifacts\obj\extracted-dotnet-sdk\dotnet.exe publish  -r win-x86 /p:PublishAot=true /bl:D:\a\_work\1\vmr\artifacts\log\Release\scenario-tests\SdkTemplateTestsAot_Web_CSharp\publish--win-x86-aot.binlog
    Exit code: 1
    Determining projects to restore...
      Restored D:\a\_work\1\vmr\src\scenario-tests\artifacts\obj\generatedtests\SdkTemplateTestsAot_Web_CSharp\SdkTemplateTestsAot_Web_CSharp.csproj (in 4.15 sec).
    D:\a\_work\1\vmr\artifacts\obj\extracted-dotnet-sdk\sdk\10.0.100-ci\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(326,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [D:\a\_work\1\vmr\src\scenario-tests\artifacts\obj\generatedtests\SdkTemplateTestsAot_Web_CSharp\SdkTemplateTestsAot_Web_CSharp.csproj]
      SdkTemplateTestsAot_Web_CSharp -> D:\a\_work\1\vmr\src\scenario-tests\artifacts\obj\generatedtests\SdkTemplateTestsAot_Web_CSharp\bin\Release\net10.0\win-x86\SdkTemplateTestsAot_Web_CSharp.dll
C:\Users\cloudtest\.nuget\packages\microsoft.dotnet.ilcompiler\10.0.0-ci\build\Microsoft.NETCore.Native.Publish.targets(67,5): error : Add a PackageReference for 'runtime.win-x64.Microsoft.DotNet.ILCompiler' to allow cross-compilation for x86 [D:\a\_work\1\vmr\src\scenario-tests\artifacts\obj\generatedtests\SdkTemplateTestsAot_Web_CSharp\SdkTemplateTestsAot_Web_CSharp.csproj] [D:\a\_work\1\vmr\src\scenario-tests\src\Microsoft.DotNet.ScenarioTests.SdkTemplateTests\Microsoft.DotNet.ScenarioTests.SdkTemplateTests.csproj] [D:\a\_work\1\vmr\repo-projects\scenario-tests.proj]

This one is a great example. Here we are trying to AOT publish for win-x86 on a win-x64 host. This test would need a shipping package from another vertical. But only when host != target.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant