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

Builds are failing on win-x64 Release because of a test failure #128

Open
ViktorHofer opened this issue Nov 19, 2024 · 0 comments
Open

Builds are failing on win-x64 Release because of a test failure #128

ViktorHofer opened this issue Nov 19, 2024 · 0 comments

Comments

@ViktorHofer
Copy link
Member

ViktorHofer commented Nov 19, 2024

  Determining projects to restore...
  Restored D:\a\1\s\src\Microsoft.DotNet.ScenarioTests.SdkTemplateTests\Microsoft.DotNet.ScenarioTests.SdkTemplateTests.csproj (in 907 ms).
  Microsoft.DotNet.ScenarioTests.SdkTemplateTests -> D:\a\1\s\artifacts\bin\Microsoft.DotNet.ScenarioTests.SdkTemplateTests\Release\net9.0\Microsoft.DotNet.ScenarioTests.SdkTemplateTests.dll
  Test environment:
    Dotnet Root: D:\a\1\s\.dotnet
    Test root: D:\a\1\s\artifacts\obj\generatedtests/
    Target RID: win-x64
    Sdk Version: 9.0.100
    Platform: WINDOWS
  Unhandled exception. System.Exception: wasm-tools shouldn't be installed but was found.
     at Microsoft.DotNet.ScenarioTests.SdkTemplateTests.DotNetSdkHelper.<>c__DisplayClass27_1.<ExecuteWorkloadList>b__1(Object sender, DataReceivedEventArgs e) in /_/src/Microsoft.DotNet.ScenarioTests.SdkTemplateTests/DotNetSdkHelper.cs:line 311
     at System.Diagnostics.AsyncStreamReader.FlushMessageQueue(Boolean rethrowInNewThread)
  --- End of stack trace from previous location ---
     at System.Threading.ThreadPoolWorkQueue.Dispatch()
     at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
D:\a\1\s\src\Directory.Build.targets(61,5): error MSB3073: The command ""D:\a\1\s\.dotnet\dotnet.exe" "D:\a\1\s\artifacts\bin\Microsoft.DotNet.ScenarioTests.SdkTemplateTests\Release\net9.0\Microsoft.DotNet.ScenarioTests.SdkTemplateTests.dll" --dotnet-root "D:\a\1\s\.dotnet" --sdk-version 9.0.100 --test-root "D:\a\1\s\artifacts\obj\generatedtests/" " exited with code -532462766. [D:\a\1\s\src\Microsoft.DotNet.ScenarioTests.SdkTemplateTests\Microsoft.DotNet.ScenarioTests.SdkTemplateTests.csproj]
##[error]src\Directory.Build.targets(61,5): error MSB3073: (NETCORE_ENGINEERING_TELEMETRY=Build) The command ""D:\a\1\s\.dotnet\dotnet.exe" "D:\a\1\s\artifacts\bin\Microsoft.DotNet.ScenarioTests.SdkTemplateTests\Release\net9.0\Microsoft.DotNet.ScenarioTests.SdkTemplateTests.dll" --dotnet-root "D:\a\1\s\.dotnet" --sdk-version 9.0.100 --test-root "D:\a\1\s\artifacts\obj\generatedtests/" " exited with code -532462766.

That comes from here:

throw new Exception($"{workloadIds} shouldn't be installed but was found.");

This started happening after #121 got merged in (SDK bumped to 9.0.0). Unfortunately non-deterministically which is why the original PR was green.

cc @mmitche @akoeplinger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant