Test System.Net.Security.Tests failed with UnknownCredentials

Open
#137,966 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp
Domain
backend, testing

Research direction

Start with src/libraries/System.Net.Security/tests/FunctionalTests/NegotiateAuthenticationKerberosTest.cs, especially RemoteIdentity_WithPac_HasSidClaims and AuthenticateLoopback around the reported failure at line 202. Review the build and console logs to identify why client authentication returns UnknownCredentials on Linux ARM64. Done means the cause is understood and the test passes in the affected environment.

Written by the indexing model from the issue text.

Description

area-System.Net.Security blocking-clean-ci-optional Known Build Error untriaged

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1689546
Build error leg or test failing: System.Net.Security.Tests.NegotiateAuthenticationKerberosTest.RemoteIdentity_WithPac_HasSidClaims

Console Log: console log
Source: runtime-coreclr libraries-jitstress / net12.0-linux-Release-arm64-disabler2r-AzureLinux.3.Arm64.Open / System.Net.Security.Tests.NegotiateAuthenticationKerberosTest.RemoteIdentity_WithPac_HasSidClaims

Error Detail

System.Net.Security.Tests.NegotiateAuthenticationKerberosTest.RemoteIdentity_WithPac_HasSidClaims [FAIL]
      Microsoft.DotNet.RemoteExecutor.RemoteExecutionException : Remote process failed with an unhandled exception.
      Stack Trace:
        
        Child exception:
          Xunit.Sdk.TrueException: Client authentication failed with UnknownCredentials
        /_/src/libraries/System.Net.Security/tests/FunctionalTests/NegotiateAuthenticationKerberosTest.cs(202,0): at System.Net.Security.Tests.NegotiateAuthenticationKerberosTest.AuthenticateLoopback()
        /_/src/libraries/System.Net.Security/tests/FunctionalTests/NegotiateAuthenticationKerberosTest.cs(155,0): at System.Net.Security.Tests.NegotiateAuthenticationKerberosTest.<>c.<RemoteIdentity_WithPac_HasSidClaims>b__8_0()
        /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/IntrinsicInvokeHelper.cs(837,0): at System.Reflection.IntrinsicInvokeHelper.Instance_Void_0(IntPtr fn, Object obj, IntPtr* _, RuntimeType __)
        /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/IntrinsicInvokeHelper.cs(77,0): at System.Reflection.IntrinsicInvokeHelper.Invoke(InvokeState& state, InvokerStrategy& strategy, InvokeFunc_RefArgs& invokeFunc, MethodBase method, RuntimeType[] argumentTypes, Object obj, IntPtr* args, Boolean backwardsCompat)
        /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs(57,0): at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
 

Error Message

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

{
  "ErrorMessage": ["System.Net.Security.Tests", "Client authentication failed with UnknownCredentials"],
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1689546
Error message validated: [System.Net.Security.Tests Client authentication failed with UnknownCredentials]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 11/20/2026 1:45:25 AM UTC

Report
Build Repository Test Pull Request
1689546 dotnet/runtime System.Net.Security.Tests.NegotiateAuthenticationKerberosTest.RemoteIdentity_WithPac_HasSidClaims
Summary
24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 1 1
Dominant language
C#
Stars
18.5k
Forks
5.8k
Avg merge
2d 18h
Merged PRs (30d)
588

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/runtime

All issues in dotnet/runtime

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.