[Test Failure] NoClientCert_DefaultValue_ResumeSucceeds fails to resume TLS 1.3
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 18/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- csharp
- 领域
- networking
调研方向
The failing assertion is in SslStreamTlsResumeTests.RunConnectionAsync in src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamAllowTlsResumeTests.cs, reached through ResumeSucceedsInternal. Start by reading those two methods and the Tls13 parameter setup, then compare with the linked pull request #138078 and the historical reports in #103354 and #131992. Done means finding why resumption does not occur on Windows Server 2025 and the test passing, which is not established yet.
由索引模型根据 Issue 内容生成。
描述
Description
Track recurring SslStreamTlsResumeTests.NoClientCert_DefaultValue_ResumeSucceeds(sslProtocol: Tls13) failures where TLS session resumption is expected but does not occur.
The current occurrence is on Windows Server 2025 in a release/11.0 test-only cryptography backport. The completed Build Analysis report lists it as unmatched. The backport changes only EC explicit-curve test capability detection, not SslStream or TLS implementation/tests.
Reproduction Steps
Run the System.Net.Security.Tests CI work item in the configuration below. No deterministic local reproduction has been established.
Expected behavior
The connection resumes its TLS 1.3 session and the resumption assertion returns True.
Actual behavior
The resumption assertion returns False; the work item reports one failed test.
Regression?
Unknown. Historical occurrences exist, but a shared root cause has not been established.
Known Workarounds
None verified for the current Windows occurrence. Automatic build retries are disabled for this KBE.
Configuration
net11.0-windows-Debug-x64-coreclr_release-Windows.Server2025.Amd64.Open
Other information
Closed #103354 contains the exact test, TLS 1.3 parameter, and assertion in a comment, but that occurrence was investigated as an Ubuntu 18.04/OpenSSL issue. Its matcher targets a different test.
Closed #131992 has a historical report entry for this exact test on a Windows TLS-resumption issue, but its configured matcher targets other tests.
This KBE tracks the failure signature, not a confirmed common cause. The matcher intentionally contains no OS restriction so the same signature can be tracked across configurations; unrelated TLS-resumption assertions are excluded by the exact test and parameter.
Validation with Test-KnownIssuePattern.ps1: PASS against lines 121-124 of the current full console log, and PASS against the historical four-line failure excerpt quoted in #103354. The historical full console log was not revalidated.
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1693636
Leg Name: net11.0-windows-Debug-x64-coreclr_release-Windows.Server2025.Amd64.Open
Pull request: https://github.com/dotnet/runtime/pull/138078
Error Details
System.Net.Security.Tests.SslStreamTlsResumeTests.NoClientCert_DefaultValue_ResumeSucceeds(sslProtocol: Tls13) [FAIL]
Assert.Equal() Failure: Values differ
Expected: True
Actual: False
Stack Trace:
/_/src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamAllowTlsResumeTests.cs(256,0): at System.Net.Security.Tests.SslStreamTlsResumeTests.RunConnectionAsync(SslServerAuthenticationOptions serverOptions, SslClientAuthenticationOptions clientOptions, Nullable`1 expectResume)
/_/src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamAllowTlsResumeTests.cs(240,0): at System.Net.Security.Tests.SslStreamTlsResumeTests.ResumeSucceedsInternal(SslServerAuthenticationOptions serverOptions, SslClientAuthenticationOptions clientOptions)
--- End of stack trace from previous location ---
Error Message
{
"ErrorMessage": [
"System.Net.Security.Tests.SslStreamTlsResumeTests.NoClientCert_DefaultValue_ResumeSucceeds(sslProtocol: Tls13) [FAIL]",
"Assert.Equal() Failure: Values differ",
"Expected: True",
"Actual: False"
],
"BuildRetry": false,
"ExcludeConsoleLog": false
}
[!NOTE]
This issue was generated by GitHub Copilot.
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1693636
Error message validated: [System.Net.Security.Tests.SslStreamTlsResumeTests.NoClientCert_DefaultValue_ResumeSucceeds(sslProtocol: Tls13) [FAIL] Assert.Equal() Failure: Values differ Expected: True Actual: False]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 11/22/2026 11:53:48 PM UTC
Report
| Build | Repository | Test | Pull Request |
|---|---|---|---|
| 1693636 | dotnet/runtime | System.Net.Security.Tests.SslStreamTlsResumeTests.NoClientCert_DefaultValue_ResumeSucceeds | dotnet/runtime#138078 |
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
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
dotnet/runtime 的其他 Issue
-
area-CodeGen-coreclr untriaged
难度 2/5 1-3 小时 新手友好度 65/100
dotnet/runtime#138181 · 1 条评论 ·
维护者通常 1 天内回复
-
area-System.Collections untriaged
难度 2/5 1-3 小时 新手友好度 82/100
dotnet/runtime#138090 · 1 条评论 ·
维护者通常 1 天内回复
-
area-System.Text.Json untriaged
难度 2/5 1-3 小时 新手友好度 72/100
dotnet/runtime#138089 · 1 条评论 ·
维护者通常 1 天内回复
-
area-Setup untriaged
难度 2/5 1-3 小时 新手友好度 76/100
dotnet/runtime#137376 · 1 条评论 ·
维护者通常 1 天内回复
-
area-System.Memory untriaged
难度 2/5 1-3 小时 新手友好度 75/100
dotnet/runtime#137334 · 4 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
Add `net10.0`未关闭
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 66/100
dotnet-outdated/dotnet-outdated#871 ·
维护者通常 1 天内回复
-
triage/untriaged
难度 2/5 1-3 小时 新手友好度 78/100
unoplatform/uno#26676 ·
维护者通常 1 天内回复
-
.NET bug
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
jhaizhou-ops/S2Arm#2177 · 3 条评论 ·
维护者通常 1 天内回复