Title: Intermittent iOS buildbot failure in test_sock_client_racing · Issue #148793 · python/cpython · GitHub
Open Graph Title: Intermittent iOS buildbot failure in test_sock_client_racing · Issue #148793 · python/cpython
X Title: Intermittent iOS buildbot failure in test_sock_client_racing · Issue #148793 · python/cpython
Description: Bug report Bug description: This is failing on about 10% of attempts. Usually it passes on a rerun: https://buildbot.python.org/#/builders/1380/builds/6364 https://buildbot.python.org/#/builders/1380/builds/6374 But sometimes it fails on...
Open Graph Description: Bug report Bug description: This is failing on about 10% of attempts. Usually it passes on a rerun: https://buildbot.python.org/#/builders/1380/builds/6364 https://buildbot.python.org/#/builders/13...
X Description: Bug report Bug description: This is failing on about 10% of attempts. Usually it passes on a rerun: https://buildbot.python.org/#/builders/1380/builds/6364 https://buildbot.python.org/#/builders/13...
Opengraph URL: https://github.com/python/cpython/issues/148793
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Intermittent iOS buildbot failure in test_sock_client_racing","articleBody":"# Bug report\n\n### Bug description:\n\nThis is failing on about 10% of attempts. Usually it passes on a rerun:\n* https://buildbot.python.org/#/builders/1380/builds/6364\n* https://buildbot.python.org/#/builders/1380/builds/6374\n\nBut sometimes it fails on the rerun:\n* https://buildbot.python.org/#/builders/1380/builds/6331\n* https://buildbot.python.org/#/builders/1380/builds/6403\n\n```\n ERROR: test_sock_client_racing (test.test_asyncio.test_sock_lowlevel.KqueueEventLoopTests.test_sock_client_racing)\n ----------------------------------------------------------------------\n Traceback (most recent call last):\n File \"/Users/buildbot/Library/Developer/CoreSimulator/Devices/4F9AFDE7-A49A-46AD-B161-FCA22E48EA55/data/Containers/Bundle/Application/3DAA3568-C09B-454E-9E2B-4749EEB89567/iOSTestbed.app/python/lib/python3.15/test/test_asyncio/test_sock_lowlevel.py\", line 273, in test_sock_client_racing\n self.loop.run_until_complete(asyncio.wait_for(\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^\n self._basetest_sock_send_racing(listener, sock), 10))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/buildbot/Library/Developer/CoreSimulator/Devices/4F9AFDE7-A49A-46AD-B161-FCA22E48EA55/data/Containers/Bundle/Application/3DAA3568-C09B-454E-9E2B-4749EEB89567/iOSTestbed.app/python/lib/python3.15/asyncio/base_events.py\", line 724, in run_until_complete\n return future.result()\n ~~~~~~~~~~~~~^^\n File \"/Users/buildbot/Library/Developer/CoreSimulator/Devices/4F9AFDE7-A49A-46AD-B161-FCA22E48EA55/data/Containers/Bundle/Application/3DAA3568-C09B-454E-9E2B-4749EEB89567/iOSTestbed.app/python/lib/python3.15/asyncio/tasks.py\", line 488, in wait_for\n return await fut\n ^^^^^^^^^\n File \"/Users/buildbot/Library/Developer/CoreSimulator/Devices/4F9AFDE7-A49A-46AD-B161-FCA22E48EA55/data/Containers/Bundle/Application/3DAA3568-C09B-454E-9E2B-4749EEB89567/iOSTestbed.app/python/lib/python3.15/test/test_asyncio/test_sock_lowlevel.py\", line 196, in _basetest_sock_send_racing\n sock.send(b' ' * size)\n ~~~~~~~~~^^^^^^^^^^^^^\n ConnectionResetError: [Errno 54] Connection reset by peer\n```\n\n@freakboy3742: FYI\n\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nOther","author":{"url":"https://github.com/mhsmith","@type":"Person","name":"mhsmith"},"datePublished":"2026-04-20T11:58:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/148793/cpython/issues/148793"}
| 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:0f271302-a58b-7786-19ee-554bd1fcbfca |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A38A:6435C:91863CA:CA7D051:6A508A4B |
| html-safe-nonce | 1d3ccffa957dd587ee94745b55b86b5357923403356f31315e1b4b9e5a697d7d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzhBOjY0MzVDOjkxODYzQ0E6Q0E3RDA1MTo2QTUwOEE0QiIsInZpc2l0b3JfaWQiOiI3MzA3ODg3NDcwMTA3OTg2NTA3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1ce37fb443610cdfe781096cd124add2e1c50cf56e7e4884868117010cd1c70d |
| hovercard-subject-tag | issue:4295462114 |
| 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/148793/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6691ce6771c1ccdb7fa37882d0becd6c7993806f6e57987a26daa8b72d956e19/python/cpython/issues/148793 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6691ce6771c1ccdb7fa37882d0becd6c7993806f6e57987a26daa8b72d956e19/python/cpython/issues/148793 |
| og:image:alt | Bug report Bug description: This is failing on about 10% of attempts. Usually it passes on a rerun: https://buildbot.python.org/#/builders/1380/builds/6364 https://buildbot.python.org/#/builders/13... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mhsmith |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| 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 | 7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width