Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[ci-scan] Test failure: System.Net.Tests.HttpResponseStreamTests.Write_ContentToClosedConnectionSynchronously_ThrowsHttpListener [Content truncated due to length] #130278

Copy link
Copy link

Description

@github-actions
Issue body actions

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 / iossimulator AllSubsets_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.

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.

  • #107364 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #107364 issue_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #114222 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #127541 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #112093 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #119449 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #130105 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #93686 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #76917 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #71338 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #83890 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #71472 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #78657 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #80356 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #10055 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #56073 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • ... and 15 more items

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

Generated by CI Outer-Loop Failure Scanner · ● 18.6M ·

Report

Build Repository Test Pull Request
1502636 dotnet/runtime System.Net.HttpListener.Tests.WorkItemExecution
1501158 dotnet/runtime System.Net.HttpListener.Tests.WorkItemExecution #130402
1500869 dotnet/runtime System.Net.HttpListener.Tests.WorkItemExecution #130340
1500658 dotnet/runtime System.Net.HttpListener.Tests.WorkItemExecution
1500276 dotnet/runtime System.Net.HttpListener.Tests.WorkItemExecution #130269
1499654 dotnet/runtime System.Net.HttpListener.Tests.WorkItemExecution #130328
1499832 dotnet/runtime System.Net.HttpListener.Tests.WorkItemExecution #130341
1499581 dotnet/runtime System.Net.HttpListener.Tests.WorkItemExecution #130360
1496784 dotnet/runtime System.Net.HttpListener.Tests.WorkItemExecution #130292

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 9
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.