Skip to content

[ci-scan] Test failure: System.Net.Http.WinHttpHandlerUnitTests.WinHttpHandlerTest.SendAsync_UseNoProxy_ExpectedWinHttpProxySettings #136386

Closed

Description

@EgorBo

Build Information

Build: 20261022.5 - runtime-nativeaot-outerloop
Build error leg or test failing: net11.0-windows-Release-x64-NativeAOT_Release-Windows.Server2025.Amd64.Open-System.Net.Http.WinHttpHandler.Unit.Tests
Pull request: #136308

Test result | Console log

The test sets WindowsProxyUsePolicy.DoNotUseProxy, but APICallHistory.SessionProxySettings.AccessType is 0 instead of WINHTTP_ACCESS_TYPE_NO_PROXY (1).

Build Analysis reports this failure across ten Windows NativeAOT configurations, covering x64, x86, and arm64, including Checked, SizeOpt, and SpeedOpt variants.

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. Array elements match separate lines in order.
  • Set BuildRetry to true only for a clear infrastructure retry case. ExcludeConsoleLog disables Helix console-log scanning.

Error Details

[FAIL] System.Net.Http.WinHttpHandlerUnitTests.WinHttpHandlerTest.SendAsync_UseNoProxy_ExpectedWinHttpProxySettings
Assert.Equal() Failure: Values differ
Expected: 1
Actual:   0
   at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) in /_/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Reflection/DynamicInvokeInfo.cs:line 228

Error Message

{
  "ErrorMessage": [
    "[FAIL] System.Net.Http.WinHttpHandlerUnitTests.WinHttpHandlerTest.SendAsync_UseNoProxy_ExpectedWinHttpProxySettings",
    "Assert.Equal() Failure: Values differ",
    "Expected: 1",
    "Actual:   0"
  ],
  "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

Note

This issue was prepared with GitHub Copilot assistance.

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1646114
Error message validated: [[FAIL] System.Net.Http.WinHttpHandlerUnitTests.WinHttpHandlerTest.SendAsync_UseNoProxy_ExpectedWinHttpProxySettings Assert.Equal() Failure: Values differ Expected: 1 Actual: 0]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/23/2026 9:50:05 PM UTC

Report

Build Repository Test Pull Request
1650471 dotnet/runtime System.Net.Http.WinHttpHandlerUnitTests.WinHttpHandlerTest.SendAsync_UseNoProxy_ExpectedWinHttpProxySettings
1649958 dotnet/runtime System.Net.Http.WinHttpHandlerUnitTests.WinHttpHandlerTest.SendAsync_UseNoProxy_ExpectedWinHttpProxySettings
1648995 dotnet/runtime System.Net.Http.WinHttpHandlerUnitTests.WinHttpHandlerTest.SendAsync_UseNoProxy_ExpectedWinHttpProxySettings
1648973 dotnet/runtime System.Net.Http.WinHttpHandlerUnitTests.WinHttpHandlerTest.SendAsync_UseNoProxy_ExpectedWinHttpProxySettings #136357
1648550 dotnet/runtime System.Net.Http.WinHttpHandlerUnitTests.WinHttpHandlerTest.SendAsync_UseNoProxy_ExpectedWinHttpProxySettings
1648314 dotnet/runtime System.Net.Http.WinHttpHandlerUnitTests.WinHttpHandlerTest.SendAsync_UseNoProxy_ExpectedWinHttpProxySettings
1648173 dotnet/runtime System.Net.Http.WinHttpHandlerUnitTests.WinHttpHandlerTest.SendAsync_UseNoProxy_ExpectedWinHttpProxySettings
1647906 dotnet/runtime System.Net.Http.WinHttpHandlerUnitTests.WinHttpHandlerTest.SendAsync_UseNoProxy_ExpectedWinHttpProxySettings
1647355 dotnet/runtime System.Net.Http.WinHttpHandlerUnitTests.WinHttpHandlerTest.SendAsync_UseNoProxy_ExpectedWinHttpProxySettings
1646114 dotnet/runtime System.Net.Http.WinHttpHandlerUnitTests.WinHttpHandlerTest.SendAsync_UseNoProxy_ExpectedWinHttpProxySettings #136308

Summary

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

Activity

  1. added
    blocking-clean-ci
    Known Build Error
    on Oct 23, 2026
  2. added
    untriaged
    on Oct 23, 2026
  3. dotnet-policy-service commented on Oct 23, 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. ManickaP commented on Oct 28, 2026

    @ManickaP
    Member

    Fixed by #136470

  5. removed
    untriaged
    on Oct 28, 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 Errorarea-System.Net.Httpblocking-clean-ci

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions