[9.0][wasm] error NETSDK1147: To build this project, the following workloads must be installed: wasm-tools
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=861525 Build error leg or test failing: wasm build
Error Message
{
"ErrorMessage" : "error NETSDK1147: To build this project, the following workloads must be installed: wasm-tools",
"BuildRetry" : false,
"ExcludeConsoleLog" : false
}
- PR: https://github.com/dotnet/runtime/pull/109563
- Log file:
- https://helixre107v0xd1eu3ibi6ka.blob.core.windows.net/dotnet-runtime-refs-pull-109563-merge-3b35c9781aba4eed96/NoWorkload-NoWebcil-ST-Wasm.Build.Tests/1/console.a41298c9.log?helixlogtype=result
- https://helixre107v0xd1eu3ibi6ka.blob.core.windows.net/dotnet-runtime-refs-pull-109563-merge-a80c8e2869cc4f5085/NoWorkload-ST-Wasm.Build.Tests/1/console.ccc38df9.log?helixlogtype=result
- Output:
[] /root/helix/work/workitem/e/dotnet-none/sdk/9.0.100-rtm.24512.1/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To build this project, the following workloads must be installed: wasm-tools [/root/helix/work/workitem/e/wbt artifacts/MemoryTests_mcalfhct_0vs/App/WasmBasicTestApp.csproj]
[] /root/helix/work/workitem/e/dotnet-none/sdk/9.0.100-rtm.24512.1/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To install these workloads, run the following command: dotnet workload restore [/root/helix/work/workitem/e/wbt artifacts/MemoryTests_mcalfhct_0vs/App/WasmBasicTestApp.csproj]
Known issue validation
Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=861525
Error message validated: [error NETSDK1147: To build this project, the following workloads must be installed: wasm-tools]
Result validation: :x: Known issue did not match with the provided build.
Validation performed at: 11/8/2024 7:48:27 PM UTC
Report
| Build | Definition | Test | Pull Request |
|---|---|---|---|
| 869678 | dotnet/runtime | Wasm.Build.Tests.Blazor.BuildPublishTests.DefaultTemplate_WithoutWorkload | dotnet/runtime#109069 |
| 868168 | dotnet/runtime | Wasm.Build.Tests.Blazor.BuildPublishTests.DefaultTemplate_WithoutWorkload | dotnet/runtime#109069 |
| 867435 | dotnet/runtime | NoWorkload-NoWebcil-ST-Wasm.Build.Tests.WorkItemExecution | dotnet/runtime#109723 |
| 867147 | dotnet/runtime | Wasm.Build.Tests.NonWasmTemplateBuildTests.NonWasmConsoleBuild_WithoutWorkload | dotnet/runtime#109707 |
| 866011 | dotnet/runtime | Wasm.Build.Tests.NonWasmTemplateBuildTests.NonWasmConsoleBuild_WithoutWorkload | dotnet/runtime#109221 |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 1 | 5 | 5 |
Tagging subscribers to 'arch-wasm': @lewing See info in area-owners.md if you want to be subscribed.
Tagging subscribers to this area: @akoeplinger, @matouskozak See info in area-owners.md if you want to be subscribed.
Hit again in https://github.com/dotnet/runtime/pull/116459.
Details: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1064009&view=ms.vss-test-web.build-test-results-tab&runId=28743132&resultId=100010&paneView=dotnet-dnceng.dnceng-build-release-tasks.helix-test-information-tab
Console log: https://helixr1107v0xd1eu3ibi6ka.blob.core.windows.net/dotnet-runtime-refs-pull-116459-merge-42187beb0ff3464ca2/NoWorkload-ST-Wasm.Build.Tests/1/console.d1a8b528.log?skoid=8eda00af-b5ec-4be9-b69b-0919a2338892&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2025-06-11T01%3A51%3A04Z&ske=2025-06-11T02%3A51%3A04Z&sks=b&skv=2024-11-04&sv=2024-11-04&st=2025-06-11T01%3A51%3A04Z&se=2025-06-11T02%3A51%3A04Z&sr=c&sp=r&sig=MThp2J42pE9vMFNMjMgK5lIm%2BCRW1MrBKVsZxgZhDTU%3D
This is probably just failing during releases at this point, when the workload state is inconsistent. If that is the case, we can't do anything about it here.
I see this also on main branch (Net11)