Skip to content

Plain HTTP About test reports a refused interaction request at teardown #4386

Closed

Description

@leaf-agent

Push CI run 40459654718, on 11c033c1d28de7e4869b0af9d87acbf767da998c, fails tests/browser/test_page_inspection.py::test_about_copy_on_plain_http_machine_name.

The case completes its test assertions, then browser health teardown rejects Failed to load resource: net::ERR_CONNECTION_REFUSED — http://runnervmtai0g:39639/api/interaction (the page is reported as http://127.0.0.1:39639/). This differs from #3827’s missing Clipboard API, already repaired. Establish the server/request lifetime and hostname handling; a refused local request alone does not prove a transient infrastructure incident.

The same case passed in preceding push run 40452531123. This report session read both CI logs without a local reproduction. Reproduce on current main, inspect earlier JUnit results and the introducing PR, and preserve its intent and the user behavior when choosing the repair. A passing rerun alone does not clear an intermittent failure.

Cause of a failure tracked in #3985.

Activity

  1. added
    tend-ci-cause
    on Oct 27, 2026
  2. leaf-agent commented on Oct 27, 2026

    @leaf-agent
    CollaboratorAuthor

    Fixed in #4391, now merged after review and green CI at the pushed head.

    The test removed its hostname-to-loopback forwarding while the HTTP document was still active. Pending requests could then bypass forwarding and reach a hostname address where the page server was not listening. Keeping the route until the browser context closes preserves the plain HTTP clipboard assertion and covers the document's final interaction requests.

    A controlled browser-clock probe reproduced failed hostname requests after route removal and passed with forwarding retained. The ordinary About case and both plain HTTP code-copy cases also passed locally (3 tests). No runtime behavior changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions