Skip to content

[ci-scan] Test failure: System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin [Content truncated due to length] #133779

Closed

Description

@github-actions

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1592310
Build error leg or test failing: windows-x86 Release NativeAOT_Libs-System.Net.Http.WinHttpHandler.Functional.Tests

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

[FAIL] System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds(safeChar: '...', headerType: Cookie)
System.Net.Http.HttpRequestException : Error while copying content to a stream.
---- System.IO.IOException : The read operation failed, see inner exception.
-------- System.Net.Http.WinHttpException : Error 12030 calling WINHTTP_CALLBACK_STATUS_REQUEST_ERROR, 'The connection with the server was terminated abnormally'.
   at System.Net.Http.HttpContent.WrapStreamCopyException(Exception) in /_/src/libraries/System.Net.Http/src/System/Net/Http/HttpContent.cs:line 708
   at System.Net.Http.HttpContent.GetStreamCopyException(Exception) in /_/src/libraries/System.Net.Http/src/System/Net/Http/HttpContent.cs:line 699
   at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task, HttpContent.LimitArrayPoolWriteStream) in /_/src/libraries/System.Net.Http/src/System/Net/Http/HttpContent.cs:line 524

Observed in the NativeAOT_Libs Windows legs of runtime-nativeaot-outerloop (def 265, build 1592310) and reproduced in the following build 1593527, so the failure is stable across builds. The safeChar / headerType theory arguments vary run to run, so the signature pairs the stable test-method name with the WinHttp WINHTTP_CALLBACK_STATUS_REQUEST_ERROR error.

Error Message

{
  "ErrorMessage": [
    "PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds",
    "System.Net.Http.WinHttpException : Error 12030 calling WINHTTP_CALLBACK_STATUS_REQUEST_ERROR"
  ],
  "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


Filed by ci-failure-scan (detection only). ci-failure-fix walks open [ci-scan] KBEs and either opens a small fix PR or comments here to loop in owners — it never disables the test.

Note

This issue was generated by an AI agent (GitHub Copilot / ci-failure-scan workflow).

Generated by CI Outer-Loop Failure Scanner · opus48 · 923.9 AIC · ⌖ 12.5 AIC · ⊞ 19.7K · ◷

Report

Build Repository Test Pull Request
1602007 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1601969 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1601745 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1601744 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1601098 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1600935 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds #134139
1600748 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1600746 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1599624 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1599619 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1599622 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1598795 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds #134033
1598530 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1598405 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds #133662
1598417 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds #133659
1598030 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1598214 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds #133450
1598135 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds #132448
1598028 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1598025 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1597857 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds #133201
1597543 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds #133949
1597340 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds #133940
1597201 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1597167 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds #133935
1597127 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds #133673
1596986 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1596796 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1596674 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds #133763
1596513 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1596323 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1596641 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds #133416
1596321 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1596300 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds #133890
1596241 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds #133884
1595292 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1595348 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds #129683
1595315 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds #133378
1595259 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1595150 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds #133571
1595201 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1594919 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1594893 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds #133384
1594812 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds #132534
1594801 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1594754 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds #133828
1594695 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds #133827
1594664 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1594658 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds #133819
1594564 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1594550 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1594316 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandlerTest_Cookies_Http2.GetAsync_ReceiveSetCookieHeader_CookieAdded
1594346 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds #133800
1594333 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1594314 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds
1594067 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandlerTest_Cookies_Http2.GetAsync_ReceiveSetCookieHeader_CookieAdded
1574106 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
6 56 57

Activity

  1. dotnet-policy-service commented on Sep 14, 2026

    @dotnet-policy-service
    Contributor

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

  2. github-actions commented on Sep 15, 2026

    @github-actions
    ContributorAuthor

    Workflow artifact: ci-fix
    Artifact kind: handoff
    Linked KBE: #133779

    Note

    AI/Copilot-generated triage note.

    This Known Build Error has no producible automated code change (reason: a non-deterministic WinHTTP transport/connection failure with no clear product or test defect to correct, and any change would either be a test-disable or a speculative product change to the WinHttpHandler HTTP/2 path), so I could not open even a best-effort PR. Looping in owners so it can be fixed forward rather than muted.

    Root cause (best analysis)

    On runtime-nativeaot-outerloop (NativeAOT_Libs, windows-x86/x64), System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_Http2_Test.SendAsync_RequestWithLatin1HeaderValue_Succeeds fails when the connection is torn down mid-response:

    System.Net.Http.HttpRequestException : Error while copying content to a stream.
    ---- System.IO.IOException : The read operation failed, see inner exception.
    -------- System.Net.Http.WinHttpException : Error 12030 calling WINHTTP_CALLBACK_STATUS_REQUEST_ERROR,
             'The connection with the server was terminated abnormally'.
    

    The test sends Latin1 header values over HTTP/2 through WinHttpHandler and expects success. Error 12030 (WINHTTP_CALLBACK_STATUS_REQUEST_ERROR, connection terminated abnormally) indicates the underlying WinHTTP HTTP/2 connection was reset during the response body copy. The safeChar/headerType theory arguments vary run to run, so this is not a single-input functional defect but a connection-level failure specific to the WinHttpHandler HTTP/2 path on the NativeAOT Windows legs. Without a deterministic repro this cannot be safely fixed by an automated change, and disabling the test is not permitted here.

    Evidence

    Suggested reviewers / area contacts

    • Area owners (area-System.Net.Http): @dotnet/ncl

    A fix likely involves determining whether the WinHTTP HTTP/2 connection reset is a server/test-host teardown race (test-side) or a genuine WinHttpHandler HTTP/2 defect surfaced under NativeAOT on Windows, and hardening the appropriate side.


    Filed by ci-failure-fix, which attempts validated fixes for [ci-scan] Known Build Errors and otherwise loops in owners. Comment here or on the workflow file to suggest changes; ci-failure-scan-feedback reads in-scope feedback daily and opens (or updates) a PR with prompt edits.

    Structured data:

    {
      "artifact_kind": "handoff",
      "linked_kbe": 133779,
      "workflow_artifact": "ci-fix"
    }

    Generated by CI Outer-Loop Failure Fixer · opus48 · 764.8 AIC · ⌖ 20.8 AIC · ⊞ 19.6K · ◷

  3. dotnet-policy-service commented on Sep 15, 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.

  4. MichalStrehovsky commented on Sep 15, 2026

    @MichalStrehovsky
    Member
  5. removed
    untriagedNew issue has not been triaged by the area owner
    on Sep 15, 2026
  6. added this to the Future milestone on Sep 15, 2026
  7. modified the milestones: Future, 12.0.0 on Sep 15, 2026
  8. ManickaP commented on Sep 15, 2026

    @ManickaP
    Member

    Likely same underlying problem as #132004, however this is with WinHttpHandler.

  9. locked and limited conversation to collaborators on Oct 19, 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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions