dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.42k stars 4.75k forks source link

[Wasm][Test Failure] ConsolePublishAndRun(config: "Release", aot: True, relinking: False) #106162

Open CarnaViire opened 3 months ago

CarnaViire commented 3 months ago

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=842042 Build error leg or test failing: Wasm.Build.Tests.WasmTemplateTests.ConsolePublishAndRun

Error Message

{
  "ErrorMessage" : "Wasm.Build.Tests.WasmTemplateTests.ConsolePublishAndRun(config: \"Release\", aot: True, relinking: False) [FAIL]",
  "BuildRetry" : false,
  "ExcludeConsoleLog" : false
}

Report

Build Definition Test Pull Request
875981 dotnet/runtime Workloads-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109523
873700 dotnet/runtime Workloads-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109523
871026 dotnet/runtime Workloads-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution
869949 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109825
869426 dotnet/runtime Workloads-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109523
869423 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109298
867737 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109723
867708 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109297
867695 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109308
867435 dotnet/runtime Workloads-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109723
864120 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109316
866998 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109709
866991 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109708
866682 dotnet/runtime Workloads-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution
866579 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109306
866030 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109299
860156 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109510
865644 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109305
864887 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109646
864878 dotnet/runtime Workloads-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109298
864879 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109523
864731 dotnet/runtime Workloads-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109299
864719 dotnet/runtime Workloads-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109305
864134 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution
863600 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109299
863052 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution
862098 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109523
862101 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109298
861694 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109316
861636 dotnet/runtime Workloads-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109298
861633 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109523
861525 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109563
861443 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109556
861257 dotnet/runtime Workloads-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109297
861241 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109308
861247 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109305
860961 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#108877
860550 dotnet/runtime Workloads-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109523
860548 dotnet/runtime Workloads-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109298
860529 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution
860421 dotnet/runtime Workloads-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109316
858481 dotnet/runtime Workloads-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109305
857790 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109291
857595 dotnet/runtime Workloads-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109308
857598 dotnet/runtime Workloads-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109299
856798 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109374
856174 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109364
855899 dotnet/runtime Workloads-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109316
855452 dotnet/runtime Workloads-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109336
855040 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution
854867 dotnet/runtime Workloads-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109308
854853 dotnet/runtime Workloads-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109306
854844 dotnet/runtime Workloads-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109305
854838 dotnet/runtime Workloads-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109303
854835 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109301
854825 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109298
854829 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109300
854822 dotnet/runtime Workloads-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109297
854717 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution
854255 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution dotnet/runtime#109147

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 2 60
dotnet-policy-service[bot] commented 3 months ago

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas See info in area-owners.md if you want to be subscribed.

mkhamoyan commented 1 month ago

cc @lewing

carlossanlop commented 1 month ago

Updated the error message to capture more hits. Also linked a new build as the original one is already gone.

Example:

https://helixre107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-pull-108765-merge-422f1af29bad4418b8/NoWebcil-ST-Wasm.Build.Tests.WasmTemplateTests/1/console.5f4b0de8.log?helixlogtype=result

[Release_was00fgf_osm] [MONO] AOT: FOUND method (wrapper managed-to-native) Interop/Runtime:BindAssemblyExports (intptr) [0x21fd - 0x21fe 0x41030]
    Wasm.Build.Tests.WasmTemplateTests.ConsolePublishAndRun(config: "Release", aot: True, relinking: False) [FAIL]
      Assert.Contains() Failure: Sub-string not found
      String:    "[Release_was00fgf_osm] ]9;4;3;\\[?25l["���
      Not found: "AOT: image 'Release_was00fgf_osm' found"
      Stack Trace:
        /_/src/mono/wasm/Wasm.Build.Tests/Templates/WasmTemplateTests.cs(383,0): at Wasm.Build.Tests.WasmTemplateTests.ConsolePublishAndRun(String config, Boolean aot, Boolean relinking)
           at InvokeStub_WasmTemplateTests.ConsolePublishAndRun(Object, Span`1)
           at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
      Output:
        [] Executing (Captured Output) - C:\helix\work\workitem\e\dotnet-latest\dotnet.exe new wasmconsole  -  in pwd C:\helix\work\workitem\e\wbt artifacts\Release_was00fgf_osm
        [] The template "WebAssembly Console App" was created successfully.
        []