Skip to content

BlazorWasm_CannotAOT_InDebug test failure #125244

@sbomer

Description

@sbomer

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1320821
Build error leg or test failing: Wasm.Build.Tests.Blazor.BuildPublishTests.BlazorWasm_CannotAOT_InDebug(config: Debug)
Pull request: #125190

Error Message

Replacing dotnet process output with messages from binlog
    Wasm.Build.Tests.Blazor.BuildPublishTests.BlazorWasm_CannotAOT_InDebug(config: Debug) [FAIL]
      Assert.Contains() Failure: Sub-string not found
      String:    "Property reassignment: $(MSBuildProjectEx"···
      Not found: "AOT is not supported in debug configurati"···
      Stack Trace:
        /_/src/mono/wasm/Wasm.Build.Tests/Blazor/BuildPublishTests.cs(148,0): at Wasm.Build.Tests.Blazor.BuildPublishTests.BlazorWasm_CannotAOT_InDebug(Configuration config)
           at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
           at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
      Output:
        
        ** -------- publish -------- **
        
        Binlog path: /root/helix/work/workitem/uploads/xharness-output/logs/blazorwasm_Debug_True_luwbcve3_g5k_鿀蜒枛遫䡫煉/BlazorBasicTestApp-publish.binlog
        [] Executing (Captured Output) - /root/helix/work/workitem/e/dotnet-latest/dotnet publish -bl:/root/helix/work/workitem/uploads/xharness-output/logs/blazorwasm_Debug_True_luwbcve3_g5k_鿀蜒枛遫䡫煉/BlazorBasicTestApp-publish.binlog -p:Configuration=Debug -nr:false -p:CompressionEnabled=false -p:WasmEnableHotReload=false   -  in pwd /root/helix/work/workitem/e/wbt artifacts/blazorwasm_Debug_True_luwbcve3_g5k_鿀蜒枛遫䡫煉/App
        	[DOTNET_ROOT] = /root/helix/work/workitem/e/dotnet-latest
        	[DOTNET_INSTALL_DIR] = /root/helix/work/workitem/e/dotnet-latest
        	[DOTNET_SKIP_FIRST_TIME_EXPERIENCE] = 1
        	[PATH] = /root/helix/work/workitem/e/dotnet-latest:/__w/1/s/artifacts/bin/geckodriver/geckodriver:/root/helix/work/correlation/dotnet-latest:/root/helix/work/correlation/xharness-cli:/root/helix/work/correlation/dotnet-cli:/root/helix/work/correlation/chrome-linux:/root/helix/work/correlation/chromedriver_linux64:/home/helixbot/.vsts-env/bin:/home/helixbot/.jsvu/bin:/home/helixbot/.vsts-env/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
        	[EM_WORKAROUND_PYTHON_BUG_34780] = 1
        	[NUGET_PACKAGES] = /root/helix/work/workitem/e/wbt artifacts/nuget/blazorwasm_Debug_True_luwbcve3_g5k_鿀蜒枛遫䡫煉
        	[TreatPreviousAsCurrent] = false
        []   Determining projects to restore...
        []   Restored /root/helix/work/workitem/e/wbt artifacts/blazorwasm_Debug_True_luwbcve3_g5k_鿀蜒枛遫䡫煉/App/BlazorBasicTestApp.csproj (in 1.66 sec).
        [] /root/helix/work/workitem/e/dotnet-latest/sdk/11.0.100-preview.3.26124.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(383,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/root/helix/work/workitem/e/wbt artifacts/blazorwasm_Debug_True_luwbcve3_g5k_鿀蜒枛遫䡫煉/App/BlazorBasicTestApp.csproj]
        []   BlazorBasicTestApp -> /root/helix/work/workitem/e/wbt artifacts/blazorwasm_Debug_True_luwbcve3_g5k_鿀蜒枛遫䡫煉/App/bin/Debug/net11.0/BlazorBasicTestApp.dll
        []   BlazorBasicTestApp (Blazor output) -> /root/helix/work/workitem/e/wbt artifacts/blazorwasm_Debug_True_luwbcve3_g5k_鿀蜒枛遫䡫煉/App/bin/Debug/net11.0/wwwroot
        []   ** MicrosoftNetCoreAppRuntimePackDir : '/root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/11.0.0-ci'
        []   Optimizing assemblies for size may change the behavior of the app. Be sure to test after publishing. See: https://aka.ms/dotnet-illink
        []   Optimizing assemblies for size. This process might take a while.
        Replacing dotnet process output with messages from binlog
    Wasm.Build.Tests.Blazor.BuildPublishTests.BlazorWasm_CannotAOT_InDebug(config: Debug) [FINISHED] Time: 54.9376157s
    Wasm.Build.Tests.Blazor.BuildPublishTests.DefaultTemplate_NoAOT_WithWorkload(config: Debug, testUnicode: False) [STARTING]

** -------- publish -------- **

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "BlazorWasm_CannotAOT_InDebug",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1320821
Error message validated: [BlazorWasm_CannotAOT_InDebug]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 3/5/2026 10:17:47 PM UTC

Report

Build Definition Test Pull Request
1323909 dotnet/runtime WBT-Workloads-MONO-ST-Wasm.Build.Tests.Blazor.BuildPublishTests.WorkItemExecution #124923
1320821 dotnet/runtime Wasm.Build.Tests.Blazor.BuildPublishTests.DefaultTemplate_NoAOT_WithWorkload #125190

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
1 2 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarea-VM-meta-monoblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'untriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions