Skip to content

CI: System.ArgumentException : The supplied System.Net.Internals.SocketAddress is an invalid size for the System.Net.IPEndPoint end point. #40913

Description

@benaadams

Libraries Test Run release coreclr OSX x64 Debug failed

/private/tmp/helix/working/C0070A33/w/AA2A094E/e /private/tmp/helix/working/C0070A33/w/AA2A094E/e
  Discovering: System.Net.Sockets.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Net.Sockets.Tests (found 816 of 1231 test cases)
  Starting:    System.Net.Sockets.Tests (parallel test collections = on, max threads = 4)
    System.Net.Sockets.Tests.DualModeAccept.AcceptV4BoundToAnyV6_Success [FAIL]
      System.ArgumentException : The supplied System.Net.Internals.SocketAddress is an invalid size for the System.Net.IPEndPoint end point. (Parameter 'socketAddress')
      Stack Trace:
        /_/src/libraries/Common/src/System/Net/Internals/IPEndPointExtensions.cs(36,0): at System.Net.Sockets.IPEndPointExtensions.Create(EndPoint thisObj, SocketAddress socketAddress)
        /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.cs(1116,0): at System.Net.Sockets.Socket.Accept()
        /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/DualModeSocketTest.cs(765,0): at System.Net.Sockets.Tests.DualModeAccept.Accept_Helper(IPAddress listenOn, IPAddress connectTo)
        /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/DualModeSocketTest.cs(755,0): at System.Net.Sockets.Tests.DualModeAccept.AcceptV4BoundToAnyV6_Success()
    System.Net.Sockets.Tests.CreateSocket.Ctor_Raw_Supported_Success [SKIP]
      Condition(s) not met: "SupportsRawSockets"
  Finished:    System.Net.Sockets.Tests

https://helix.dot.net/api/2019-06-17/jobs/cbdca4c0-455d-445a-b4be-f66a996ae91b/workitems/System.Net.Sockets.Tests/console

Seen in #40877

https://dev.azure.com/dnceng/public/_build/results?buildId=773532&view=logs&jobId=4724cd84-0a26-56bc-9b1d-ca1983f340b0&j=4724cd84-0a26-56bc-9b1d-ca1983f340b0&t=522fb2d8-007e-5c8a-7842-66e99f004601

Activity

  1. added this to the 5.0.0 milestone on Aug 17, 2020
  2. added and removed
    untriagedNew issue has not been triaged by the area owner
    on Aug 17, 2020
  3. karelz commented on Aug 18, 2020

    @karelz
    Member

    Triage: Single occurrence in last 3-6 months.
    We should assess if it is a regression in 5.0 - we changed the code around it. The failure is suspicious.
    If we don't have anything useful, ok to punt it to 6.0.

  4. wfurt commented on Aug 18, 2020

    @wfurt
    Member

    The relevant code is:

              if (family == AddressFamily.InterNetwork || family == AddressFamily.InterNetworkV6)
                {
                    if (socketAddress.Size < 8)
                    {
                        throw new ArgumentException(SR.Format(SR.net_InvalidSocketAddressSize, socketAddress.GetType().FullName, thisObj.GetType().FullName), nameof(socketAddress));
                    }
    
                    return socketAddress.GetIPEndPoint();
                }
  5. karelz commented on Aug 25, 2020

    @karelz
    Member

    Triage: @MihaZupan can you please look at test history? Thanks!

  6. modified the milestones: 5.0.0, 6.0.0 on Aug 25, 2020
  7. MihaZupan commented on Aug 25, 2020

    @MihaZupan
    Member

    Only one failure in history - on the linked PR.

  8. karelz commented on May 10, 2021

    @karelz
    Member

    No failure between 2/23-5/10 (incl. PRs). Closing.

  9. ghost locked as resolved and limited conversation to collaborators on Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions