Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-35372: Fix the code page decoder for input > 2 GiB. #10848

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Dec 1, 2018

@miss-islington
Copy link
Contributor

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

@serhiy-storchaka serhiy-storchaka deleted the code-page-decode-large-input branch December 3, 2018 08:36
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 3, 2018
(cherry picked from commit 4013c17)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot
Copy link

GH-10859 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 3, 2018
(cherry picked from commit 4013c17)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot
Copy link

GH-10860 is a backport of this pull request to the 3.6 branch.

miss-islington added a commit that referenced this pull request Dec 3, 2018
(cherry picked from commit 4013c17)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
miss-islington added a commit that referenced this pull request Dec 3, 2018
(cherry picked from commit 4013c17)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot
Copy link

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

Hi! The buildbot x86-64 El Capitan 3.6 has failed when building commit 0f9b668.

What do you need to do:

  1. Don't panic.
  2. Check the 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/all/#builders/52/builds/626) and take a look at the build logs.
  4. Check if the failure is related to this commit (0f9b668) 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/all/#builders/52/builds/626

Click to see traceback logs
Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 1541, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 2427, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 246, in getresp
    raise error_perm(resp)
ftplib.error_perm: 500 OOPS: vsf_sysutil_bind

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 296, in test_ftp_basic
    u = _urlopen_with_retry(self.FTP_HOST)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 27, in wrapped
    return _retry_thrice(func, exc, *args, **kwargs)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 23, in _retry_thrice
    raise last_exc
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 19, in _retry_thrice
    return func(*args, **kwargs)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 223, in urlopen
    return opener.open(url, data, timeout)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 526, in open
    response = self._open(req, data)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 544, in _open
    '_open', req)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 1552, in ftp_open
    raise exc.with_traceback(sys.exc_info()[2])
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 1541, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 2427, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 246, in getresp
    raise error_perm(resp)
urllib.error.URLError: <urlopen error ftp error: error_perm('500 OOPS: vsf_sysutil_bind',)>

======================================================================
ERROR: test_ftp_default_timeout (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 1541, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 2427, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 246, in getresp
    raise error_perm(resp)
ftplib.error_perm: 500 OOPS: vsf_sysutil_bind

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 305, in test_ftp_default_timeout
    u = _urlopen_with_retry(self.FTP_HOST)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 27, in wrapped
    return _retry_thrice(func, exc, *args, **kwargs)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 23, in _retry_thrice
    raise last_exc
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 19, in _retry_thrice
    return func(*args, **kwargs)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 223, in urlopen
    return opener.open(url, data, timeout)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 526, in open
    response = self._open(req, data)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 544, in _open
    '_open', req)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 1552, in ftp_open
    raise exc.with_traceback(sys.exc_info()[2])
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 1541, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 2427, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 246, in getresp
    raise error_perm(resp)
urllib.error.URLError: <urlopen error ftp error: error_perm('500 OOPS: vsf_sysutil_bind',)>

======================================================================
ERROR: test_ftp_no_timeout (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 1541, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 2427, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 246, in getresp
    raise error_perm(resp)
ftplib.error_perm: 500 OOPS: vsf_sysutil_bind

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 316, in test_ftp_no_timeout
    u = _urlopen_with_retry(self.FTP_HOST, timeout=None)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 27, in wrapped
    return _retry_thrice(func, exc, *args, **kwargs)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 23, in _retry_thrice
    raise last_exc
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 19, in _retry_thrice
    return func(*args, **kwargs)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 223, in urlopen
    return opener.open(url, data, timeout)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 526, in open
    response = self._open(req, data)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 544, in _open
    '_open', req)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 1552, in ftp_open
    raise exc.with_traceback(sys.exc_info()[2])
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 1541, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 2427, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 246, in getresp
    raise error_perm(resp)
urllib.error.URLError: <urlopen error ftp error: error_perm('500 OOPS: vsf_sysutil_bind',)>

----------------------------------------------------------------------

Ran 15 tests in 11.442s

FAILED (errors=3, skipped=1)
/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/support/__init__.py:1538: ResourceWarning: unclosed <socket.socket fd=7, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.1.159', 55088), raddr=('104.236.16.9', 21)>
  gc.collect()
/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/support/__init__.py:1538: ResourceWarning: unclosed <socket.socket fd=8, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.1.159', 55089), raddr=('104.236.16.9', 21)>
  gc.collect()
/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/support/__init__.py:1538: ResourceWarning: unclosed <socket.socket fd=9, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.1.159', 55090), raddr=('104.236.16.9', 21)>
  gc.collect()
/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/support/__init__.py:1538: ResourceWarning: unclosed <socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.1.159', 55091), raddr=('104.236.16.9', 21)>
  gc.collect()
/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/support/__init__.py:1538: ResourceWarning: unclosed <socket.socket fd=11, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.1.159', 55092), raddr=('104.236.16.9', 21)>
  gc.collect()
/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/support/__init__.py:1538: ResourceWarning: unclosed <socket.socket fd=13, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.1.159', 55093), raddr=('104.236.16.9', 21)>
  gc.collect()
/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/support/__init__.py:1538: ResourceWarning: unclosed <socket.socket fd=12, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.1.159', 55087), raddr=('104.236.16.9', 21)>
  gc.collect()


Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 2406, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 246, in getresp
    raise error_perm(resp)
ftplib.error_perm: 500 OOPS: vsf_sysutil_bind

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 1541, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 2410, in retrfile
    sys.exc_info()[2])
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 2406, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 246, in getresp
    raise error_perm(resp)
urllib.error.URLError: <urlopen error ftp error: error_perm('500 OOPS: vsf_sysutil_bind',)>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 219, in _test_urls
    f = urlopen(url, req, TIMEOUT)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 27, in wrapped
    return _retry_thrice(func, exc, *args, **kwargs)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 23, in _retry_thrice
    raise last_exc
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 19, in _retry_thrice
    return func(*args, **kwargs)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 526, in open
    response = self._open(req, data)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 544, in _open
    '_open', req)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 1552, in ftp_open
    raise exc.with_traceback(sys.exc_info()[2])
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 1541, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 2410, in retrfile
    sys.exc_info()[2])
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 2406, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 246, in getresp
    raise error_perm(resp)
urllib.error.URLError: <urlopen error ftp error: URLError("ftp error: error_perm('500 OOPS: vsf_sysutil_bind',)",)>

======================================================================
ERROR: test_ftp_basic (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 1541, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 2427, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 246, in getresp
    raise error_perm(resp)
ftplib.error_perm: 500 OOPS: vsf_sysutil_bind

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 296, in test_ftp_basic
    u = _urlopen_with_retry(self.FTP_HOST)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 27, in wrapped
    return _retry_thrice(func, exc, *args, **kwargs)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 23, in _retry_thrice
    raise last_exc
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 19, in _retry_thrice
    return func(*args, **kwargs)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 223, in urlopen
    return opener.open(url, data, timeout)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 526, in open
    response = self._open(req, data)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 544, in _open
    '_open', req)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 1552, in ftp_open
    raise exc.with_traceback(sys.exc_info()[2])
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 1541, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 2427, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 246, in getresp
    raise error_perm(resp)
urllib.error.URLError: <urlopen error ftp error: error_perm('500 OOPS: vsf_sysutil_bind',)>

/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py:1541: ResourceWarning: unclosed <socket.socket fd=8, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.1.159', 55314)>
  fp, retrlen = fw.retrfile(file, type)
/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py:1541: ResourceWarning: unclosed <socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.1.159', 55316)>
  fp, retrlen = fw.retrfile(file, type)
/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py:1541: ResourceWarning: unclosed <socket.socket fd=11, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.1.159', 55317)>
  fp, retrlen = fw.retrfile(file, type)
/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/support/__init__.py:1538: ResourceWarning: unclosed <socket.socket fd=8, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.1.159', 55324), raddr=('104.236.16.9', 21)>
  gc.collect()
/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/support/__init__.py:1538: ResourceWarning: unclosed <socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.1.159', 55325), raddr=('104.236.16.9', 21)>
  gc.collect()
/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/support/__init__.py:1538: ResourceWarning: unclosed <socket.socket fd=11, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.1.159', 55326), raddr=('104.236.16.9', 21)>
  gc.collect()
/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/support/__init__.py:1538: ResourceWarning: unclosed <socket.socket fd=14, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.1.159', 55327), raddr=('104.236.16.9', 21)>
  gc.collect()
/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/support/__init__.py:1538: ResourceWarning: unclosed <socket.socket fd=15, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.1.159', 55328), raddr=('104.236.16.9', 21)>
  gc.collect()
/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/support/__init__.py:1538: ResourceWarning: unclosed <socket.socket fd=16, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.1.159', 55329), raddr=('104.236.16.9', 21)>
  gc.collect()
/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/support/__init__.py:1538: ResourceWarning: unclosed <socket.socket fd=17, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.1.159', 55330), raddr=('104.236.16.9', 21)>
  gc.collect()
/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/support/__init__.py:1538: ResourceWarning: unclosed <socket.socket fd=18, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.1.159', 55331), raddr=('104.236.16.9', 21)>
  gc.collect()
/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/support/__init__.py:1538: ResourceWarning: unclosed <socket.socket fd=19, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.1.159', 55332), raddr=('104.236.16.9', 21)>
  gc.collect()
/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/support/__init__.py:1538: ResourceWarning: unclosed <socket.socket fd=20, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.1.159', 55333), raddr=('104.236.16.9', 21)>
  gc.collect()
/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/support/__init__.py:1538: ResourceWarning: unclosed <socket.socket fd=13, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.1.159', 55323), raddr=('104.236.16.9', 21)>
  gc.collect()
/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/support/__init__.py:1538: ResourceWarning: unclosed <socket.socket fd=7, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.1.159', 55313)>
  gc.collect()
/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/support/__init__.py:1538: ResourceWarning: unclosed <socket.socket fd=9, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.1.159', 55315)>
  gc.collect()
/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/support/__init__.py:1538: ResourceWarning: unclosed <socket.socket fd=12, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.1.159', 55322), raddr=('104.236.16.9', 21)>
  gc.collect()


Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 1541, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 2427, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 246, in getresp
    raise error_perm(resp)
ftplib.error_perm: 500 OOPS: vsf_sysutil_bind

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 305, in test_ftp_default_timeout
    u = _urlopen_with_retry(self.FTP_HOST)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 27, in wrapped
    return _retry_thrice(func, exc, *args, **kwargs)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 23, in _retry_thrice
    raise last_exc
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 19, in _retry_thrice
    return func(*args, **kwargs)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 223, in urlopen
    return opener.open(url, data, timeout)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 526, in open
    response = self._open(req, data)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 544, in _open
    '_open', req)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 1552, in ftp_open
    raise exc.with_traceback(sys.exc_info()[2])
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 1541, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 2427, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 246, in getresp
    raise error_perm(resp)
urllib.error.URLError: <urlopen error ftp error: error_perm('500 OOPS: vsf_sysutil_bind',)>

======================================================================
ERROR: test_ftp_no_timeout (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 1541, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 2427, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 246, in getresp
    raise error_perm(resp)
ftplib.error_perm: 500 OOPS: vsf_sysutil_bind

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 316, in test_ftp_no_timeout
    u = _urlopen_with_retry(self.FTP_HOST, timeout=None)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 27, in wrapped
    return _retry_thrice(func, exc, *args, **kwargs)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 23, in _retry_thrice
    raise last_exc
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 19, in _retry_thrice
    return func(*args, **kwargs)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 223, in urlopen
    return opener.open(url, data, timeout)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 526, in open
    response = self._open(req, data)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 544, in _open
    '_open', req)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 1552, in ftp_open
    raise exc.with_traceback(sys.exc_info()[2])
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 1541, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 2427, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 246, in getresp
    raise error_perm(resp)
urllib.error.URLError: <urlopen error ftp error: error_perm('500 OOPS: vsf_sysutil_bind',)>

======================================================================
ERROR: test_ftp_timeout (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 1541, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 2427, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 246, in getresp
    raise error_perm(resp)
ftplib.error_perm: 500 OOPS: vsf_sysutil_bind

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 324, in test_ftp_timeout
    u = _urlopen_with_retry(self.FTP_HOST, timeout=60)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 27, in wrapped
    return _retry_thrice(func, exc, *args, **kwargs)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 23, in _retry_thrice
    raise last_exc
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/test/test_urllib2net.py", line 19, in _retry_thrice
    return func(*args, **kwargs)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 223, in urlopen
    return opener.open(url, data, timeout)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 526, in open
    response = self._open(req, data)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 544, in _open
    '_open', req)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 1552, in ftp_open
    raise exc.with_traceback(sys.exc_info()[2])
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 1541, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/urllib/request.py", line 2427, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/Users/buildbot/buildarea/3.6.billenstein-elcapitan/build/Lib/ftplib.py", line 246, in getresp
    raise error_perm(resp)
urllib.error.URLError: <urlopen error ftp error: error_perm('500 OOPS: vsf_sysutil_bind',)>

----------------------------------------------------------------------

Ran 15 tests in 13.233s

FAILED (errors=5, skipped=1)

@vstinner
Copy link
Member

vstinner commented Dec 3, 2018

Hi! The buildbot x86-64 El Capitan 3.6 has failed when building commit 0f9b668.

https://bugs.python.org/issue35386

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants