Repository navigation
Description
Error Blob
This issue might be related to (or even be the same as) #91543 and/or #84364 . Unfortunately, neither of those were opened as a Known Build Error, so the bot is unable to tag all the affected PRs. If you determine this issue is the same as one of those two, can you please close the other ones so we get this issue linked to PRs by the bot? Thanks.
{
"ErrorMessage": ["TcpReceiveSendGetsCanceledByDispose", "System.AggregateException : One or more errors occurred. (Assert.Equal() Failure"],
"BuildRetry": false,
"ErrorPattern": "",
"ExcludeConsoleLog": false
}Reproduction Steps
- Affected 8.0 PR: [automated] Merge branch 'release/8.0-rc1' => 'release/8.0' #92374
- The build belongs to runtime-community: https://dev.azure.com/dnceng-public/public/_build/results?buildId=413447&view=logs&j=afa9e9c9-0835-5e87-9576-859a0f7dc04f&t=06e5c6f9-c6d6-516b-3325-4576fe8baba2&l=58
- Affected queues:
linux-ppc64le Release AllSubsets_Mono- Log file: https://helix.dot.net/api/2019-06-17/jobs/5fbc62c3-91ae-4e22-90b7-19044d1e2ec8/workitems/System.Net.Sockets.Tests/consolelinux-s390x Release AllSubsets_Mono- Log file: https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-release-80-rc1-0cf6f02d7bc84c63be/System.Net.Sockets.Tests/3/console.b076222b.log?helixlogtype=result
Output (expand)
System.Net.Sockets.Tests.SendReceive_SyncForceNonBlocking.TcpReceiveSendGetsCanceledByDispose(receiveOrSend: True, ipv6Server: False, dualModeClient: False, owning: True) [FAIL]
System.AggregateException : One or more errors occurred. (Assert.Equal() Failure
Expected: ConnectionReset
Actual: (null)) (Assert.Equal() Failure
Expected: ConnectionReset
Actual: (null)) (Assert.Equal() Failure
Expected: ConnectionReset
Actual: (null)) (Assert.Equal() Failure
Expected: ConnectionReset
Actual: (null)) (Assert.Equal() Failure
Expected: ConnectionReset
Actual: (null)) (Assert.Equal() Failure
Expected: ConnectionReset
Actual: (null)) (Assert.Equal() Failure
Expected: ConnectionReset
Actual: (null)) (Assert.Equal() Failure
Expected: ConnectionReset
Actual: (null))
---- Assert.Equal() Failure
Expected: ConnectionReset
Actual: (null)
---- Assert.Equal() Failure
Expected: ConnectionReset
Actual: (null)
---- Assert.Equal() Failure
Expected: ConnectionReset
Actual: (null)
---- Assert.Equal() Failure
Expected: ConnectionReset
Actual: (null)
---- Assert.Equal() Failure
Expected: ConnectionReset
Actual: (null)
---- Assert.Equal() Failure
Expected: ConnectionReset
Actual: (null)
---- Assert.Equal() Failure
Expected: ConnectionReset
Actual: (null)
---- Assert.Equal() Failure
Expected: ConnectionReset
Actual: (null)
Stack Trace:
/_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs(102,0): at System.RetryHelper.ExecuteAsync(Func`1 test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen, String testName)
/_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendReceive/SendReceive.cs(1032,0): at System.Net.Sockets.Tests.SendReceive`1.<TcpReceiveSendGetsCanceledByDispose>d__21[[System.Net.Sockets.Tests.SocketHelperSyncForceNonBlocking, System.Net.Sockets.Tests, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].MoveNext()
--- End of stack trace from previous location ---
----- Inner Stack Trace #1 (Xunit.Sdk.EqualException) -----
/_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendReceive/SendReceive.cs(1120,0): at System.Net.Sockets.Tests.SendReceive`1.<>c__DisplayClass21_0.<<TcpReceiveSendGetsCanceledByDispose>b__0>d[[System.Net.Sockets.Tests.SocketHelperSyncForceNonBlocking, System.Net.Sockets.Tests, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].MoveNext()
--- End of stack trace from previous location ---
/_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs(94,0): at System.RetryHelper.ExecuteAsync(Func`1 test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen, String testName)
----- Inner Stack Trace #2 (Xunit.Sdk.EqualException) -----
/_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendReceive/SendReceive.cs(1120,0): at System.Net.Sockets.Tests.SendReceive`1.<>c__DisplayClass21_0.<<TcpReceiveSendGetsCanceledByDispose>b__0>d[[System.Net.Sockets.Tests.SocketHelperSyncForceNonBlocking, System.Net.Sockets.Tests, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].MoveNext()
--- End of stack trace from previous location ---
/_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs(94,0): at System.RetryHelper.ExecuteAsync(Func`1 test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen, String testName)
----- Inner Stack Trace #3 (Xunit.Sdk.EqualException) -----
/_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendReceive/SendReceive.cs(1120,0): at System.Net.Sockets.Tests.SendReceive`1.<>c__DisplayClass21_0.<<TcpReceiveSendGetsCanceledByDispose>b__0>d[[System.Net.Sockets.Tests.SocketHelperSyncForceNonBlocking, System.Net.Sockets.Tests, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].MoveNext()
--- End of stack trace from previous location ---
/_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs(94,0): at System.RetryHelper.ExecuteAsync(Func`1 test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen, String testName)
----- Inner Stack Trace #4 (Xunit.Sdk.EqualException) -----
/_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendReceive/SendReceive.cs(1120,0): at System.Net.Sockets.Tests.SendReceive`1.<>c__DisplayClass21_0.<<TcpReceiveSendGetsCanceledByDispose>b__0>d[[System.Net.Sockets.Tests.SocketHelperSyncForceNonBlocking, System.Net.Sockets.Tests, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].MoveNext()
--- End of stack trace from previous location ---
/_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs(94,0): at System.RetryHelper.ExecuteAsync(Func`1 test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen, String testName)
----- Inner Stack Trace #5 (Xunit.Sdk.EqualException) -----
/_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendReceive/SendReceive.cs(1120,0): at System.Net.Sockets.Tests.SendReceive`1.<>c__DisplayClass21_0.<<TcpReceiveSendGetsCanceledByDispose>b__0>d[[System.Net.Sockets.Tests.SocketHelperSyncForceNonBlocking, System.Net.Sockets.Tests, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].MoveNext()
--- End of stack trace from previous location ---
/_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs(94,0): at System.RetryHelper.ExecuteAsync(Func`1 test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen, String testName)
----- Inner Stack Trace #6 (Xunit.Sdk.EqualException) -----
/_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendReceive/SendReceive.cs(1120,0): at System.Net.Sockets.Tests.SendReceive`1.<>c__DisplayClass21_0.<<TcpReceiveSendGetsCanceledByDispose>b__0>d[[System.Net.Sockets.Tests.SocketHelperSyncForceNonBlocking, System.Net.Sockets.Tests, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].MoveNext()
--- End of stack trace from previous location ---
/_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs(94,0): at System.RetryHelper.ExecuteAsync(Func`1 test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen, String testName)
----- Inner Stack Trace #7 (Xunit.Sdk.EqualException) -----
/_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendReceive/SendReceive.cs(1120,0): at System.Net.Sockets.Tests.SendReceive`1.<>c__DisplayClass21_0.<<TcpReceiveSendGetsCanceledByDispose>b__0>d[[System.Net.Sockets.Tests.SocketHelperSyncForceNonBlocking, System.Net.Sockets.Tests, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].MoveNext()
--- End of stack trace from previous location ---
/_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs(94,0): at System.RetryHelper.ExecuteAsync(Func`1 test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen, String testName)
----- Inner Stack Trace #8 (Xunit.Sdk.EqualException) -----
/_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendReceive/SendReceive.cs(1120,0): at System.Net.Sockets.Tests.SendReceive`1.<>c__DisplayClass21_0.<<TcpReceiveSendGetsCanceledByDispose>b__0>d[[System.Net.Sockets.Tests.SocketHelperSyncForceNonBlocking, System.Net.Sockets.Tests, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].MoveNext()
--- End of stack trace from previous location ---
/_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs(94,0): at System.RetryHelper.ExecuteAsync(Func`1 test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen, String testName)
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=437229
Error message validated: System.AggregateException : One or more errors occurred. (Assert.Equal() Failure
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 10/13/2023 10:36:32 PM UTC
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 1 | 3 | 23 |
Known issue validation
Build: 🔎
Result validation:
Validation performed at: 6/17/2025 7:06:56 PM UTC
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 1 | 3 | 23 |
Activity
carlossanlop commentedon Oct 3, 2023
Here's an example of a job that failed with this:
Build Linux s390x Release AllSubsets_MonoOutput (expand)
carlossanlop commentedon Oct 13, 2023
@dotnet/ncl I noticed some logs have this message at the top:
Could it be the reason for the failure?
Example: https://helixre107v0xd1eu3ibi6ka.blob.core.windows.net/dotnet-runtime-refs-pull-93396-merge-8325463d520b43e682/System.Net.Sockets.Tests/1/console.a7cef697.log?helixlogtype=result
[-][8.0] Connection reset assert failure in System.Net.Sockets.Tests.SendReceive_SyncForceNonBlocking.TcpReceiveSendGetsCanceledByDispose[/-][+][6.0, 7.0, 8.0] Connection reset assert failure in System.Net.Sockets.Tests.SendReceive_SyncForceNonBlocking.TcpReceiveSendGetsCanceledByDispose[/+]wfurt commentedon Oct 14, 2023
unlikely. This looks like Helix dependencies. There was Linux kernel regression, should be fixed by #93198 in main.
antonfirsov commentedon Oct 14, 2023
Opened #93502 and #92423 @carlossanlop PTAL.
6.0needs a manual backport unfortunately, will do it later.jozkee commentedon Jun 17, 2025
This is too broad and is hiding System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked.
jozkee commentedon Jun 17, 2025
Looks like it was already fixed #92423 (comment).