-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot access a disposed object.\r\nObject name: 'System.Net.Sockets.Socket' from System.Net.Sockets.Tests.ReceiveFrom*.ClosedDuringOperation_Throws_ObjectDisposedExceptionOrSocketException #47561
Comments
Tagging subscribers to this area: @dotnet/ncl Issue Detailsnet6.0-windows-Debug-x64-CoreCLR_release-Windows.81.Amd64.Open System.Net.Sockets.Tests.ReceiveFrom_SyncForceNonBlocking.ClosedDuringOperation_Throws_ObjectDisposedExceptionOrSocketException(closeOrDispose: True)
|
Looks like these tests were added with #47229, going to disable failing tests to unblock CI. |
@antonfirsov can you please confirm if it is test regression introduced by your PR? |
Somehow the tests seem not to have run in said PR, so I am confused as to what happened... |
Yes, this is either a test bug introduced by my PR, or a product bug (exception type depends on timing factors). |
The latter case would explain missing it in my original PR despite of several runs. |
@antonfirsov It's weird, for example testResults.xml for your PR's debian x64 leg doesn't show the tests being run |
@hoyosjs that particular xml seems to belong to an outerloop run. Here's an innerloop log from OSX where the test passed: |
@jaredpar how did runfo know to attach to this bug - magic? or someone manually connects it ? |
I made it a tracking issue after investigating some elevated failures. |
net6.0-windows-Debug-x64-CoreCLR_release-Windows.81.Amd64.Open
https://dev.azure.com/dnceng/public/_build/results?buildId=969030&view=ms.vss-test-web.build-test-results-tab&runId=30459202&paneView=debug
System.Net.Sockets.Tests.ReceiveFrom_SyncForceNonBlocking.ClosedDuringOperation_Throws_ObjectDisposedExceptionOrSocketException(closeOrDispose: True)
Runfo Tracking Issue: system.net.sockets.tests.receivemessagefrom* throwing ObjectDisposedExceptions
Build Result Summary
The text was updated successfully, but these errors were encountered: