Title: test_urllib2net FTP tests fail on some buildbot workers · Issue #140748 · python/cpython · GitHub
Open Graph Title: test_urllib2net FTP tests fail on some buildbot workers · Issue #140748 · python/cpython
X Title: test_urllib2net FTP tests fail on some buildbot workers · Issue #140748 · python/cpython
Description: Bug report On Pablo's workers, FTP tests fail with variations of the following traceback (from https://buildbot.python.org/#/builders/725/builds/12212): Traceback (most recent call last): File "/Users/buildbot/buildarea/3.x.pablogsal-mac...
Open Graph Description: Bug report On Pablo's workers, FTP tests fail with variations of the following traceback (from https://buildbot.python.org/#/builders/725/builds/12212): Traceback (most recent call last): File "/Us...
X Description: Bug report On Pablo's workers, FTP tests fail with variations of the following traceback (from https://buildbot.python.org/#/builders/725/builds/12212): Traceback (most recent call last): File ...
Opengraph URL: https://github.com/python/cpython/issues/140748
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_urllib2net FTP tests fail on some buildbot workers","articleBody":"# Bug report\n\nOn Pablo's workers, FTP tests fail with variations of the following traceback (from https://buildbot.python.org/#/builders/725/builds/12212):\n```pytb\nTraceback (most recent call last):\n File \"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py\", line 1546, in ftp_open\n fp, retrlen = fw.retrfile(file, type)\n ~~~~~~~~~~~^^^^^^^^^^^^\n File \"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py\", line 1826, in retrfile\n conn, retrlen = self.ftp.ntransfercmd(cmd)\n ~~~~~~~~~~~~~~~~~~~~~^^^^^\n File \"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/ftplib.py\", line 354, in ntransfercmd\n conn = socket.create_connection((host, port), self.timeout,\n source_address=self.source_address)\n File \"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/socket.py\", line 879, in create_connection\n raise exceptions[0]\n File \"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/socket.py\", line 864, in create_connection\n sock.connect(sa)\n ~~~~~~~~~~~~^^^^\nTimeoutError: [Errno 60] Operation timed out\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/unittest/case.py\", line 58, in testPartExecutor\n yield\n File \"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/unittest/case.py\", line 667, in run\n self._callTestMethod(testMethod)\n ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^\n File \"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/unittest/case.py\", line 613, in _callTestMethod\n result = method()\n File \"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py\", line 321, in test_ftp_basic\n u = _urlopen_with_retry(self.FTP_HOST)\n File \"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py\", line 28, in wrapped\n return _retry_thrice(func, exc, *args, **kwargs)\n File \"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py\", line 24, in _retry_thrice\n raise last_exc\n File \"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py\", line 20, in _retry_thrice\n return func(*args, **kwargs)\n File \"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py\", line 187, in urlopen\n return opener.open(url, data, timeout)\n ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^\n File \"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py\", line 487, in open\n response = self._open(req, data)\n File \"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py\", line 504, in _open\n result = self._call_chain(self.handle_open, protocol, protocol +\n '_open', req)\n File \"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py\", line 464, in _call_chain\n result = func(*args)\n File \"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py\", line 1556, in ftp_open\n raise URLError(f\"ftp error: {exp}\") from exp\nurllib.error.URLError: \u003curlopen error ftp error: [Errno 60] Operation timed out\n```\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-140749\n* gh-141505\n* gh-141506\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/encukou","@type":"Person","name":"encukou"},"datePublished":"2025-10-29T10:47:45Z","url":"https://github.com/python/cpython/issues/140748"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:f3ec0db9-7bfb-2f89-52a3-f31322f352ef |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B48C:2679E9:33E18A6:453F2D3:6B020258 |
| html-safe-nonce | 9c0a89a6d192aee0af010664ade638f3ccd991c6457ac9d2013cf0290c7f0803 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDhDOjI2NzlFOTozM0UxOEE2OjQ1M0YyRDM6NkIwMjAyNTgiLCJ2aXNpdG9yX2lkIjoiNDU5ODY4MTE2ODQ4ODAzOTAwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 74ff776b74e952523a5e5803847dfcd31cf393c377babb167b6b93b40d3cfb4c |
| hovercard-subject-tag | issue:3565374393 |
| 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/140748/issue_layout |
| twitter:image | https://opengraph.githubassets.com/904de4d0669a80cb33755fd69a0bba6ef5f68e6ded54d277f67e1c82cd73f1af/python/cpython/issues/140748 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/904de4d0669a80cb33755fd69a0bba6ef5f68e6ded54d277f67e1c82cd73f1af/python/cpython/issues/140748 |
| og:image:alt | Bug report On Pablo's workers, FTP tests fail with variations of the following traceback (from https://buildbot.python.org/#/builders/725/builds/12212): Traceback (most recent call last): File "/Us... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | encukou |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width