Skip to content

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

Open
@carlossanlop

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 Definition Test Pull Request
1027035 dotnet/runtime Workloads-Wasm.Build.Tests.NativeBuildTests.WorkItemExecution
1025805 dotnet/runtime Workloads-NoWebcil-Wasm.Build.Tests.Blazor.NativeTests.WorkItemExecution
1025622 dotnet/runtime Workloads-NoWebcil-Wasm.Build.Tests.NativeBuildTests.WorkItemExecution
1024154 dotnet/runtime Wasm.Build.Tests.Blazor.NativeTests.BlazorWasm_CanRunMonoAOTCross_WithNoTrimming
1022791 dotnet/runtime Wasm.Build.Tests.Blazor.NativeTests.BlazorWasm_CanRunMonoAOTCross_WithNoTrimming #114904
1017239 dotnet/runtime Workloads-NoWebcil-Wasm.Build.Tests.NativeBuildTests.WorkItemExecution #114668
1017251 dotnet/runtime Workloads-NoWebcil-Wasm.Build.Tests.Blazor.NativeTests.WorkItemExecution
1017223 dotnet/runtime Workloads-Wasm.Build.Tests.Blazor.NativeTests.WorkItemExecution
1016462 dotnet/runtime Workloads-NoWebcil-Wasm.Build.Tests.Blazor.NativeTests.WorkItemExecution #114668
1016391 dotnet/runtime Workloads-Wasm.Build.Tests.NativeBuildTests.WorkItemExecution
1016321 dotnet/runtime Wasm.Build.Tests.Blazor.NativeTests.BlazorWasm_CanRunMonoAOTCross_WithNoTrimming #114661
1016081 dotnet/runtime Workloads-NoWebcil-Wasm.Build.Tests.NativeBuildTests.WorkItemExecution
1016078 dotnet/runtime Workloads-NoWebcil-Wasm.Build.Tests.NativeBuildTests.WorkItemExecution
1015399 dotnet/runtime Workloads-NoWebcil-Wasm.Build.Tests.Blazor.MiscTests.WorkItemExecution #114454

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 3 14

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarea-Build-monoos-browserBrowser variant of arch-wasmos-linuxLinux OS (any supported distro)untriagedNew issue has not been triaged by the area ownerwasm-aot-testWebAssembly AOT Test

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions