Skip to content

[Test Failure] System.Net.Sockets.Tests.SendFile_NonParallel_Task.GreaterThan2GBFile_SendsAllBytes on Windows #122916

@rzikm

Description

@rzikm

Likely caused by #120634

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1241277
Build error leg or test failing: System.Net.Sockets.Tests.SendFile_NonParallel_Task.GreaterThan2GBFile_SendsAllBytes
Pull request:

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": ["System.Net.Sockets.Tests.SendFile_NonParallel_Task.GreaterThan2GBFile_SendsAllBytes [FAIL]","System.IndexOutOfRangeException : Index was outside the bounds of the array"],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
C:\h\w\A44808DC\w\984208CC\e>"C:\h\w\A44808DC\p\dotnet.exe" exec --runtimeconfig System.Net.Sockets.Tests.runtimeconfig.json --depsfile System.Net.Sockets.Tests.deps.json xunit.console.dll System.Net.Sockets.Tests.dll -xml testResults.xml -nologo -nocolor -trait category=OuterLoop -notrait category=IgnoreForCI -notrait category=failing  
  Discovering: System.Net.Sockets.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Net.Sockets.Tests (found 226 of 1874 test cases)
  Starting:    System.Net.Sockets.Tests (parallel test collections = on [2 threads], stop on fail = off)
    System.Net.Sockets.Tests.SendFile_NonParallel_Task.GreaterThan2GBFile_SendsAllBytes [FAIL]
      System.IndexOutOfRangeException : Index was outside the bounds of the array.
      Stack Trace:
        /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/SocketAsyncEventArgs.Windows.cs(1039,0): at System.Net.Sockets.SocketAsyncEventArgs.SetupPinHandlesSendPackets(SendPacketsElement[] sendPacketsElementsCopy, Int32 sendPacketsElementsFileCount, Int32 sendPacketsElementsFileStreamCount, Int32 sendPacketsElementsBufferCount)
        /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/SocketAsyncEventArgs.Windows.cs(825,0): at System.Net.Sockets.SocketAsyncEventArgs.DoOperationSendPackets(Socket socket, SafeSocketHandle handle, CancellationToken cancellationToken)
        /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.cs(3236,0): at System.Net.Sockets.Socket.SendPacketsAsync(SocketAsyncEventArgs e, CancellationToken cancellationToken)
        /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs(1154,0): at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.SendPacketsAsync(Socket socket, CancellationToken cancellationToken)
        /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs(784,0): at System.Net.Sockets.Socket.SendFileAsync(String fileName, ReadOnlyMemory`1 preBuffer, ReadOnlyMemory`1 postBuffer, TransmitFileOptions flags, CancellationToken cancellationToken)
        /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs(709,0): at System.Net.Sockets.Socket.SendFileAsync(String fileName, CancellationToken cancellationToken)
        /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SocketTestHelper.cs(247,0): at System.Net.Sockets.Tests.SocketHelperTask.SendFileAsync(Socket s, String fileName)
        /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SocketTestHelper.cs(445,0): at System.Net.Sockets.Tests.SocketTestHelperBase`1.SendFileAsync(Socket s, String fileName)
        /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendFile.cs(507,0): at System.Net.Sockets.Tests.SendFile_NonParallel`1.GreaterThan2GBFile_SendsAllBytes()
        --- End of stack trace from previous location ---
    System.Net.Sockets.Tests.SendFile_NonParallel_Apm.GreaterThan2GBFile_SendsAllBytes [FAIL]

Metadata

Metadata

Assignees

Labels

Known Build ErrorUse this to report build issues in the .NET Helix tabarea-System.Net.Socketsblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions