Skip to content

test_httpservers is flaky on macOS #139611

Closed as duplicate
Closed as duplicate

Description

@StanFromIreland

Bug report

Bug description:

From our CI, example1 example2 and example3:

======================================================================
ERROR: test_single_request (test.test_httpservers.HTTP09ServerTestCase.test_single_request)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/admin/actions-runner/_work/cpython/cpython/Lib/test/test_httpservers.py", line 349, in test_single_request
    res = self.sock.recv(1024)
ConnectionResetError: [Errno 54] Connection reset by peer

----------------------------------------------------------------------

Possibly an issue on GitHub's side.

CPython versions tested on:

CPython main branch, 3.13

Operating systems tested on:

macOS

Activity

  1. changed the title [-]`test_httpservers` is falky on macOS[/-] [+]`test_httpservers` is flaky on macOS[/+] on Oct 5, 2025
  2. picnixz commented on Oct 5, 2025

    @picnixz
    Member

    I fixed it in #139610.

  3. StanFromIreland commented on Oct 5, 2025

    @StanFromIreland
    MemberAuthor

    That's some unfortunate timing, apologies for the noise, I was writing this issue when the PR was opened!

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

    OS-mactestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions