Skip to content

[8.0][wasm] DefaultTemplate_AOT_InProjectFile test failure - aot-instances.dll precompiling failed with exit 137 #114653

Description

@carlossanlop

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1015399
Build error leg or test failing: Wasm.Build.Tests.Blazor.MiscTests.DefaultTemplate_AOT_InProjectFile(config: "Debug")

Error Message

{
  "ErrorMessage" : "aot-instances.dll with exit code 137.",
  "BuildRetry" : false,
  "ExcludeConsoleLog" : false
}
artifacts/blz_aot_prj_file_Debug_xirbyj0z_qhx/obj/Debug/net8.0/wasm/for-publish/aot-in/aot-instances.dll"
      []   
      [] /root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.16/Sdk/WasmApp.Native.targets(686,5): error : Precompiling failed for /root/helix/work/workitem/e/wbt artifacts/blz_aot_prj_file_Debug_xirbyj0z_qhx/obj/Debug/net8.0/wasm/for-publish/aot-in/aot-instances.dll with exit code 137. [/root/helix/work/workitem/e/wbt artifacts/blz_aot_prj_file_Debug_xirbyj0z_qhx/blz_aot_prj_file_Debug_xirbyj0z_qhx.csproj]
      [] /root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.16/Sdk/WasmApp.Native.targets(686,5): error :  [/root/helix/work/workitem/e/wbt artifacts/blz_aot_prj_file_Debug_xirbyj0z_qhx/blz_aot_prj_file_Debug_xirbyj0z_qhx.csproj]
      
      Stack Trace:
        /_/src/mono/wasm/Wasm.Build.Tests/Common/CommandResult.cs(44,0): at Wasm.Build.Tests.CommandResult.EnsureExitCode(Int32 expectedExitCode, String messagePrefix, Boolean suppressOutput)
        /_/src/mono/wasm/Wasm.Build.Tests/Common/CommandResult.cs(28,0): at Wasm.Build.Tests.CommandResult.EnsureSuccessful(String messagePrefix, Boolean suppressOutput)
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(165,0): at Wasm.Build.Tests.BuildTestBase.BuildProjectWithoutAssert(String id, String config, BuildProjectOptions buildProjectOptions, String[] extraArgs)
        /_/src/mono/wasm/Wasm.Build.Tests/Blazor/BlazorWasmTestBase.cs(98,0): at Wasm.Build.Tests.BlazorWasmTestBase.BlazorBuildInternal(String id, String config, Boolean publish, Boolean setWasmDevel, Boolean expectSuccess, String[] extraArgs)
        /_/src/mono/wasm/Wasm.Build.Tests/Blazor/BlazorWasmTestBase.cs(74,0): at Wasm.Build.Tests.BlazorWasmTestBase.BlazorPublish(BlazorBuildOptions options, String[] extraArgs)
        /_/src/mono/wasm/Wasm.Build.Tests/Blazor/MiscTests.cs(73,0): at Wasm.Build.Tests.Blazor.MiscTests.DefaultTemplate_AOT_InProjectFile(String config)
           at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
           at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1015399
Error message validated: [aot-instances.dll with exit code 137.]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 4/14/2025 8:02:51 PM UTC

Report

Build Repository Test Pull Request
1561283 dotnet/runtime Microsoft.NETCore.Platforms.Tests.WorkItemExecution
1552139 dotnet/runtime System.Diagnostics.StackTrace.Tests.WorkItemExecution
1551205 dotnet/runtime System.Formats.Asn1.Tests.WorkItemExecution
1551216 dotnet/runtime System.Runtime.Tests.WorkItemExecution #132255
1550103 dotnet/runtime System.IO.FileSystem.Tests.WorkItemExecution
1550470 dotnet/runtime System.Runtime.Tests.WorkItemExecution #132160
1549807 dotnet/runtime System.Globalization.CalendarsWithConfigSwitch.Tests.WorkItemExecution
1548190 dotnet/runtime System.IO.Compression.Brotli.Tests.WorkItemExecution
1546722 dotnet/runtime System.Composition.Runtime.Tests.WorkItemExecution
1546713 dotnet/runtime System.Diagnostics.DiagnosticSource.Switches.Tests.WorkItemExecution
1542613 dotnet/runtime System.Composition.Hosting.Tests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 1 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarch-wasmWebAssembly architecturearea-Build-monoos-browserBrowser variant of arch-wasmos-linuxLinux OS (any supported distro)wasm-aot-testWebAssembly AOT Test

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions