Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-135801: Add tests for filtering warnings by module#140240

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchakaserhiy-storchaka commentedOct 17, 2025
edited by bedevere-appbot
Loading

@serhiy-storchakaserhiy-storchaka added testsTests in the Lib/test dir skip news needs backport to 3.13bugs and security fixes needs backport to 3.14bugs and security fixes labelsOct 17, 2025
@serhiy-storchakaserhiy-storchaka marked this pull request as ready for reviewOctober 17, 2025 08:50
@serhiy-storchakaserhiy-storchaka merged commitfbf0843 intopython:mainOct 17, 2025
43 checks passed
@miss-islington-app
Copy link

Thanks@serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

@serhiy-storchakaserhiy-storchaka deleted the test-filter-warnings-by-module branchOctober 17, 2025 11:21
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestOct 17, 2025
…-140240)(cherry picked from commitfbf0843)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestOct 17, 2025
…-140240)(cherry picked from commitfbf0843)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-app
Copy link

GH-140246 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelOct 17, 2025
@bedevere-app
Copy link

GH-140247 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelOct 17, 2025
serhiy-storchaka added a commit that referenced this pull requestOct 17, 2025
…) (GH-140246)(cherry picked from commitfbf0843)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotARM64 macOS 3.14 (tier-2) has failed when building commit889e918.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1772/builds/598) and take a look at the build logs.
  4. Check if the failure is related to this commit (889e918) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/1772/builds/598

Failed tests:

  • test_urllib2net

Failed subtests:

  • test_ftp_default_timeout - test.test_urllib2net.TimeoutTest.test_ftp_default_timeout
  • test_ftp_timeout - test.test_urllib2net.TimeoutTest.test_ftp_timeout
  • test_ftp - test.test_urllib2net.OtherNetworkTests.test_ftp
  • test_ftp_basic - test.test_urllib2net.TimeoutTest.test_ftp_basic
  • test_ftp_no_timeout - test.test_urllib2net.TimeoutTest.test_ftp_no_timeout

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line363, intest_ftp_no_timeout    u= _urlopen_with_retry(self.FTP_HOST,timeout=None)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line28, inwrappedreturn _retry_thrice(func, exc,*args,**kwargs)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line24, in_retry_thriceraise last_exc  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line20, in_retry_thricereturn func(*args,**kwargs)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line187, inurlopenreturn opener.open(url, data, timeout)~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line487, inopen    response=self._open(req, data)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line504, in_open    result=self._call_chain(self.handle_open, protocol, protocol+'_open', req)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line464, in_call_chain    result= func(*args)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line1556, inftp_openraise URLError(f"ftp error:{exp}")from expurllib.error.URLError:<urlopen error ftp error: [Errno 60] Operation timed out>Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/__init__.py", line847, ingc_collect    gc.collect()ResourceWarning:unclosed <socket.socket fd=7, family=2, type=1, proto=6, laddr=('192.168.0.101', 53049), raddr=('68.183.26.59', 21)>Warning -- Unraisable exceptionException ignored while finalizing socket <socket.socket fd=6, family=2, type=1, proto=6, laddr=('192.168.0.101', 53056), raddr=('68.183.26.59', 21)>:Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/__init__.py", line847, ingc_collect    gc.collect()ResourceWarning:unclosed <socket.socket fd=6, family=2, type=1, proto=6, laddr=('192.168.0.101', 53056), raddr=('68.183.26.59', 21)>Warning -- Unraisable exceptionException ignored while finalizing socket <socket.socket fd=8, family=2, type=1, proto=6, laddr=('192.168.0.101', 53062), raddr=('68.183.26.59', 21)>:Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/__init__.py", line847, ingc_collect    gc.collect()ResourceWarning:unclosed <socket.socket fd=8, family=2, type=1, proto=6, laddr=('192.168.0.101', 53062), raddr=('68.183.26.59', 21)>Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=8, family=2, type=1, proto=6, laddr=('192.168.0.101', 53089), raddr=('68.183.26.59', 21)>Warning -- Unraisable exceptionException ignored while finalizing socket <socket.socket fd=9, family=2, type=1, proto=6, laddr=('192.168.0.101', 53091), raddr=('68.183.26.59', 21)>:Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=9, family=2, type=1, proto=6, laddr=('192.168.0.101', 53091), raddr=('68.183.26.59', 21)>ERRORTraceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line23, in_retry_thricecontinueResourceWarning:unclosed <socket.socket fd=6, family=2, type=1, proto=6, laddr=('192.168.0.101', 52732), raddr=('68.183.26.59', 21)>Warning -- Unraisable exceptionException ignored while finalizing socket <socket.socket fd=7, family=2, type=1, proto=6, laddr=('192.168.0.101', 52973), raddr=('68.183.26.59', 21)>:Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=7, family=2, type=1, proto=6, laddr=('192.168.0.101', 52973), raddr=('68.183.26.59', 21)>Warning -- Unraisable exceptionException ignored while finalizing socket <socket.socket fd=6, family=2, type=1, proto=6, laddr=('192.168.0.101', 53047), raddr=('68.183.26.59', 21)>:Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=6, family=2, type=1, proto=6, laddr=('192.168.0.101', 53047), raddr=('68.183.26.59', 21)>ERRORTraceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=9, family=2, type=1, proto=6, laddr=('192.168.0.101', 53096), raddr=('68.183.26.59', 21)>Warning -- Unraisable exceptionException ignored while finalizing socket <socket.socket fd=10, family=2, type=1, proto=6, laddr=('192.168.0.101', 53099), raddr=('68.183.26.59', 21)>:Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=10, family=2, type=1, proto=6, laddr=('192.168.0.101', 53099), raddr=('68.183.26.59', 21)>ERRORTraceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line372, intest_ftp_timeout    u= _urlopen_with_retry(self.FTP_HOST,timeout=60)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line28, inwrappedreturn _retry_thrice(func, exc,*args,**kwargs)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line24, in_retry_thriceraise last_exc  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line20, in_retry_thricereturn func(*args,**kwargs)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line187, inurlopenreturn opener.open(url, data, timeout)~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line487, inopen    response=self._open(req, data)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line504, in_open    result=self._call_chain(self.handle_open, protocol, protocol+'_open', req)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line464, in_call_chain    result= func(*args)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line1556, inftp_openraise URLError(f"ftp error:{exp}")from expurllib.error.URLError:<urlopen error ftp error: [Errno 60] Operation timed out>Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=6, family=2, type=1, proto=6, laddr=('192.168.0.101', 51199), raddr=('68.183.26.59', 21)>Warning -- Unraisable exceptionException ignored while finalizing socket <socket.socket fd=7, family=2, type=1, proto=6, laddr=('192.168.0.101', 52303), raddr=('68.183.26.59', 21)>:Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=7, family=2, type=1, proto=6, laddr=('192.168.0.101', 52303), raddr=('68.183.26.59', 21)>ERRORTraceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=8, family=2, type=1, proto=6, laddr=('192.168.0.101', 53058), raddr=('68.183.26.59', 21)>Warning -- Unraisable exceptionException ignored while finalizing socket <socket.socket fd=10, family=2, type=1, proto=6, laddr=('192.168.0.101', 53060), raddr=('68.183.26.59', 21)>:Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=10, family=2, type=1, proto=6, laddr=('192.168.0.101', 53060), raddr=('68.183.26.59', 21)>ERRORTraceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line260, in_test_urls    f= urlopen(url, req, support.INTERNET_TIMEOUT)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line28, inwrappedreturn _retry_thrice(func, exc,*args,**kwargs)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line24, in_retry_thriceraise last_exc  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line20, in_retry_thricereturn func(*args,**kwargs)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line487, inopen    response=self._open(req, data)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line504, in_open    result=self._call_chain(self.handle_open, protocol, protocol+'_open', req)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line464, in_call_chain    result= func(*args)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line1556, inftp_openraise URLError(f"ftp error:{exp}")from expurllib.error.URLError:<urlopen error ftp error: timed out>Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line351, intest_ftp_default_timeout    u= _urlopen_with_retry(self.FTP_HOST)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line28, inwrappedreturn _retry_thrice(func, exc,*args,**kwargs)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line24, in_retry_thriceraise last_exc  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line20, in_retry_thricereturn func(*args,**kwargs)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line187, inurlopenreturn opener.open(url, data, timeout)~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line487, inopen    response=self._open(req, data)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line504, in_open    result=self._call_chain(self.handle_open, protocol, protocol+'_open', req)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line464, in_call_chain    result= func(*args)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line1556, inftp_openraise URLError(f"ftp error:{exp}")from expurllib.error.URLError:<urlopen error ftp error: [Errno 60] Operation timed out>Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=10, family=2, type=1, proto=6, laddr=('192.168.0.101', 53103), raddr=('68.183.26.59', 21)>Timeout (0:20:00)!Thread 0x00000001f9324800 (most recent call first):  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/socket.py", line 855 in create_connection  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/ftplib.py", line 354 in ntransfercmd  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line 1826 in retrfile  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line 1546 in ftp_open  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line 464 in _call_chain  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line 504 in _open  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line 487 in open  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line 187 in urlopen  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line 20 in _retry_thrice  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line 28 in wrapped  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line 372 in test_ftp_timeout  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/unittest/case.py", line 615 in _callTestMethod  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/unittest/case.py", line 669 in run  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/unittest/case.py", line 725 in __call__  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/unittest/suite.py", line 122 in run  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/unittest/suite.py", line 84 in __call__  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/unittest/suite.py", line 122 in run  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/unittest/suite.py", line 84 in __call__  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/unittest/runner.py", line 257 in run  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/libregrtest/single.py", line 84 in _run_suite  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/libregrtest/single.py", line 42 in run_unittest  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/libregrtest/single.py", line 162 in test_func  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/libregrtest/single.py", line 118 in regrtest_runner  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/libregrtest/single.py", line 165 in _load_run_test  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/libregrtest/single.py", line 210 in _runtest_env_changed_exc  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/libregrtest/single.py", line 319 in _runtest  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/libregrtest/single.py", line 348 in run_single_test  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/libregrtest/worker.py", line 92 in worker_process  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/libregrtest/worker.py", line 127 in main  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/libregrtest/worker.py", line 131 in <module>  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/runpy.py", line 88 in _run_code  File "/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/runpy.py", line 198 in _run_module_as_mainTraceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=6, family=2, type=1, proto=6, laddr=('192.168.0.101', 53051), raddr=('68.183.26.59', 21)>Warning -- Unraisable exceptionException ignored while finalizing socket <socket.socket fd=8, family=2, type=1, proto=6, laddr=('192.168.0.101', 53053), raddr=('68.183.26.59', 21)>:Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=8, family=2, type=1, proto=6, laddr=('192.168.0.101', 53053), raddr=('68.183.26.59', 21)>ERRORTraceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line1546, inftp_open    fp, retrlen= fw.retrfile(file,type)~~~~~~~~~~~^^^^^^^^^^^^  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line1826, inretrfile    conn, retrlen=self.ftp.ntransfercmd(cmd)~~~~~~~~~~~~~~~~~~~~~^^^^^  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/ftplib.py", line354, inntransfercmd    conn= socket.create_connection((host, port),self.timeout,                                    source_address=self.source_address)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/socket.py", line870, increate_connectionraise exceptions[0]  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/socket.py", line855, increate_connection    sock.connect(sa)~~~~~~~~~~~~^^^^TimeoutError:[Errno 60] Operation timed outTraceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line1546, inftp_open    fp, retrlen= fw.retrfile(file,type)~~~~~~~~~~~^^^^^^^^^^^^  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line1806, inretrfile    conn, retrlen=self.ftp.ntransfercmd(cmd)~~~~~~~~~~~~~~~~~~~~~^^^^^  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/ftplib.py", line354, inntransfercmd    conn= socket.create_connection((host, port),self.timeout,                                    source_address=self.source_address)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/socket.py", line870, increate_connectionraise exceptions[0]  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/socket.py", line855, increate_connection    sock.connect(sa)~~~~~~~~~~~~^^^^TimeoutError:timed outTraceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=7, family=2, type=1, proto=6, laddr=('192.168.0.101', 53082), raddr=('68.183.26.59', 21)>Warning -- Unraisable exceptionException ignored while finalizing socket <socket.socket fd=8, family=2, type=1, proto=6, laddr=('192.168.0.101', 53084), raddr=('68.183.26.59', 21)>:Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=8, family=2, type=1, proto=6, laddr=('192.168.0.101', 53084), raddr=('68.183.26.59', 21)>ERRORTraceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line342, intest_ftp_basic    u= _urlopen_with_retry(self.FTP_HOST)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line28, inwrappedreturn _retry_thrice(func, exc,*args,**kwargs)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line24, in_retry_thriceraise last_exc  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line20, in_retry_thricereturn func(*args,**kwargs)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line187, inurlopenreturn opener.open(url, data, timeout)~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line487, inopen    response=self._open(req, data)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line504, in_open    result=self._call_chain(self.handle_open, protocol, protocol+'_open', req)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line464, in_call_chain    result= func(*args)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line1556, inftp_openraise URLError(f"ftp error:{exp}")from expurllib.error.URLError:<urlopen error ftp error: [Errno 60] Operation timed out>

serhiy-storchaka added a commit that referenced this pull requestOct 21, 2025
…) (GH-140247)(cherry picked from commitfbf0843)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

skip newstestsTests in the Lib/test dir

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@serhiy-storchaka@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp