Repository navigation
Description
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1691730
Build error leg or test failing: windows-x64 Release NativeAOT_Libs-System.Net.Security.Tests / NegotiateStreamStreamToStreamTest NotEncrypted authentication
Pipeline: runtime-nativeaot-outerloop, definition 265, main.
Platform: Windows x64; queue: windows.10.amd64.serverrs5.open.rt. No JIT stress mode.
First build it occurred: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1686337 (finished 2026-11-18T00:54:21Z; earliest verified occurrence in the sampled window).
Follow-up build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1692920 (finished 2026-11-21T03:01:51Z), same six assertion failures.
KBE authoring guidance (ci-failure-scan)
Error Detailsis 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. ErrorPatternuses .NETSingleline | IgnoreCase | NonBacktrackingmatching with a 50ms-per-line timeout.- Keep the regex anchored, prefer
[^\n]*over.*, and avoid catastrophic backtracking. - Set
BuildRetrytotrueonly for a clear infrastructure retry case.ExcludeConsoleLogdisables Helix console-log scanning.
Error Details
Six NotEncrypted cases fail with expected False, actual True: synchronous and asynchronous-memory variants of NegotiateStream_StreamToStream_Authentication_Success (delay 0 and 1) and NegotiateStream_StreamToStream_Authentication_TargetName_Success. These form one authentication/encryption assertion shape, not six independently filed failures. The underlying cause is not established.
The same six failing cases were verified in five preceding builds (1686337, 1687417, 1688707, 1689636, 1690856), source 1691730, and follow-up 1692920: seven distinct builds. Ten preceding completed build inventories were inspected; the five older monitor reports do not identify a failed System.Net.Security.Tests work item. Multiple cases within one build count as one occurrence, not six.
The separate NegotiateStream_SecurityRequirmentNotMeet_Throws failure in this work item has a different exception assertion and is not matched by this KBE.
Representative complete assertion and stack:
[FAIL] System.Net.Security.Tests.NegotiateStreamStreamToStreamTest_Async_Memory_NotEncrypted.NegotiateStream_StreamToStream_Authentication_TargetName_Success
Assert.Equal() Failure: Values differ
Expected: False
Actual: True
at System.Net.Security.Tests.NegotiateStreamStreamToStreamTest.NegotiateStream_StreamToStream_Authentication_TargetName_Success() in /_/src/libraries/System.Net.Security/tests/FunctionalTests/NegotiateStreamStreamToStreamTest.cs:line 160
--- End of stack trace from previous location ---
Error Message
{
"ErrorMessage": "",
"ErrorPattern": [
"^\\[FAIL\\] System\\.Net\\.Security\\.Tests\\.NegotiateStreamStreamToStreamTest_(Async_Memory|Sync)_NotEncrypted\\.NegotiateStream_StreamToStream_Authentication_(TargetName_)?Success\\b[^\\n]*",
"^Assert\\.Equal\\(\\) Failure: Values differ",
"^Expected: False",
"^Actual: True"
],
"BuildRetry": false,
"ExcludeConsoleLog": false
}Agentic workflow metadata (ci-failure-scan)
Workflow artifact: ci-failure-scan
Artifact kind: kbe-verification
Verified match count: 6 hits in failure.log
Each regex element matches six lines in the saved canonical source console. All four elements match in order for each of the six failing cases; PASS/SKIP negative output is empty. The first pattern enumerates the actual complete method names and runtime-test variants rather than a truncated test-name wildcard. A regex array is used because one literal test identifier cannot cover both complete authentication method names without dropping the failing-test anchor.
Filed by ci-failure-scan (detection only). ci-failure-fix walks open [ci-scan] KBEs and either opens a small fix PR or comments here to loop in owners — it never disables the test.
Note
Generated by GitHub Copilot.
Generated by CI Outer-Loop Failure Scanner · copilot · gpt61 · ~181 AIC · ⌖ ~13 AIC · ⊞ 33.5K · ◷
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 6 | 11 | 11 |
Activity
dotnet-policy-service commentedon Nov 23, 2026
Tagging subscribers to this area: @dotnet/ncl, @bartonjs, @vcsjones
See info in area-owners.md if you want to be subscribed.
Account for default Windows NTLM signing in NegotiateStream tests (do…