Skip to content

[6.0, 7.0, 8.0] Connection reset assert failure in System.Net.Sockets.Tests.SendReceive_SyncForceNonBlocking.TcpReceiveSendGetsCanceledByDispose #92423

Open
@carlossanlop

Description

@carlossanlop

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": "System.AggregateException : One or more errors occurred. (Assert.Equal() Failure",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": true
}

Reproduction Steps

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

Build Definition Test Pull Request
989870 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked
989852 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked
988688 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked
987196 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked
985808 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked
984337 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked
984318 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked
984336 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked
980366 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked
980381 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked
980361 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked
977063 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked
973846 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked
972899 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked
972892 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked
970636 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked
970624 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked
969484 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked
968433 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked
966650 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked
966629 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked
966343 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked
963601 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_Revoked
962201 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked
960929 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked
960915 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked
960922 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.DynamicRevocationTests.TestRevocationWithNoNextUpdate_NotRevoked

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
2 8 27

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarch-ppc64learch-s390xRelated to s390x architecture (unsupported)area-System.Net.Socketsblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'os-linuxLinux OS (any supported distro)runtime-monospecific to the Mono runtime

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions