Skip to content

[ci-scan] Test failure: System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_MaxResponseHeadersLength_Http11.LargeHeaders_TrickledOverTime_ProcessedEfficiently (Windows x86 OOM) #135646

Open

Description

@ViveliDuCh

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1623130
Build error leg or test failing: net11.0-windows-Release-x86-coreclr_release-Windows.Server2025.Amd64.Open - System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_MaxResponseHeadersLength_Http11.LargeHeaders_TrickledOverTime_ProcessedEfficiently
Pull request: #133337

Configuration: Windows Server 2025, x86 test process, Release CoreCLR and Release libraries, release/11.0.
Tested merge commit: d670a0e1ae864b9b068f97c0e14ac1cbbd8c3bfb.
Failing arguments: trailingHeaders: True, async: True, lineFolds: True.

Test result
Console log

KBE authoring guidance (ci-failure-scan)
  • Error Details is for readers. Paste the full exception, stack trace, or build error excerpt so the failure is understandable without opening the raw log.
  • Build Analysis parses only the single JSON block under Error Message.
  • ErrorMessage is a case-sensitive ordinal String.Contains substring copied verbatim from the failing log.
  • Set BuildRetry to true only for a clear infrastructure retry case. ExcludeConsoleLog disables Helix console-log scanning.

Error Details

The async HTTP/1.1 trailer case fails while converting the large parsed header value into a string. The other seven argument combinations passed. The work item reported 5,476 tests, one failure, 49 skips, and 318.647 seconds.

System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_MaxResponseHeadersLength_Http11.LargeHeaders_TrickledOverTime_ProcessedEfficiently(trailingHeaders: True, async: True, lineFolds: True) [FAIL]
  System.OutOfMemoryException : Exception of type 'System.OutOfMemoryException' was thrown.
  Stack Trace:
    /_/src/libraries/System.Private.CoreLib/src/System/String.cs(552,0): at System.String.CreateStringFromEncoding(Byte* bytes, Int32 byteLength, Encoding encoding)
    /_/src/libraries/System.Net.Http/src/System/Net/Http/Headers/HeaderDescriptor.cs(174,0): at System.Net.Http.Headers.HeaderDescriptor.GetHeaderValue(ReadOnlySpan`1 headerValue, Encoding valueEncoding)
    /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnection.cs(1303,0): at System.Net.Http.HttpConnection.AddResponseHeader(ReadOnlySpan`1 name, ReadOnlySpan`1 value, HttpResponseMessage response, Boolean isFromTrailer)
    /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnection.cs(1212,0): at System.Net.Http.HttpConnection.ParseHeadersCore(Span`1 buffer, HttpResponseMessage response, Boolean isFromTrailer)
    /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(320,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadChunkFromConnectionBuffer(Int32 maxBytesToRead, CancellationTokenRegistration cancellationRegistration)
    /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(263,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.CopyToAsyncCore(Stream destination, CancellationToken cancellationToken)
    /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(248,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.CopyToAsync(Stream destination, Int32 bufferSize, CancellationToken cancellationToken)
    /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionResponseContent.cs(61,0): at System.Net.Http.HttpConnectionResponseContent.<SerializeToStreamAsync>g__Impl|6_0(Stream stream, CancellationToken cancellationToken)
    /_/src/libraries/System.Net.Http/src/System/Net/Http/HttpContent.cs(518,0): at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, LimitArrayPoolWriteStream tempBuffer)
    /_/src/libraries/System.Net.Http/src/System/Net/Http/HttpContent.cs(512,0): at System.Net.Http.HttpContent.LoadIntoBufferAsync(Int64 maxBufferSize, CancellationToken cancellationToken)
    /_/src/libraries/System.Net.Http/src/System/Net/Http/HttpClient.cs(556,0): at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
    /_/src/libraries/System.Net.Http/tests/FunctionalTests/SocketsHttpHandlerTest.cs(1963,0): at System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_MaxResponseHeadersLength_Http11.LargeHeaders_TrickledOverTime_ProcessedEfficiently(Boolean trailingHeaders, Boolean async, Boolean lineFolds)
    --- End of stack trace from previous location ---

Error Message

{
  "ErrorMessage": [
    "set __TestArchitecture=x86",
    "System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_MaxResponseHeadersLength_Http11.LargeHeaders_TrickledOverTime_ProcessedEfficiently(trailingHeaders: True, async: True, lineFolds: True) [FAIL]",
    "System.OutOfMemoryException : Exception of type 'System.OutOfMemoryException' was thrown."
  ],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Agentic workflow metadata (ci-failure-scan)

Workflow artifact: ci-failure-scan
Artifact kind: kbe-verification
Verified match count: 1 hits in failure.log

All three literal elements matched once, in order, in the linked console log. No signature element matched a [PASS] or [SKIP] line. The architecture element narrows automatic matching to x86 test processes.

Investigation context

Related issue #77474 was closed, but covered a different configuration: 32-bit Android rather than Windows x86.

Note

This issue was prepared with GitHub Copilot assistance.

Report

Build Repository Test Pull Request
1633955 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_MaxResponseHeadersLength_Http11.LargeHeaders_TrickledOverTime_ProcessedEfficiently #135424
1623130 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_MaxResponseHeadersLength_Http11.LargeHeaders_TrickledOverTime_ProcessedEfficiently #133337

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 1 2

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1623130
Error message validated: [set __TestArchitecture=x86 System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_MaxResponseHeadersLength_Http11.LargeHeaders_TrickledOverTime_ProcessedEfficiently(trailingHeaders: True, async: True, lineFolds: True) [FAIL] System.OutOfMemoryException : Exception of type 'System.OutOfMemoryException' was thrown.]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/12/2026 10:55:43 PM UTC

Activity

  1. added
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    Known Build ErrorUse this to report build issues in the .NET Helix tab
    on Oct 12, 2026
  2. dotnet-policy-service commented on Oct 12, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @karelz, @dotnet/ncl
    See info in area-owners.md if you want to be subscribed.

  3. changed the title [-][ci-scan] Test failure: System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_MaxResponseHeadersLength_Http11.LargeHeaders_TrickledOverTime_ProcessedEfficiently (Windows x86 OOM)[/-] [+][ci-scan] Test failure: LargeHeaders_TrickledOverTime_ProcessedEfficiently (Windows x86 OOM)[/+] on Oct 12, 2026
  4. changed the title [-][ci-scan] Test failure: LargeHeaders_TrickledOverTime_ProcessedEfficiently (Windows x86 OOM)[/-] [+] [ci-scan] Test failure: System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_MaxResponseHeadersLength_Http11.LargeHeaders_TrickledOverTime_ProcessedEfficiently (Windows x86 OOM)[/+] on Oct 12, 2026
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

    Known Build ErrorUse this to report build issues in the .NET Helix tabarea-System.Net.Httpblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'untriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions