dotnet / runtime

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

[browser][MT] various WebWorkerTest CI failures #96628

Closed stephentoub closed 8 months ago

stephentoub commented 9 months ago

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=517510 Build error leg or test failing: System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.ManagedDelay_ConfigureAwait_True Pull request: https://github.com/dotnet/runtime/pull/96605

Error Message

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

{
  "ErrorMessage": "[FAIL] System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Report

Build Definition Test Pull Request
559500 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97738
559336 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97365
558354 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#98147
550939 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97640
550368 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97845
549714 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97537
549619 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97764
549571 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97216
549423 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97640
549385 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97669
549274 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97508
546114 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97052
546109 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97052
545819 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#92279
545808 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97052
540861 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97441
540125 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97441
536248 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97270
535009 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97270
534977 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97270
534584 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96315
534325 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97249
534064 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97177
534079 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96707
533666 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97227
533707 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#95370
533717 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96805
533539 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97052
533491 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97216
533333 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97210
533056 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97099
533028 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96354
533008 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution
532966 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97167
532960 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97196
532949 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97195
532443 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#94684
532452 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution
532326 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#95758
531906 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97152
531914 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96841
531658 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96807
531484 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97114
531400 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96805
531250 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97090
530804 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97107
530614 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96806
530552 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#95370
530214 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97099
530258 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96896
529968 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#95370
529460 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96814
529156 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution
529033 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96814
528720 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#95370
528662 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96445
528375 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#97021
527889 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#94764
527514 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96445
527398 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#95904
527177 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96969
527171 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96894
527048 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96961
526876 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution
526254 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#95904
526224 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96940
525405 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96903
525236 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96445
525169 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96895
524829 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96315
524464 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96805
524168 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96805
524193 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96858
524147 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96856
523904 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#96618
523551 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution dotnet/runtime#95370

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
2 4 76
ghost commented 9 months ago

Tagging subscribers to 'arch-wasm': @lewing See info in area-owners.md if you want to be subscribed.

Issue Details
## Build Information Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=517510 Build error leg or test failing: System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.ManagedDelay_ConfigureAwait_True Pull request: https://github.com/dotnet/runtime/pull/96605 ## Error Message Fill the error message using [step by step known issues guidance](https://github.com/dotnet/arcade/blob/main/Documentation/Projects/Build%20Analysis/KnownIssues.md#how-to-fill-out-a-known-issue-error-section). ```json { "ErrorMessage": "ManagedDelay_ConfigureAwait_True", "ErrorPattern": "", "BuildRetry": false, "ExcludeConsoleLog": false } ```
Author: stephentoub
Assignees: -
Labels: `arch-wasm`, `blocking-clean-ci`, `Known Build Error`
Milestone: -
stephentoub commented 9 months ago

Log

[FAIL] System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.ManagedDelay_ConfigureAwait_True(executor: NewThread)
[15:41:23] info: System.AggregateException : One or more errors occurred. (Assert.NotEqual() Failure: Values are equal
[15:41:23] info: Expected: Not 242
[15:41:23] info: Actual:       242)
[15:41:23] info: ---- Assert.NotEqual() Failure: Values are equal
[15:41:23] info: Expected: Not 242
[15:41:23] info: Actual:       242
[15:41:23] info:    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean )
[15:41:23] info:    at System.Threading.Tasks.Task.Wait(Int32 , CancellationToken )
[15:41:23] info:    at System.Threading.Tasks.Task.Wait()
[15:41:23] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTestHelper.<>c__DisplayClass11_0.<RunOnNewThread>b__0()
[15:41:23] info: --- End of stack trace from previous location ---
[15:41:23] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.ManagedDelay_ConfigureAwait_True(Executor executor)
[15:41:23] info: --- End of stack trace from previous location ---
[15:41:23] info: ----- Inner Stack Trace -----
[15:41:23] info:    at System.Runtime.InteropServices.JavaScript.Tests.Executor.AssertAwaitCapturedContext()
[15:41:23] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.<>c__DisplayClass10_0.<<ManagedDelay_ConfigureAwait_True>b__0>d.MoveNext()
radical commented 9 months ago

cc @pavelsavara

pavelsavara commented 9 months ago

thanks

pavelsavara commented 9 months ago

Log Build

[13:37:59] info: [2024-01-13T13:37:59.624Z] [FAIL] System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.JSSynchronizationContext_Send_Post_Items_Cancellation
[13:37:59] info: System.OperationCanceledException : The operation was canceled.
[13:37:59] info:    at System.Runtime.InteropServices.JavaScript.JSSynchronizationContext.Post(SendOrPostCallback , Object )
[13:37:59] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.<>c__DisplayClass6_0.<JSSynchronizationContext_Send_Post_Items_Cancellation>b__2()
[13:37:59] info:    at System.Threading.Tasks.Task`1[[System.Threading.Tasks.Task, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].InnerInvoke()
[13:37:59] info:    at System.Threading.Tasks.Task.<>c.<.cctor>b__281_0(Object obj)
[13:37:59] info:    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread , ExecutionContext , ContextCallback , Object )
[13:37:59] info: --- End of stack trace from previous location ---
[13:37:59] info:    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread , ExecutionContext , ContextCallback , Object )
[13:37:59] info:    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& , Thread )
[13:37:59] info: --- End of stack trace from previous location ---
[13:37:59] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.JSSynchronizationContext_Send_Post_Items_Cancellation()
[13:37:59] info: --- End of stack trace from previous location ---
[13:37:59] info: JS Hello from ManagedThreadId: 1 NativeThreadId: 902860

Log Build

[12:59:53] info: [2024-01-13T12:59:53.837Z] [FAIL] System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.JSSynchronizationContext_Send_Post_Items_Cancellation
[12:59:53] info: System.OperationCanceledException : The operation was canceled.
[12:59:53] info:    at System.Runtime.InteropServices.JavaScript.JSSynchronizationContext.Post(SendOrPostCallback , Object )
[12:59:53] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.<>c__DisplayClass6_0.<JSSynchronizationContext_Send_Post_Items_Cancellation>b__2()
[12:59:53] info:    at System.Threading.Tasks.Task`1[[System.Threading.Tasks.Task, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].InnerInvoke()
[12:59:53] info:    at System.Threading.Tasks.Task.<>c.<.cctor>b__281_0(Object obj)
[12:59:53] info:    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread , ExecutionContext , ContextCallback , Object )
[12:59:53] info: --- End of stack trace from previous location ---
[12:59:53] info:    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread , ExecutionContext , ContextCallback , Object )
[12:59:53] info:    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& , Thread )
[12:59:53] info: --- End of stack trace from previous location ---
[12:59:53] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.JSSynchronizationContext_Send_Post_Items_Cancellation()
[12:59:53] info: --- End of stack trace from previous location ---

Log Build

[18:06:19] info: [0x4c50040-worker] MONO_WASM [0x4c50040-worker]: forceDisposeProxies done: 2 imports, 0 exports, 1 GCHandles, 0 JSHandles.
[18:06:19] info: [2024-01-12T18:06:19.712Z] [FAIL] System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.ThreadingTimer(executor: ThreadPool)
[18:06:19] info: Assert.True() Failure
[18:06:19] info: Expected: True
[18:06:19] info: Actual:   False
[18:06:19] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.ThreadingTimer(Executor executor)
[18:06:19] info: --- End of stack trace from previous location ---

Log Build

[14:50:34] info: [2024-01-12T14:50:34.857Z] [FAIL] System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.ThreadingTimer(executor: ThreadPool)
[14:50:34] info: Assert.True() Failure
[14:50:34] info: Expected: True
[14:50:34] info: Actual:   False
[14:50:34] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.ThreadingTimer(Executor executor)
[14:50:34] info: --- End of stack trace from previous location ---

Log Build

[14:26:25] info: [2024-01-12T14:26:25.698Z] [FAIL] System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.JSObject_CapturesAffinity(executor1: JSWebWorker, executor2: Main)
[14:26:25] info: System.OperationCanceledException : The operation was canceled.
[14:26:25] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.<ActionsInDifferentThreads>d__20`1[[System.Runtime.InteropServices.JavaScript.JSObject, System.Runtime.InteropServices.JavaScript, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext()
[14:26:25] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.JSObject_CapturesAffinity(Executor executor1, Executor executor2)
[14:26:25] info: --- End of stack trace from previous location ---
[14:26:25] info: [0x4620000-worker] MONO_WASM [0x4620000-worker]: forceDisposeProxies done: 4 imports, 0 exports, 0 GCHandles, 0 JSHandles.
pavelsavara commented 9 months ago

Log Build

[20:00:27] warn: [2024-01-11T20:00:27.311Z] [ERROR] FATAL UNHANDLED EXCEPTION: System.OperationCanceledException: The operation was canceled.
[20:00:27] warn:    at System.Runtime.InteropServices.JavaScript.JSSynchronizationContext.Post(SendOrPostCallback , Object )
[20:00:27] warn:    at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation.PostAction(Object state)
[20:00:27] warn:    at System.Threading.Tasks.AwaitTaskContinuation.RunCallback(ContextCallback , Object , Task& )
[20:00:27] warn: --- End of stack trace from previous location ---
[20:00:27] warn:    at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
[20:00:27] warn:    at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi)
[20:00:27] warn:    at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[QueueUserWorkItemCallback](ExecutionContext , Action`1 , QueueUserWorkItemCallback& )
[20:00:27] warn:    at System.Threading.QueueUserWorkItemCallback.Execute()
[20:00:27] warn:    at System.Threading.ThreadPoolWorkQueue.Dispatch()
[20:00:27] warn:    at System.Threading.PortableThreadPool.WorkerThread.WorkLoopSemaphoreSuccess(LowLevelLifoAsyncWaitSemaphore semaphore, Object stateObject)
[20:00:27] warn:    at System.Threading.LowLevelLifoAsyncWaitSemaphore.InternalAsyncWaitSuccess(LowLevelLifoAsyncWaitSemaphore , WaitEntry )
[20:00:27] warn:    at System.Threading.LowLevelLifoAsyncWaitSemaphore.SuccessCallback(IntPtr lifoSemaphore, IntPtr userData)
[20:00:27] info: [0x4890000-worker] MONO_WASM [0x4890000-worker]: forceDisposeProxies done: 2 imports, 0 exports, 0 GCHandles, 0 JSHandles.
[20:00:27] info: [2024-01-11T20:00:27.693Z] [FAIL] System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.NativeThreadId(executor: JSWebWorker)
[20:00:27] info: System.OperationCanceledException : The operation was canceled.
[20:00:27] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.NativeThreadId(Executor executor)
[20:00:27] info: --- End of stack trace from previous location ---
[20:00:32] info: STATE CUE CARD: (? means a positive number, usually 1 or 2, * means any number)
[20:00:32] info:    0x0 - starting (GOOD, unless the thread is running managed code)
[20:00:32] info:    0x1 - detached (GOOD, unless the thread is running managed code)
[20:00:32] info:    0x2 - running (BAD, unless it's the gc thread)
[20:00:32] info:    0x?03   - async suspended (GOOD)
[20:00:32] info:    0x?04   - self suspended (GOOD)
[20:00:32] info:    0x?05   - async suspend requested (BAD)
[20:00:32] info:    0x6 - blocking (BAD, unless there's no suspend initiator)
[20:00:32] info:    0x?07   - blocking async suspended (GOOD)
[20:00:32] info:    0x?08   - blocking self suspended (GOOD)
[20:00:32] info:    0x?09   - blocking suspend requested (GOOD in coop; BAD in hybrid)
[20:00:32] info: --thread 0xa93fc0 id 0xdc5ec [0] state 109
[20:00:32] info: --thread 0x1ed8750 id 0x1edb5c0 [0] state 6
[20:00:32] info: --thread 0x20f3ec8 id 0x2157128 [0] state 109
[20:00:32] info: --thread 0x235d668 id 0x2460040 [0] state 108
[20:00:32] info: --thread 0x2b0fa68 id 0x2b1a038 [0] state 105
[20:00:32] info: --thread 0x325c9d8 id 0x326f0d0 [0] state 109
[20:00:32] info: --thread 0x360bac0 id 0x3617c78 [0] state 108
[20:00:32] info: --thread 0x3958368 id 0x3b3c3e8 [0] state 109
[20:00:32] info: --thread 0x45b9160 id 0x45ef460 [0] state 109
[20:00:32] info: --thread 0x4552258 id 0x4890000 [0] state 2  GC INITIATOR
[20:00:32] info: --thread 0x51c5738 id 0x53c0040 [0] state 104
[20:00:32] info: WAITING for 2 threads, got 1 suspended
[20:00:32] fail: [0x4890000-worker] Error: [MONO] /__w/1/s/src/mono/mono/utils/mono-threads.c:330 <disabled>
                     at Rt (http://127.0.0.1:36983/_framework/dotnet.runtime.js:3:13935)
                     at md (http://127.0.0.1:36983/_framework/dotnet.runtime.js:3:211225)
                     at http://127.0.0.1:36983/_framework/dotnet.native.wasm:wasm-function[9144]:0x235edb
                     at http://127.0.0.1:36983/_framework/dotnet.native.wasm:wasm-function[804]:0x43878
                     at http://127.0.0.1:36983/_framework/dotnet.native.wasm:wasm-function[722]:0x41bf7
                     at http://127.0.0.1:36983/_framework/dotnet.native.wasm:wasm-function[724]:0x41cba
                     at http://127.0.0.1:36983/_framework/dotnet.native.wasm:wasm-function[725]:0x41ced
                     at http://127.0.0.1:36983/_framework/dotnet.native.wasm:wasm-function[897]:0x4709b
                     at http://127.0.0.1:36983/_framework/dotnet.native.wasm:wasm-function[3503]:0x100084
                     at http://127.0.0.1:36983/_framework/dotnet.native.wasm:wasm-function[1033]:0x4c112
[20:30:07] fail: Tests timed out. Killing driver service pid 78
[20:30:07] fail: Application has finished with exit code TIMED_OUT but 0 was expected

Log Build

[20:11:04] info: [2024-01-11T20:11:04.844Z] [FAIL] System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.JSObject_CapturesAffinity(executor1: JSWebWorker, executor2: JSWebWorker)
[20:11:04] info: System.OperationCanceledException : The operation was canceled.
[20:11:04] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.<ActionsInDifferentThreads>d__20`1[[System.Runtime.InteropServices.JavaScript.JSObject, System.Runtime.InteropServices.JavaScript, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext()
[20:11:04] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.JSObject_CapturesAffinity(Executor executor1, Executor executor2)
[20:11:04] info: --- End of stack trace from previous location ---

Log Build

[19:44:25] info: [0x4b1a5e8-worker] MONO_WASM [0x4b1a5e8-worker]: forceDisposeProxies done: 3 imports, 0 exports, 0 GCHandles, 0 JSHandles.
[19:44:26] info: [2024-01-11T19:44:26.079Z] [FAIL] System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.JSObject_CapturesAffinity(executor1: JSWebWorker, executor2: NewThread)
[19:44:26] info: System.OperationCanceledException : The operation was canceled.
[19:44:26] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.<ActionsInDifferentThreads>d__20`1[[System.Runtime.InteropServices.JavaScript.JSObject, System.Runtime.InteropServices.JavaScript, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext()
[19:44:26] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.JSObject_CapturesAffinity(Executor executor1, Executor executor2)
[19:44:26] info: --- End of stack trace from previous location ---
[19:44:26] info: [0x5130040-worker] MONO_WASM [0x5130040-worker]: forceDisposeProxies done: 0 imports, 0 exports, 0 GCHandles, 0 JSHandles.
[19:44:26] info: [0x4604040-worker] MONO_WASM [0x4604040-worker]: forceDisposeProxies done: 4 imports, 0 exports, 0 GCHandles, 0 JSHandles.
pavelsavara commented 9 months ago

Log Build

[04:23:41] info: [2024-01-15T04:23:41.398Z] [FAIL] System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.ThreadingTimer(executor: ThreadPool)
[04:23:41] info: Assert.True() Failure
[04:23:41] info: Expected: True
[04:23:41] info: Actual:   False
[04:23:41] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.ThreadingTimer(Executor executor)
[04:23:41] info: --- End of stack trace from previous location ---
[04:23:48] info: [2024-01-15T04:23:48.486Z] [FAIL] System.Runtime.InteropServices.JavaScript.Tests.JSImportExportTest.JsImportTaskEchoPendingException
[04:23:48] info: Assert.True() Failure
[04:23:48] info: Expected: True
[04:23:48] info: Actual:   False
[04:23:48] info:    at System.Runtime.InteropServices.JavaScript.Tests.JSImportExportTest.JsImportTaskEchoPendingException()
[04:23:48] info: --- End of stack trace from previous location ---

Log Build

[20:42:22] info: [2024-01-14T20:42:22.044Z] [FAIL] System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.JSSynchronizationContext_Send_Post_Items_Cancellation
[20:42:22] info: System.OperationCanceledException : The operation was canceled.
[20:42:22] info:    at System.Runtime.InteropServices.JavaScript.JSSynchronizationContext.Post(SendOrPostCallback , Object )
[20:42:22] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.<>c__DisplayClass6_0.<JSSynchronizationContext_Send_Post_Items_Cancellation>b__2()
[20:42:22] info:    at System.Threading.Tasks.Task`1[[System.Threading.Tasks.Task, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].InnerInvoke()
[20:42:22] info:    at System.Threading.Tasks.Task.<>c.<.cctor>b__281_0(Object obj)
[20:42:22] info:    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread , ExecutionContext , ContextCallback , Object )
[20:42:22] info: --- End of stack trace from previous location ---
[20:42:22] info:    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread , ExecutionContext , ContextCallback , Object )
[20:42:22] info:    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& , Thread )
[20:42:22] info: --- End of stack trace from previous location ---
[20:42:22] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.JSSynchronizationContext_Send_Post_Items_Cancellation()
[20:42:22] info: --- End of stack trace from previous location ---
pavelsavara commented 9 months ago

Log

[15:21:23] warn: worker sent an error! http://127.0.0.1:38929/_framework/dotnet.native.worker.js:1: Uncaught Error: Assert failed: JS interop is not installed on this worker.
[15:21:23] fail: MONO_WASM: Error
                     at Ze (http://127.0.0.1:38929/_framework/dotnet.js:3:19874)
                     at e (http://127.0.0.1:38929/_framework/dotnet.js:3:33959)
                     at http://127.0.0.1:38929/_framework/dotnet.js:3:34104
[15:21:23] warn: MONO_WASM: mono_wasm_exit failed unwind
[15:21:23] fail: [out of order message from the browser]: http://127.0.0.1:38929/_framework/dotnet.native.worker.js 0 Uncaught Error: Assert failed: JS interop is not installed on this worker.
[15:21:23] info: WASM EXIT 1
radical commented 9 months ago

Should this one be a separate issue? worker sent an error! http://127.0.0.1:38929/_framework/dotnet.native.worker.js:1: Uncaught Error: Assert failed: JS interop is not installed on this worker.

pavelsavara commented 9 months ago

This is kitchen sink right now, sorry. I will start sorting it out soon.

Capturing full zoo of specimens is useful and they don't all happen in one CI run or on my machine. That's why I didn't remove the MT smoke tests from runtime pipeline yet. Please let me know if this is too annoying and we can do that.

pavelsavara commented 9 months ago

Log

[15:03:57] info: [2024-01-17T15:03:57.680Z] [FAIL] System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.WebSocketClient_ResponseCloseInDifferentThread(executor1: JSWebWorker, executor2: JSWebWorker)
[15:03:57] info: System.OperationCanceledException : The operation was canceled.
[15:03:57] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.<ActionsInDifferentThreads>d__20`1[[System.Net.WebSockets.ClientWebSocket, System.Net.WebSockets.Client, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext()
[15:03:57] info: --- End of stack trace from previous location ---
pavelsavara commented 9 months ago

Log Build

[06:40:32] info: [0x55fc058-worker] MONO_WASM [0x55fc058-worker]: forceDisposeProxies done: 0 imports, 0 exports, 0 GCHandles, 0 JSHandles.
[06:40:33] info: [2024-01-19T06:40:33.266Z] [FAIL] System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.WebSocketClient_ResponseCloseInDifferentThread(executor1: Main, executor2: NewThread)
[06:40:33] info: System.OperationCanceledException : The operation was canceled.
[06:40:33] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.<ActionsInDifferentThreads>d__20`1[[System.Net.WebSockets.ClientWebSocket, System.Net.WebSockets.Client, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext()
[06:40:33] info: --- End of stack trace from previous location ---
[06:40:33] info: [0x5c30040-worker] MONO_WASM [0x5c30040-worker]: forceDisposeProxies done: 0 imports, 0 exports, 0 GCHandles, 0 JSHandles.
pavelsavara commented 9 months ago

Log Build

[19:21:02] warn: [2024-01-18T19:21:02.523Z] [ERROR] FATAL UNHANDLED EXCEPTION: System.OperationCanceledException: The operation was canceled.
[19:21:02] warn:    at System.Runtime.InteropServices.JavaScript.JSSynchronizationContext.Post(SendOrPostCallback , Object )
[19:21:02] warn:    at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation.PostAction(Object state)
[19:21:02] warn:    at System.Threading.Tasks.AwaitTaskContinuation.RunCallback(ContextCallback , Object , Task& )
[19:21:02] warn: --- End of stack trace from previous location ---
[19:21:02] warn:    at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
[19:21:02] warn:    at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi)
[19:21:02] warn:    at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[QueueUserWorkItemCallback](ExecutionContext , Action`1 , QueueUserWorkItemCallback& )
[19:21:02] warn:    at System.Threading.QueueUserWorkItemCallback.Execute()
[19:21:02] warn:    at System.Threading.ThreadPoolWorkQueue.Dispatch()
[19:21:02] warn:    at System.Threading.PortableThreadPool.WorkerThread.WorkLoopSemaphoreSuccess(LowLevelLifoAsyncWaitSemaphore semaphore, Object stateObject)
[19:21:02] warn:    at System.Threading.LowLevelLifoAsyncWaitSemaphore.InternalAsyncWaitSuccess(LowLevelLifoAsyncWaitSemaphore , WaitEntry )
[19:21:02] warn:    at System.Threading.LowLevelLifoAsyncWaitSemaphore.SuccessCallback(IntPtr lifoSemaphore, IntPtr userData)
[19:21:02] info: [0x5000368-worker] MONO_WASM [0x5000368-worker]: forceDisposeProxies done: 0 imports, 0 exports, 0 GCHandles, 0 JSHandles.
[19:21:02] info: [2024-01-18T19:21:02.666Z] [FAIL] System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.WebSocketClient_CancelInDifferentThread(executor1: NewThread, executor2: JSWebWorker)
[19:21:02] info: System.OperationCanceledException : The operation was canceled.
[19:21:02] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.<ActionsInDifferentThreads>d__20`1[[System.Net.WebSockets.ClientWebSocket, System.Net.WebSockets.Client, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext()
[19:21:02] info: --- End of stack trace from previous location ---
[19:21:02] info: [0x49e0000-worker] MONO_WASM [0x49e0000-worker]: forceDisposeProxies done: 6 imports, 0 exports, 0 GCHandles, 0 JSHandles.
radekdoulik commented 9 months ago

Log Build

[16:54:41] info: [2024-01-19T16:54:41.880Z] [FAIL] System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.JSSynchronizationContext_Send_Post_Items_Cancellation
[16:54:41] info: Assert.Throws() Failure: Exception type was not an exact match
[16:54:41] info: Expected: typeof(System.OperationCanceledException)
[16:54:41] info: Actual:   typeof(System.ObjectDisposedException)
[16:54:41] info: ---- System.ObjectDisposedException : Cannot access a disposed object.
[16:54:41] info: Object name: 'System.Runtime.InteropServices.JavaScript.JSSynchronizationContext'.
[16:54:41] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.JSSynchronizationContext_Send_Post_Items_Cancellation()
[16:54:41] info: --- End of stack trace from previous location ---
[16:54:41] info: ----- Inner Stack Trace -----
[16:54:41] info:    at System.Runtime.InteropServices.JavaScript.JSSynchronizationContext.Send(SendOrPostCallback , Object )
[16:54:41] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.<>c__DisplayClass6_0.<JSSynchronizationContext_Send_Post_Items_Cancellation>b__1()
[16:54:41] info:    at System.Threading.Tasks.Task`1[[System.Threading.Tasks.Task, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].InnerInvoke()
[16:54:41] info:    at System.Threading.Tasks.Task.<>c.<.cctor>b__281_0(Object obj)
[16:54:41] info:    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread , ExecutionContext , ContextCallback , Object )
[16:54:41] info: --- End of stack trace from previous location ---
[16:54:41] info:    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread , ExecutionContext , ContextCallback , Object )
[16:54:41] info:    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& , Thread )
[16:54:41] info: --- End of stack trace from previous location ---
pavelsavara commented 9 months ago

This is probably timeout in mono_exit while waiting for all managed threads to join.

Log Build

[10:55:09] info: === TEST EXECUTION SUMMARY ===
[10:55:09] info: Total: 534, Errors: 0, Failed: 0, Skipped: 1, Time: 24.0933498s
[10:55:09] info: 
[10:55:10] info: Received expected 147597 of /root/helix/work/workitem/uploads/xharness-output/testResults.xml
[10:55:10] info: Finished writing 147597 bytes of RESULTXML
[10:55:10] info: Xml file was written to the provided writer.
[10:55:10] info: Tests run: 534 Passed: 533 Inconclusive: 0 Failed: 0 Ignored: 0 Skipped: 1
[10:55:10] info: test-main.js exiting WasmTestRunner.dll System.Runtime.InteropServices.JavaScript.Tests.dll with result 0
...
[10:55:10] info: MONO_WASM [0xdcd5c-main]: forceDisposeProxies done: 242 imports, 0 exports, 38 GCHandles, 107 JSHandles.
[11:24:42] fail: Tests timed out. Killing driver service pid 79
[11:24:42] fail: Application has finished with exit code TIMED_OUT but 0 was expected
XHarness exit code: 71 (GENERAL_FAILURE)
pavelsavara commented 9 months ago

This is probably timeout in mono_exit while waiting for all managed threads to join.

Another Log Build

pavelsavara commented 9 months ago

This is ves_icall_System_Environment_FailFast -> "Process terminated."

Log Build

[21:30:38] info: [2024-01-23T21:30:38.609Z] [STRT] System.Runtime.InteropServices.JavaScript.Tests.JSImportExportTest.JsImportTaskTypes
[21:30:38] warn: [0x1f76248-worker][2024-01-23T21:30:38.688Z] [MONO] /__w/1/s/src/mono/mono/metadata/icall.c:6171 <disabled>
[21:30:38] warn: [0x1f76248-worker][2024-01-23T21:30:38.689Z] [MONO] /__w/1/s/src/mono/mono/metadata/icall.c:6180 <disabled>
[21:30:38] warn: [0x1f76248-worker] Aborted()
[21:30:38] info: WASM EXIT 1

This seems to be finalizer thread after mono_exit

pavelsavara commented 9 months ago
  info: [STRT] System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.JSDelay_ConfigureAwait_True(executor: JSWebWorker)
  warn: worker sent an error! http://127.0.0.1:61746/_framework/dotnet.native.worker.js:176: Uncaught Error: Assert failed: mono runtime didn't start yet
  warn: [0x04440000-jsww 15:50:44.309] MONO_WASM: JSSynchronizationContext is still installed on worker 0x4440000.
  warn: [0x000f1d10 15:50:44.309] MONO_WASM: mono_wasm_exit failed unwind
  fail: Error: [MONO] * Assertion at C:/Dev/runtime/src/mono/mono/mini/interp/interp.c:155, condition `stack->current == stack->first && stack->current->pos == (guint8*)&stack->current->data' not met

      at mono_wasm_stringify_as_error_with_stack (http://127.0.0.1:61746/_framework/dotnet.runtime.js:1181:18)
      at mono_wasm_trace_logger (http://127.0.0.1:61746/_framework/dotnet.runtime.js:1200:27)
      at wasm_trace_logger (http://127.0.0.1:61746/_framework/dotnet.native.wasm:wasm-function[18498]:0x35af37)
      at eglib_log_adapter (http://127.0.0.1:61746/_framework/dotnet.native.wasm:wasm-function[959]:0x5e3fc)
      at monoeg_g_logstr (http://127.0.0.1:61746/_framework/dotnet.native.wasm:wasm-function[835]:0x5a074)
      at monoeg_g_logv_nofree (http://127.0.0.1:61746/_framework/dotnet.native.wasm:wasm-function[833]:0x59fc9)
      at monoeg_assertion_message (http://127.0.0.1:61746/_framework/dotnet.native.wasm:wasm-function[837]:0x5a0f4)
      at mono_assertion_message (http://127.0.0.1:61746/_framework/dotnet.native.wasm:wasm-function[838]:0x5a152)
      at interp_free_context (http://127.0.0.1:61746/_framework/dotnet.native.wasm:wasm-function[201]:0x28a3b)
      at free_jit_tls_data (http://127.0.0.1:61746/_framework/dotnet.native.wasm:wasm-function[9157]:0x1fb495)
  warn: worker sent an error! http://127.0.0.1:61746/_framework/dotnet.native.worker.js:176: Uncaught unwind
  fail: [out of order message from the browser]: http://127.0.0.1:61746/_framework/dotnet.native.worker.js 175 Uncaught Error: Assert failed: mono runtime didn't start yet
  fail: [out of order message from the browser]: http://127.0.0.1:61746/_framework/dotnet.native.worker.js 175 Uncaught unwind
  info: WASM EXIT 1

locally on my box

pavelsavara commented 9 months ago
[STRT] System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.WebSocketClient_CancelInDifferentThread(executor1: JSWebWorker, executor2: ThreadPool)
dotnet.runtime.js:1124 MONO_WASM: forceDisposeProxies done: 2 imports, 0 exports, 1 GCHandles, 0 JSHandles.
dotnet.native.js:993 Unexpected test case WebSocketClient_CancelInDifferentThread timeout after 00:00:05.0040000 ManagedThreadId:495
dotnet.native.js:1009 [ERROR] FATAL UNHANDLED EXCEPTION: System.OperationCanceledException: The operation was canceled.
dotnet.native.js:1009    at System.Runtime.InteropServices.JavaScript.JSSynchronizationContext.Post(SendOrPostCallback , Object ) in C:\Dev\runtime\src\libraries\System.Runtime.InteropServices.JavaScript\src\System\Runtime\InteropServices\JavaScript\JSSynchronizationContext.cs:line 174
dotnet.native.js:1009    at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation.PostAction(Object state) in C:\Dev\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskContinuation.cs:line 428
dotnet.native.js:1009    at System.Threading.Tasks.AwaitTaskContinuation.RunCallback(ContextCallback , Object , Task& ) in C:\Dev\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskContinuation.cs:line 697
dotnet.native.js:1009    at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state) in C:\Dev\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs:line 1925
dotnet.native.js:1009    at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi) in C:\Dev\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs:line 1197
dotnet.native.js:1009    at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[QueueUserWorkItemCallback](ExecutionContext , Action`1 , QueueUserWorkItemCallback& ) in C:\Dev\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\ExecutionContext.cs:line 307
dotnet.native.js:1009    at System.Threading.QueueUserWorkItemCallback.Execute() in C:\Dev\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs:line 1213
dotnet.native.js:1009    at System.Threading.ThreadPoolWorkQueue.Dispatch() in C:\Dev\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs:line 913
dotnet.native.js:1009    at System.Threading.PortableThreadPool.WorkerThread.WorkLoopSemaphoreSuccess(LowLevelLifoAsyncWaitSemaphore semaphore, Object stateObject) in C:\Dev\runtime\src\mono\System.Private.CoreLib\src\System\Threading\PortableThreadPool.WorkerThread.Browser.Threads.Mono.cs:line 84
dotnet.native.js:1009    at System.Threading.LowLevelLifoAsyncWaitSemaphore.InternalAsyncWaitSuccess(LowLevelLifoAsyncWaitSemaphore , WaitEntry ) in C:\Dev\runtime\src\mono\System.Private.CoreLib\src\System\Threading\LowLevelLifoAsyncWaitSemaphore.Browser.Threads.Mono.cs:line 159
dotnet.native.js:1009    at System.Threading.LowLevelLifoAsyncWaitSemaphore.SuccessCallback(IntPtr lifoSemaphore, IntPtr userData) in C:\Dev\runtime\src\mono\System.Private.CoreLib\src\System\Threading\LowLevelLifoAsyncWaitSemaphore.Browser.Threads.Mono.cs:line 211
    at WebSocket.local_on_error (dotnet.runtime.js:5816:23)

another local

pavelsavara commented 9 months ago

Log

[16:55:55] info: [0x05860040-jsww 16:55:55.843] MONO_WASM: forceDisposeProxies done: 2 imports, 0 exports, 0 GCHandles, 0 JSHandles.
[16:55:55] info: [STRT] System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.JSSynchronizationContext_Send_Post_Items_Cancellation
[16:55:55] info: [0x0513e6d0-jsww 16:55:55.931] MONO_WASM: forceDisposeProxies done: 0 imports, 0 exports, 0 GCHandles, 0 JSHandles.
[16:55:56] fail: [FAIL] System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.JSSynchronizationContext_Send_Post_Items_Cancellation
[16:55:56] info: Assert.ThrowsAny() Failure: Exception type was not compatible
[16:55:56] info: Expected: typeof(System.OperationCanceledException)
[16:55:56] info: Actual:   typeof(System.ObjectDisposedException)
pavelsavara commented 9 months ago

Log

[02:57:19] info: [STRT] System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.WaitAssertsOnJSInteropThreads(executor: JSWebWorker)
[02:57:19] info: [0x0452ffe8-jsww 02:57:19.193] MONO_WASM: forceDisposeProxies done: 0 imports, 0 exports, 0 GCHandles, 0 JSHandles.
[02:57:19] fail: [FAIL] System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.WaitAssertsOnJSInteropThreads(executor: JSWebWorker)
[02:57:19] info: Assert.NotNull() Failure: Value is null
[02:57:19] info:    at System.Runtime.InteropServices.JavaScript.Tests.Executor.AssertBlockingWait(Exception exception)
[02:57:19] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.<>c__DisplayClass16_0.<WaitAssertsOnJSInteropThreads>b__0()
[02:57:19] info:    at System.Runtime.InteropServices.JavaScript.Tests.Executor.<>c__DisplayClass7_0.<Execute>g__wrapExecute|0()
[02:57:19] info:    at System.Runtime.InteropServices.JavaScript.JSWebWorker.<>c__DisplayClass5_0.<<RunAsync>b__0>d.MoveNext()
[02:57:19] info: --- End of stack trace from previous location ---
[02:57:19] info:    at System.Runtime.InteropServices.JavaScript.Tests.WebWorkerTest.WaitAssertsOnJSInteropThreads(Executor executor)
[02:57:19] info: --- End of stack trace from previous location ---

Filled https://github.com/dotnet/runtime/issues/97914

pavelsavara commented 8 months ago

closing this catch-all and we will continue creating individual issues with more granularity.