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 / NegotiateStreamInvalidOperationTest.NegotiateStream_SecurityRequirmentNotMeet_Throws
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 missing-exception assertion.
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. ErrorMessageis a case-sensitive ordinalString.Containssubstring copied verbatim from the failing log.- Set
BuildRetrytotrueonly for a clear infrastructure retry case.ExcludeConsoleLogdisables Helix console-log scanning.
Error Details
Both authentication operations finish without the AuthenticationException that the test expects when security requirements are not met. The test reports an AggregateException containing the two failed Assert.Throws assertions. The underlying cause is not established.
The failing-test marker and expected AuthenticationException 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. Repeated inner exceptions within one console count as one build occurrence.
Related: #138073 tracks the NotEncrypted authentication cases in the same work item, which fail with an expected-False/actual-True assertion rather than a missing AuthenticationException.
[FAIL] System.Net.Security.Tests.NegotiateStreamInvalidOperationTest.NegotiateStream_SecurityRequirmentNotMeet_Throws
System.AggregateException : One or more errors occurred. (Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.Security.Authentication.AuthenticationException)) (Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.Security.Authentication.AuthenticationException))
---- Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.Security.Authentication.AuthenticationException)
---- Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.Security.Authentication.AuthenticationException)
at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[]) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 87
--- End of stack trace from previous location ---
at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[], Int32) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 54
at System.Net.Security.Tests.NegotiateStreamInvalidOperationTest.NegotiateStream_SecurityRequirmentNotMeet_Throws() in /_/src/libraries/System.Net.Security/tests/FunctionalTests/NegotiateStreamInvalidOperationTest.cs:line 222
--- End of stack trace from previous location ---
--- End of stack trace from previous location ---
--- End of stack trace from previous location ---
----- Inner Stack Trace #1 (Xunit.Sdk.ThrowsException) -----
--- End of stack trace from previous location ---
Error Message
{
"ErrorMessage": [
"[FAIL] System.Net.Security.Tests.NegotiateStreamInvalidOperationTest.NegotiateStream_SecurityRequirmentNotMeet_Throws",
"Assert.Throws() Failure: No exception was thrown",
"Expected: typeof(System.Security.Authentication.AuthenticationException)"
],
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}Agentic workflow metadata (ci-failure-scan)
Workflow artifact: ci-failure-scan
Artifact kind: kbe-verification
Verified match count: 1 hits in failure.log
The failing-test marker matches once; the missing-exception diagnostic and expected-type element each match four lines in the saved canonical source console. They match in order in this test's AggregateException output, with no PASS/SKIP matches. Repeated inner-exception text is not counted as multiple build occurrences.
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…