Skip to content

[browser][MT] Wasm.Browser.Threads.Minimal sample is failing  #88057

Closed
@pavelsavara

Description

@pavelsavara

Error Blob

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=320864&view=results

{
  "ErrorMessage": "fetchelper.js was not imported yet",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}

The Wasm.Browser.Threads.Minimal sample is failing - log.

at System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunctionImpl(String , String , ReadOnlySpan`1 )
   at System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction(String functionName, String moduleName, ReadOnlySpan`1 signatures)
   at Sample.Test.FetchHelperResponseText(JSObject , Int32 )
   at Sample.Test.\u003C>c__DisplayClass24_0.\u003C\u003CFetchBackground>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Sample.Test.FetchBackground(String )
Error: Error: Assert failed: ES6 module ./fetchelper.js was not imported yet, please call JSHost.ImportAsync() first.
    at http://127.0.0.1:39189/dotnet.runtime.js:3:52310
    at Vo (http://127.0.0.1:39189/dotnet.runtime.js:3:52775)
    at do_icall (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[229]:0x211f3)
    at do_icall_wrapper (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[123]:0x1db60)
    at mono_interp_exec_method (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[116]:0x1111c)
    at interp_runtime_invoke (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[152]:0x1ebdf)
    at mono_jit_runtime_invoke (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[3044]:0xe96ed)
    at do_runtime_invoke (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[2348]:0xbe395)
    at mono_runtime_try_invoke (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[2357]:0xbedef)
    at mono_runtime_invoke (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[2384]:0xc15fe)
    at Cr (http://127.0.0.1:39189/dotnet.runtime.js:3:36672)
    at xr (http://127.0.0.1:39189/dotnet.runtime.js:3:36357)
    at do_icall (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[229]:0x210db)
    at do_icall_wrapper (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[123]:0x1db60)
    at mono_interp_exec_method (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[116]:0x1111c)
    at interp_entry (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[187]:0x2023c)
    at interp_entry_static_0 (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[208]:0x2092d)
    at wasm_native_to_interp_System_Runtime_InteropServices_JavaScript_JSSynchronizationContext_BackgroundJobHandler (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[8227]:0x204ec5)
    at mono_background_exec (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[746]:0x46fa6)
    at Ts (http://127.0.0.1:39189/dotnet.runtime.js:3:63074)

[14:26:52] info: smoke: running FetchBackground(blurst.txt)
[14:26:52] info: smoke: FetchBackground 1 ManagedThreadId:1, SynchronizationContext: System.Runtime.InteropServices.JavaScript.JSSynchronizationContext
[14:26:52] info: smoke: FetchBackground 2 ManagedThreadId:19, SynchronizationContext: System.Runtime.InteropServices.JavaScript.JSSynchronizationContext
[14:26:52] info: smoke: FetchBackground 3A ManagedThreadId:19, SynchronizationContext: System.Runtime.InteropServices.JavaScript.JSSynchronizationContext
[14:26:52] info: smoke: FetchBackground 3B ManagedThreadId:19, SynchronizationContext: System.Runtime.InteropServices.JavaScript.JSSynchronizationContext
[14:26:52] info: smoke: FetchBackground 4 ManagedThreadId:19, SynchronizationContext: System.Runtime.InteropServices.JavaScript.JSSynchronizationContext
[14:26:52] info: smoke: FetchBackground 5 ManagedThreadId:19, SynchronizationContext: System.Runtime.InteropServices.JavaScript.JSSynchronizationContext
[14:26:52] fail: [out of order message from the browser]: http://127.0.0.1:39189/dotnet.js 2:594 "MONO_WASM:    at System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunctionImpl(String , String , ReadOnlySpan`1 )\n   at System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction(String functionName, String moduleName, ReadOnlySpan`1 signatures)\n   at Sample.Test.FetchHelperResponseText(JSObject , Int32 )\n   at Sample.Test.\u003C>c__DisplayClass24_0.\u003C\u003CFetchBackground>b__0>d.MoveNext()\n--- End of stack trace from previous location ---\n   at Sample.Test.FetchBackground(String )\nError: Error: Assert failed: ES6 module ./fetchelper.js was not imported yet, please call JSHost.ImportAsync() first.\n    at http://127.0.0.1:39189/dotnet.runtime.js:3:52310\n    at Vo (http://127.0.0.1:39189/dotnet.runtime.js:3:52775)\n    at do_icall (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[229]:0x211f3)\n    at do_icall_wrapper (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[123]:0x1db60)\n    at mono_interp_exec_method (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[116]:0x1111c)\n    at interp_runtime_invoke (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[152]:0x1ebdf)\n    at mono_jit_runtime_invoke (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[3044]:0xe96ed)\n    at do_runtime_invoke (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[2348]:0xbe395)\n    at mono_runtime_try_invoke (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[2357]:0xbedef)\n    at mono_runtime_invoke (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[2384]:0xc15fe)\n    at Cr (http://127.0.0.1:39189/dotnet.runtime.js:3:36672)\n    at xr (http://127.0.0.1:39189/dotnet.runtime.js:3:36357)\n    at do_icall (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[229]:0x210db)\n    at do_icall_wrapper (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[123]:0x1db60)\n    at mono_interp_exec_method (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[116]:0x1111c)\n    at interp_entry (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[187]:0x2023c)\n    at interp_entry_static_0 (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[208]:0x2092d)\n    at wasm_native_to_interp_System_Runtime_InteropServices_JavaScript_JSSynchronizationContext_BackgroundJobHandler (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[8227]:0x204ec5)\n    at mono_background_exec (http://127.0.0.1:39189/dotnet.native.wasm:wasm-function[746]:0x46fa6)\n    at Ts (http://127.0.0.1:39189/dotnet.runtime.js:3:63074)"
[14:26:52] fail: [out of order message from the browser]: http://127.0.0.1:39189/dotnet.runtime.js 2:36671 Uncaught ManagedError: Error: Assert failed: ES6 module ./fetchelper.js w…89/dotnet.native.wasm:wasm-function[2384]:0xc15fe
[14:26:52] fail: [out of order message from the browser]: http://127.0.0.1:39189/dotnet.js 2:214 Uncaught ManagedError: Error: Assert failed: ES6 module ./fetchelper.js w…89/dotnet.native.wasm:wasm-function[2384]:0xc15fe
[14:26:52] info: http://127.0.0.1:39189/dotnet.runtime.js 2 Error: Assert failed: ES6 module ./fetchelper.js was not imported yet, please call JSHost.ImportAsync() first.

From #87996

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=320864
Result validation: ✅ Known issue matched with the provided build.

Report

Build Definition Test Pull Request
320058 dotnet/runtime Wasm.Browser.Threads.Minimal.Sample.WorkItemExecution #87916
322531 dotnet/runtime Wasm.Browser.Threads.Minimal.Sample.WorkItemExecution #87335
322295 dotnet/runtime Wasm.Browser.Threads.Minimal.Sample.WorkItemExecution #88006
322087 dotnet/runtime Wasm.Browser.Threads.Minimal.Sample.WorkItemExecution #88079
321975 dotnet/runtime Wasm.Browser.Threads.Minimal.Sample.WorkItemExecution #86047
321950 dotnet/runtime Wasm.Browser.Threads.Minimal.Sample.WorkItemExecution #87930
321661 dotnet/runtime Wasm.Browser.Threads.Minimal.Sample.WorkItemExecution #88075
321651 dotnet/runtime Wasm.Browser.Threads.Minimal.Sample.WorkItemExecution #88073
321602 dotnet/runtime Wasm.Browser.Threads.Minimal.Sample.WorkItemExecution #88026
321440 dotnet/runtime Wasm.Browser.Threads.Minimal.Sample.WorkItemExecution #88026
321338 dotnet/runtime Wasm.Browser.Threads.Minimal.Sample.WorkItemExecution #88043
321334 dotnet/runtime Wasm.Browser.Threads.Minimal.Sample.WorkItemExecution #88043
321274 dotnet/runtime Wasm.Browser.Threads.Minimal.Sample.WorkItemExecution #87993
321139 dotnet/runtime Wasm.Browser.Threads.Minimal.Sample.WorkItemExecution #88055
321101 dotnet/runtime Wasm.Browser.Threads.Minimal.Sample.WorkItemExecution #88043
320993 dotnet/runtime Wasm.Browser.Threads.Minimal.Sample.WorkItemExecution #88041
320948 dotnet/runtime Wasm.Browser.Threads.Minimal.Sample.WorkItemExecution #88047
320939 dotnet/runtime Wasm.Browser.Threads.Minimal.Sample.WorkItemExecution #87868
320864 dotnet/runtime Wasm.Browser.Threads.Minimal.Sample.WorkItemExecution #87996
320714 dotnet/runtime Wasm.Browser.Threads.Minimal.Sample.WorkItemExecution #88041
320669 dotnet/runtime Wasm.Browser.Threads.Minimal.Sample.WorkItemExecution #88040

Summary

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions