Skip to content

Android WebSocket failure #121518

Closed as not planned
Closed as not planned

Description

@ManickaP

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1197968
Build error leg or test failing: System.Net.WebSockets.Client.Tests.WorkItemExecution
Pull request: #120716

Error Message

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

{
  "ErrorMessage": "[FAIL] System.Net.WebSockets.Client.Tests",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1197968
Error message validated: [[FAIL] System.Net.WebSockets.Client.Tests]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 11/11/2025 7:46:28 AM UTC

Report

Build Repository Test Pull Request
1580879 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #133168
1580824 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #132407
1580519 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #133154
1580449 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_SharedHandler_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #133152
1580413 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_SharedHandler_Loopback.SendAsync_Cancel_Success #133151
1580206 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_Invoker_Loopback.SendAsync_Cancel_Success #133146
1580155 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution
1579968 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_Invoker_Loopback.SendAsync_Cancel_Success
1579972 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_SharedHandler_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #132579
1579846 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_Invoker_Loopback.SendAsync_Cancel_Success #132419
1579488 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution
1579645 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Loopback.SendAsync_Cancel_Success #132396
1579602 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Http2Loopback.SendAsync_Cancel_Success #132898
1579241 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Http2Loopback.SendAsync_Cancel_Success
1579225 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #133111
1579190 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_SharedHandler_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #132650
1579163 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Loopback.SendAsync_Cancel_Success #133107
1578958 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #133095
1578952 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_Invoker_Loopback.SendAsync_Cancel_Success #133042
1578634 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_Invoker_Http2Loopback.SendAsync_Cancel_Success #132999
1578548 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #132836
1578503 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Loopback.SendAsync_Cancel_Success #133076
1578389 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #132822
1578322 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Http2Loopback.SendAsync_Cancel_Success #132687
1578026 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_SharedHandler_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #133063
1577817 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Http2Loopback.SendAsync_Cancel_Success #133054
1577795 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution #133053
1577792 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_SharedHandler_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #133052
1577740 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_SharedHandler_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #133042
1577635 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_Invoker_Loopback.SendAsync_Cancel_Success #133040
1577618 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_Invoker_Http2Loopback.SendAsync_Cancel_Success #133046
1577574 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_Invoker_Http2Loopback.SendAsync_Cancel_Success #133043
1577392 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution
1577527 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Http2Loopback.SendAsync_Cancel_Success #132639
1577132 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_Invoker_Http2Loopback.SendAsync_Cancel_Success
1577009 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_SharedHandler_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #132747
1576993 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Http2Loopback.SendAsync_Cancel_Success #132926
1576794 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #133016
1576754 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_Invoker_Http2Loopback.SendAsync_Cancel_Success #133014
1576636 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #132898
1576575 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_SharedHandler_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #132102
1574561 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #132836
1576205 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_SharedHandler_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #132979
1576207 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_SharedHandler_Loopback.ConnectAsync_Cancel_ThrowsCancellationException
1575857 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Http2Loopback.SendAsync_Cancel_Success #132955
1575675 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Http2Loopback.SendAsync_Cancel_Success #132814
1575443 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Http2Loopback.SendAsync_Cancel_Success #132887
1575381 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_SharedHandler_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #132979
1575374 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Http2Loopback.SendAsync_Cancel_Success #132978
1574555 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #132821
1574379 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Loopback.SendAsync_Cancel_Success #132955
1574314 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #132827
1574183 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_Invoker_Http2Loopback.SendAsync_Cancel_Success #132419
1574100 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Loopback.SendAsync_Cancel_Success
1573869 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Loopback.ConnectAsync_Cancel_ThrowsCancellationException
1573847 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Http2Loopback.SendAsync_Cancel_Success #132927
1573834 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_Invoker_Http2Loopback.SendAsync_Cancel_Success #132925
1573789 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_SharedHandler_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #132921
1573718 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Http2Loopback.SendAsync_Cancel_Success #132920
1573422 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Http2Loopback.SendAsync_Cancel_Success #130050
1573287 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #130313
1572977 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_Invoker_Loopback.SendAsync_Cancel_Success #132896
1570960 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution
1570973 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution
1571027 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution #132814
1568261 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_SharedHandler_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #132770
1569509 dotnet/runtime System.Net.WebSockets.Client.Tests.SendReceiveTest_Invoker_Loopback.ReceiveAsync_MultipleOutstandingReceiveOperations_Throws #132347
1568935 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_SharedHandler_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #132572
1567735 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_SharedHandler_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #132637
1567413 dotnet/runtime System.Net.WebSockets.Client.Tests.SendReceiveTest_HttpClient_Http2Loopback.ReceiveAsync_MultipleOutstandingReceiveOperations_Throws #132713
1567099 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #130790
1566967 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution #132747
1566320 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution #132737
1566084 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution #131174
1564823 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution #131526
1564492 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution #129506
1564308 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution #132385
1563652 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution #131654
1563430 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_Invoker_Http2Loopback.SendAsync_Cancel_Success
1563214 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #132539
1562981 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution #132639
1562931 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution #132636
1562503 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution #132628
1562382 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution
1562481 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_SharedHandler_Loopback.ConnectAsync_Cancel_ThrowsCancellationException #132489
1562371 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #132438
1561980 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution #130023
1561516 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution
1561554 dotnet/runtime System.Net.WebSockets.Client.Tests.CancelTest_HttpClient_Http2Loopback.SendAsync_Cancel_Success #131969
1560024 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution #132535
1558455 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution #132483
1557714 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution #131654
1557346 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution #132467
1557522 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution #132472
1556482 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution #128057
1556037 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution #132424
1555900 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution #132416
1555633 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #132402
1554880 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution
1554672 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution
Displaying 100 of 162 results

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
16 65 162

Activity

  1. added
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    Known Build ErrorUse this to report build issues in the .NET Helix tab
    on Nov 11, 2025
  2. ManickaP commented on Nov 11, 2025

    @ManickaP
    MemberAuthor

    Full details in https://helixr1107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-pull-120716-merge-b5c787ac89da4718ab/System.Net.WebSockets.Client.Tests/2/console.f54a922f.log?skoid=8eda00af-b5ec-4be9-b69b-0919a2338892&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2025-11-11T07%3A43%3A14Z&ske=2025-11-11T08%3A43%3A14Z&sks=b&skv=2024-11-04&sv=2024-11-04&st=2025-11-11T07%3A43%3A14Z&se=2025-11-11T08%3A43%3A14Z&sr=c&sp=r&sig=r0hKkTk6vsHw2nvHbzbqipA7ppG%2FyhmDfCG%2FU8itJ0U%3D:

    11-09 00:05:24.831 11577 18616 I DOTNET  : System.Net.WebSockets.Client.Tests.CloseTest_SharedHandler_Loopback 9.7290199 ms
                     11-09 00:05:24.848 11577 18616 I DOTNET  : Failed tests:
                     11-09 00:05:24.849 11577 18616 I DOTNET  : 1) 	[FAIL] System.Net.WebSockets.Client.Tests.CancelTest_SharedHandler_Loopback.SendAsync_Cancel_Success   Test name: System.Net.WebSockets.Client.Tests.CancelTest_SharedHandler_Loopback.SendAsync_Cancel_Success(useSsl: False)   Test case: System.Net.WebSockets.Client.Tests.CancelTest_SharedHandler_Loopback.SendAsync_Cancel_Success
                     11-09 00:05:24.849 11577 18616 I DOTNET  :    Assembly:  [System.Net.WebSockets.Client.Tests, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
                     11-09 00:05:24.849 11577 18616 I DOTNET  :    Exception messages: Actual Open when System.Threading.Tasks.TaskCanceledException: A task was canceled.
                     11-09 00:05:24.849 11577 18616 I DOTNET  :    at System.Net.WebSockets.ManagedWebSocket.SendFrameFallbackAsync(MessageOpcode opcode, Boolean endOfMessage, Boolean disableCompression, ReadOnlyMemory`1 payloadBuffer, Task lockTask, CancellationToken cancellationToken)
                     11-09 00:05:24.849 11577 18616 I DOTNET  :    at System.Net.WebSockets.Client.Tests.ClientWebSocketTestBase.TestCancellation(Func`2 action, Uri server)   Exception stack traces:    at System.Net.WebSockets.Client.Tests.ClientWebSocketTestBase.TestCancellation(Func`2 action, Uri server)
                     11-09 00:05:24.849 11577 18616 I DOTNET  :    at System.Net.WebSockets.Client.Tests.CancelTestBase.RunClient_SendAsync_Cancel_Success(Uri server)
                     11-09 00:05:24.849 11577 18616 I DOTNET  :    at System.Net.WebSockets.Client.Tests.LoopbackWebSocketServer.<>c__DisplayClass1_0.<<RunAsync>b__0>d.MoveNext()
                     11-09 00:05:24.849 11577 18616 I DOTNET  : --- End of stack trace from previous location ---
                     11-09 00:05:24.849 11577 18616 I DOTNET  :    at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task)
                     11-09 00:05:24.849 11577 18616 I DOTNET  : --- End of stack trace from previous location ---
                     11-09 00:05:24.849 11577 18616 I DOTNET  :    at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks)
                     11-09 00:05:24.849 11577 18616 I DOTNET  :    at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks, Int32 millisecondsTimeout)
                     11-09 00:05:24.849 11577 18616 I DOTNET  :    at System.Net.WebSockets.Client.Tests.LoopbackWebSocketServer.HttpRunner.RunAsync(Func`2 clientFunc, Func`3 wsServerFunc, Options options, CancellationToken clientExitCt, CancellationToken globalCt)
                     11-09 00:05:24.849 11577 18616 I DOTNET  : --- End of stack trace from previous location ---
                     11-09 00:05:24.849 11577 18616 I DOTNET  :    Execution time: 0.1041653
                     11-09 00:05:24.856 11577 18616 D DOTNET  : Mapped System.Xml.ReaderWriter.dll -> /data/user/0/net.dot.System.Net.WebSockets.Client.Tests/files/System.Xml.ReaderWriter.dll
                     11-09 00:05:24.904 11577 18616 I DOTNET  : Xml file was written to the provided writer.
                     11-09 00:05:24.904 11577 18616 I DOTNET  : 
                     11-09 00:05:24.904 11577 18616 I DOTNET  : === TEST EXECUTION SUMMARY ===
                     11-09 00:05:24.904 11577 18616 I DOTNET  : Tests run: 863 Passed: 662 Inconclusive: 0 Failed: 1 Ignored: 178 Skipped: 22
    
  3. dotnet-policy-service commented on Nov 11, 2025

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/ncl
    See info in area-owners.md if you want to be subscribed.

  4. dotnet-policy-service commented on Nov 11, 2025

    @dotnet-policy-service
    Contributor

    Tagging subscribers to 'arch-android': @vitek-karas, @simonrozsival, @steveisok, @akoeplinger
    See info in area-owners.md if you want to be subscribed.

  5. removed
    untriagedNew issue has not been triaged by the area owner
    on Dec 15, 2025
  6. added this to the 11.0.0 milestone on Dec 15, 2025
  7. michaellinhq commented on Feb 13, 2026

    @michaellinhq

    Hi, I reviewed 'Android WebSocket failure' and can start immediately. I can deliver a first usable version quickly and iterate based on your feedback. If this scope still matches your priority, I can proceed right away.

  8. michaellinhq commented on Feb 13, 2026

    @michaellinhq

    Hi, I reviewed 'Android WebSocket failure' and can start immediately. I can deliver a first usable version quickly and iterate based on your feedback. If this scope still matches your priority, I can proceed right away.

  9. modified the milestones: 11.0.0, 12.0.0 on Jul 14, 2026
  10. removed
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    Known Build ErrorUse this to report build issues in the .NET Helix tab
    on Sep 3, 2026
  11. steveisok commented on Sep 3, 2026

    @steveisok
    Member

    Closing in favor of #132031, which tracks the original SendAsync_Cancel_Success / Actual Open failure with a specific matcher. I removed the broad KBE classification because it matched every failure in the Android WebSockets test assembly, including connect-cancellation failures covered by #130439 and unrelated work-item failures. Distinct Android failures should surface and be tracked separately.

    Note

    This comment was generated by GitHub Copilot.

  12. locked and limited conversation to collaborators on Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions