You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ci-scan] Test failure: System.Net.Tests.HttpResponseStreamTests.Write_ContentToClosedConnectionSynchronously_ThrowsHttpListener
[Content truncated due to length] #130278
On the Apple NativeAOT library-test legs (maccatalyst / iossimulatorAllSubsets_NativeAOT), HttpResponseStreamTests.Write_ContentToClosedConnectionSynchronously_ThrowsHttpListenerException fails its Assert.Throws check. Writing to an already-closed connection does not raise on the Darwin/Apple socket stack, so the expected HttpListenerException is never thrown:
[FAIL] System.Net.Tests.HttpResponseStreamTests.Write_ContentToClosedConnectionSynchronously_ThrowsHttpListenerException(ignoreWriteExceptions: False)
Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.Net.HttpListenerException)
at System.Net.Tests.HttpResponseStreamTests.<Write_ContentToClosedConnectionSynchronously_ThrowsHttpListenerException>d__20.MoveNext() in /_/src/libraries/System.Net.HttpListener/tests/HttpResponseStreamTests.cs:line 449
The test carries [ActiveIssue(".../issues/21590", TestPlatforms.OSX | TestPlatforms.FreeBSD)], but that skip does not include TestPlatforms.MacCatalyst, so it runs and fails on the maccatalyst NativeAOT leg. NativeAOT library tests on Apple mobile were newly enabled by #125437 (merged 2026-07-02); the failure first appears on build 1492684 (2026-07-03) and reproduces on follow-up build 1494829. The ...Asynchronously... sibling variant of the same behavioural difference is catalogued in the Apple-mobile NativeAOT tracker #126697. Sibling Apple-NativeAOT library-test failures from the same source build are tracked by #130253 and #130254.
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1494308
Build error leg or test failing: maccatalyst-x64 Release AllSubsets_NativeAOT - System.Net.HttpListener.Tests
Error Details
On the Apple NativeAOT library-test legs (
maccatalyst/iossimulatorAllSubsets_NativeAOT),HttpResponseStreamTests.Write_ContentToClosedConnectionSynchronously_ThrowsHttpListenerExceptionfails itsAssert.Throwscheck. Writing to an already-closed connection does not raise on the Darwin/Apple socket stack, so the expectedHttpListenerExceptionis never thrown:The test carries
[ActiveIssue(".../issues/21590", TestPlatforms.OSX | TestPlatforms.FreeBSD)], but that skip does not includeTestPlatforms.MacCatalyst, so it runs and fails on the maccatalyst NativeAOT leg. NativeAOT library tests on Apple mobile were newly enabled by #125437 (merged 2026-07-02); the failure first appears on build 1492684 (2026-07-03) and reproduces on follow-up build 1494829. The...Asynchronously...sibling variant of the same behavioural difference is catalogued in the Apple-mobile NativeAOT tracker #126697. Sibling Apple-NativeAOT library-test failures from the same source build are tracked by #130253 and #130254.First build it occurred: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1492684
Related: #126697
Error Message
{ "ErrorMessage": [ "[FAIL] System.Net.Tests.HttpResponseStreamTests.Write_ContentToClosedConnectionSynchronously_ThrowsHttpListenerException", "Expected: typeof(System.Net.HttpListenerException)" ], "ErrorPattern": "", "BuildRetry": false, "ExcludeConsoleLog": false }Note
🔒 Integrity filter blocked 31 items
The following items were blocked because they don't meet the GitHub integrity level.
search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".issue_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".To allow these resources, lower
min-integrityin your GitHub frontmatter:Report
Summary