Title: `test_httpservers` is flaky on macOS · Issue #139611 · python/cpython · GitHub
Open Graph Title: `test_httpservers` is flaky on macOS · Issue #139611 · python/cpython
X Title: `test_httpservers` is flaky on macOS · Issue #139611 · python/cpython
Description: Bug report Bug description: From our CI, example1 example2 and example3: ====================================================================== ERROR: test_single_request (test.test_httpservers.HTTP09ServerTestCase.test_single_request) -...
Open Graph Description: Bug report Bug description: From our CI, example1 example2 and example3: ====================================================================== ERROR: test_single_request (test.test_httpservers.HTT...
X Description: Bug report Bug description: From our CI, example1 example2 and example3: ====================================================================== ERROR: test_single_request (test.test_httpservers.HTT...
Opengraph URL: https://github.com/python/cpython/issues/139611
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`test_httpservers` is flaky on macOS","articleBody":"# Bug report\n\n### Bug description:\n\nFrom our CI, [example1](https://github.com/python/cpython/actions/runs/18260872622/job/51988587155?pr=139607) [example2](https://github.com/python/cpython/actions/runs/18258558563/job/51985107144?pr=139602) and [example3](https://github.com/python/cpython/actions/runs/18260149244/job/51986956704):\n\n```\n======================================================================\nERROR: test_single_request (test.test_httpservers.HTTP09ServerTestCase.test_single_request)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/Users/admin/actions-runner/_work/cpython/cpython/Lib/test/test_httpservers.py\", line 349, in test_single_request\n res = self.sock.recv(1024)\nConnectionResetError: [Errno 54] Connection reset by peer\n\n----------------------------------------------------------------------\n```\n\nPossibly an issue on GitHub's side.\n\n### CPython versions tested on:\n\nCPython main branch, 3.13\n\n### Operating systems tested on:\n\nmacOS","author":{"url":"https://github.com/StanFromIreland","@type":"Person","name":"StanFromIreland"},"datePublished":"2025-10-05T16:15:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/139611/cpython/issues/139611"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7d93838f-c3e0-f5b4-ceee-9985e3b930db |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9A0C:3E5283:7B80A6:A03B56:696B165D |
| html-safe-nonce | 9937b2515e0d0b7711d499c9ee457e272707096b4e3896ff541acec9aadad0fc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTBDOjNFNTI4Mzo3QjgwQTY6QTAzQjU2OjY5NkIxNjVEIiwidmlzaXRvcl9pZCI6IjQxNDMzNzA5NDY2NzgwMzYwNjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c8303029611d626d879a0807ac825d521513bcf533630a9d11e72b98621c70ad |
| hovercard-subject-tag | issue:3484938952 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/139611/issue_layout |
| twitter:image | https://opengraph.githubassets.com/99a4e2c0932fc06e52005f25467e54850c02bb59d95dc4546d05e498b6a5d804/python/cpython/issues/139611 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/99a4e2c0932fc06e52005f25467e54850c02bb59d95dc4546d05e498b6a5d804/python/cpython/issues/139611 |
| og:image:alt | Bug report Bug description: From our CI, example1 example2 and example3: ====================================================================== ERROR: test_single_request (test.test_httpservers.HTT... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | StanFromIreland |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width