Skip to content

Test failure System.Net.Sockets.Tests.SendReceive_Sync.SendRecvPollSync_TcpListener_Socket #50769

Closed

Description

@VincentBu

Run: runtime-libraries-coreclr outerloop 20210405.4

Failed tests:

net6.0-OSX-Release-arm64-CoreCLR_release-OSX.1100.ARM64.Open
 -System.Net.Sockets.Tests.SendReceive_Sync.SendRecvPollSync_TcpListener_Socket(listenAt: 127.0.0.1, pollBeforeOperation: False)
 -System.Net.Sockets.Tests.SendReceive_Sync.SendRecvPollSync_TcpListener_Socket(listenAt: ::1, pollBeforeOperation: False)

Error message:
System.AggregateException : One or more errors occurred. (One or more errors occurred. (Object reference not set to an instance of an object.)) (One or more errors occurred. (Broken pipe))
---- System.AggregateException : One or more errors occurred. (Object reference not set to an instance of an object.)
-------- System.NullReferenceException : Object reference not set to an instance of an object.
---- System.AggregateException : One or more errors occurred. (Broken pipe)
-------- System.Net.Sockets.SocketException : Broken pipe

Stack trace
   at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 80
   at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks, Int32 millisecondsTimeout) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 49
   at System.Net.Sockets.Tests.SendReceive`1.SendRecvPollSync_TcpListener_Socket(IPAddress listenAt, Boolean pollBeforeOperation) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendReceive/SendReceive.cs:line 561
--- End of stack trace from previous location ---
----- Inner Stack Trace #1 (System.AggregateException) -----

Failed tests:

net6.0-OSX-Release-arm64-CoreCLR_release-OSX.1100.ARM64.Open
 -System.Net.Sockets.Tests.SendReceive_Sync.SendRecvPollSync_TcpListener_Socket(listenAt: 127.0.0.1, pollBeforeOperation: True)
 -System.Net.Sockets.Tests.SendReceive_Sync.SendRecvPollSync_TcpListener_Socket(listenAt: ::1, pollBeforeOperation: True)


Error message
System.AggregateException : One or more errors occurred. (One or more errors occurred. (Object reference not set to an instance of an object.)) (One or more errors occurred. (Expected writer's read poll to fail after timeout
Expected: False
Actual: True))
---- System.AggregateException : One or more errors occurred. (Object reference not set to an instance of an object.)
-------- System.NullReferenceException : Object reference not set to an instance of an object.
---- System.AggregateException : One or more errors occurred. (Expected writer's read poll to fail after timeout
Expected: False
Actual: True)
-------- Expected writer's read poll to fail after timeout
Expected: False
Actual: True

Stack trace
   at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 80
   at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks, Int32 millisecondsTimeout) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 49
   at System.Net.Sockets.Tests.SendReceive`1.SendRecvPollSync_TcpListener_Socket(IPAddress listenAt, Boolean pollBeforeOperation) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendReceive/SendReceive.cs:line 561
--- End of stack trace from previous location ---
----- Inner Stack Trace #1 (System.AggregateException) -----

----- Inner Stack Trace -----
   at System.Net.Sockets.Tests.SendReceive`1.<>c__DisplayClass7_0.<<SendRecvPollSync_TcpListener_Socket>b__0>d.MoveNext() in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendReceive/SendReceive.cs:line 500
--- End of stack trace from previous location ---
   at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 63
----- Inner Stack Trace #2 (System.AggregateException) -----

----- Inner Stack Trace -----
   at System.Net.Sockets.Tests.SendReceive`1.<>c__DisplayClass7_0.<<SendRecvPollSync_TcpListener_Socket>b__1>d.MoveNext() in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendReceive/SendReceive.cs:line 536

Activity

  1. ghost added
    untriaged
    on Apr 6, 2021
  2. antonfirsov commented on Apr 6, 2021

    @antonfirsov
    Contributor

    So far this happened only on one specific machine, dci-macm1-build-004.local (socket failed with EPIPE).

    Note that this seems to be unrelated to #1479 which happens exclusively on windows, when pollBeforeOperation: False.

  3. wfurt commented on Apr 6, 2021

    @wfurt
    Member

    Interesting. Similar issue was reported with Node: nodejs/node#36826
    Perhaps time to crank tests on M1 hardware.

  4. BruceForstall commented on Apr 6, 2021

    @BruceForstall
    Contributor
  5. ghost added
    in-pr
    on Apr 13, 2021
  6. ghost removed
    in-pr
    on Apr 14, 2021
  7. sdmaclea commented on Apr 15, 2021

    @sdmaclea
    Contributor

    This is probably related to the generic runtime instability for Apple Silicon prior to macOS 11.3 Beta 6. There is an issue to update the Helix machines when Apple releases 11.3. See dotnet/core-eng#12776

  8. k15tfu commented on Apr 17, 2021

    @k15tfu
    Contributor

    Probably this one should be reopened as per #51186 (comment). // cc @MihaZupan

  9. removed
    untriaged
    on Apr 20, 2021
  10. added this to the 6.0.0 milestone on Apr 20, 2021
  11. added
    test-run-core
    on May 4, 2021
  12. karelz commented on May 10, 2021

    @karelz
    Member

    Failures during 2/23-5/10 (incl. PRs):

    Date Build / PR OS
    4/5 Official run OSX.1100.ARM64.Open
    4/5 Official run OSX.1100.ARM64.Open
    5/3 Official run OSX.1100.ARM64.Open

    Moving to Future due to low frequency.

  13. modified the milestones: 6.0.0, Future on May 10, 2021
  14. rzikm commented on Aug 1, 2024

    @rzikm
    Member

    No recent hits, not actionable at this moment, closing until issue resurfaces.

  15. locked and limited conversation to collaborators on Sep 1, 2024
  16. modified the milestones: Future, 9.0.0 on Sep 3, 2024
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

    arch-arm64area-System.Net.Socketsos-macostest-run-core

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions