Test System.Net.Security.Tests failed with UnknownCredentials

未关闭
#137,966 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
csharp
领域
backend, testing

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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
主要语言
C#
星标
18.5k
派生
5.8k
平均合并
2 天 18 小时
30 天内合并 PR
588

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

dotnet/runtime 的其他 Issue

查看 dotnet/runtime 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。