classification
Title: 21 tests fail when run on an IPv6-only host
Type: behavior Stage: needs patch
Components: Tests Versions: Python 3.9, Python 3.8, Python 3.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: gregory.p.smith Nosy List: gregory.p.smith, vstinner
Priority: normal Keywords:

Created on 2019-08-20 22:41 by gregory.p.smith, last changed 2019-08-21 10:53 by vstinner.

Messages (3)
msg350039 - (view) Author: Gregory P. Smith (gregory.p.smith) * (Python committer) Date: 2019-08-20 22:41
21 tests failed:
    test_asynchat test_asyncore test_docxmlrpc test_eintr test_epoll
    test_ftplib test_httplib test_imaplib
    test_multiprocessing_forkserver test_multiprocessing_spawn
    test_nntplib test_os test_poplib test_robotparser test_smtplib
    test_socket test_ssl test_support test_telnetlib
    test_urllib2_localnet test_wsgiref

This is a rollup tracking issue.  I've got an IPv6-only future buildbot host with which to run an diagnose these for fixes.  Of note there is no IPv4 localhost.

If there are larger problems I may spawn child bugs for specific issues off of this one.  (I already filed separate issues about 5 other tests that hang rather than fail)
msg350059 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-08-21 10:00
How do you configure a Linux box to disable IPv4? At least, disable IPv4 localhost?
msg350063 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-08-21 10:53
>  (I already filed separate issues about 5 other tests that hang rather than fail)

Maybe use this issue as a meta-issue for IPv6-only issues? I saw:

* bpo-37895: test_logging hangs on an IPv6-only host
* bpo-37896: test_multiprocessing_fork hangs on an IPv6-only host
* bpo-37897: test_asyncio hangs on an IPv6-only host
* bpo-37898: test_httpservers hangs on an IPv6-only host
* bpo-37899: test_xmlrpc hangs on an IPv6-only host
History
Date User Action Args
2019-08-21 10:53:08vstinnersetmessages: + msg350063
2019-08-21 10:00:57vstinnersetmessages: + msg350059
2019-08-21 01:57:28xtreaksetnosy: + vstinner
2019-08-20 22:41:23gregory.p.smithcreate