Commit 1e858b6
Disable ProxySetViaEnvironmentVariable_DefaultProxyCredentialsUsed on macOS (#125170)
Fixes #125150
main PR: N/A — this is a test-only change specific to .NET 8 (the
underlying macOS GSS bug doesn't affect .NET 9+ which uses managed
NTLM/SPNEGO).
# Description
Skip the `ProxySetViaEnvironmentVariable_DefaultProxyCredentialsUsed`
test on macOS. The test crashes with SIGABRT (exit code 134) on macOS 14
due to a double-free bug in Apple's GSS framework
(`_gss_scram_release_cred`) when cleaning up SPNEGO/Negotiate
authentication contexts via `NetSecurityNative_DeleteSecContext`. This
is the same underlying issue as #97966 and #71463.
# Customer Impact
None. This is a test-only change — no product code is modified.
# Regression
No. The crash is caused by a bug in Apple's macOS GSS framework, not by
a .NET code change. It started appearing in CI after the macOS build
images were updated (PR #122423), and has been failing since build
1252235 (Jan 13, 2026).
# Testing
No additional testing needed. The change only adds a `[SkipOnPlatform]`
attribute to skip one test on macOS.
# Risk
Low. This is a single-line test attribute addition that skips a test
known to crash due to an external (Apple) bug. No product code is
changed.
# Package authoring signed off?
N/A — no package/product code changes.
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent 528f673 commit 1e858b6
File tree
1 file changed
+1
-0
lines changed- src/libraries/Common/tests/System/Net/Http
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
0 commit comments