Skip to content

WebSocketTests.ReceiveAsync_WhenDisposedInParallel_DoesNotGetStuck fails with unexpected exception #133446

Description

@jkotas
    System.Net.WebSockets.Tests.WebSocketTests.ReceiveAsync_WhenDisposedInParallel_DoesNotGetStuck [FAIL]
      Assert.Throws() Failure: Exception type was not an exact match
      Expected: typeof(System.Net.WebSockets.WebSocketException)
      Actual:   typeof(System.TimeoutException)
      ---- System.TimeoutException : The operation has timed

Build Information

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

Error Message

DO NOT USE JSON BELOW IF THIS IS A BUILD BREAK otherwise build analysis will allow pull requests to merge that break the build worse. For a build break, do not use this issue form. Make a regular new issue.

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

{
  "ErrorMessage": ["ReceiveAsync_WhenDisposedInParallel_DoesNotGetStuck","System.TimeoutException : The operation has timed"],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1586944
Error message validated: [ReceiveAsync_WhenDisposedInParallel_DoesNotGetStuck System.TimeoutException : The operation has timed]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/8/2026 9:03:42 PM UTC

Report

Build Repository Test Pull Request
1592793 dotnet/runtime System.Net.WebSockets.Tests.WebSocketTests.ReceiveAsync_WhenDisposedInParallel_DoesNotGetStuck #133698
1592299 dotnet/runtime System.Net.WebSockets.Tests.WebSocketTests.ReceiveAsync_WhenDisposedInParallel_DoesNotGetStuck
1592296 dotnet/runtime System.Net.WebSockets.Tests.WebSocketTests.ReceiveAsync_WhenDisposedInParallel_DoesNotGetStuck
1592259 dotnet/runtime System.Net.WebSockets.Tests.WebSocketTests.ReceiveAsync_WhenDisposedInParallel_DoesNotGetStuck #133656
1592224 dotnet/runtime System.Net.WebSockets.Tests.WebSocketTests.ReceiveAsync_WhenDisposedInParallel_DoesNotGetStuck #133494
1591897 dotnet/runtime System.Net.WebSockets.Tests.WebSocketTests.ReceiveAsync_WhenDisposedInParallel_DoesNotGetStuck #133654
1591180 dotnet/runtime System.Net.WebSockets.Tests.WebSocketTests.ReceiveAsync_WhenDisposedInParallel_DoesNotGetStuck
1588576 dotnet/runtime System.Net.WebSockets.Tests.WebSocketTests.ReceiveAsync_WhenDisposedInParallel_DoesNotGetStuck
1588088 dotnet/runtime System.Net.WebSockets.Tests.WebSocketTests.ReceiveAsync_WhenDisposedInParallel_DoesNotGetStuck
1586944 dotnet/runtime System.Net.WebSockets.Tests.WebSocketTests.ReceiveAsync_WhenDisposedInParallel_DoesNotGetStuck #130556

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
5 10 10

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarea-System.Net.Socketsblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions