Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Nov 1, 2018

  • And pycore_lifecycle.h and pycore_pathconfig.h headers to
    Include/internal/
  • Move Py_BUILD_CORE specific code from coreconfig.h and
    pylifecycle.h to pycore_pathconfig.h and pycore_lifecycle.h
  • Move _Py_wstrlist_XXX() definitions and _PyPathConfig code
    from pycore_state.h to pycore_pathconfig.h
  • Move "Init" and "Fini" function definitions from pylifecycle.c to
    pycore_lifecycle.h.
  • ast.h: add #include "node.h" (fix dependency)

https://bugs.python.org/issue35081

@vstinner vstinner requested a review from a team November 1, 2018 01:41
@vstinner vstinner requested a review from a team as a code owner November 1, 2018 01:41
* And pycore_lifecycle.h and pycore_pathconfig.h headers to
  Include/internal/
* Move Py_BUILD_CORE specific code from coreconfig.h and
  pylifecycle.h to pycore_pathconfig.h and pycore_lifecycle.h
* Move _Py_wstrlist_XXX() definitions and _PyPathConfig code
  from pycore_state.h to pycore_pathconfig.h
* Move "Init" and "Fini" function definitions from pylifecycle.c to
  pycore_lifecycle.h.
@vstinner vstinner merged commit a1c249c into python:master Nov 1, 2018
@vstinner vstinner deleted the pathconfig branch November 1, 2018 02:16
@bedevere-bot
Copy link

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

Hi! The buildbot s390x RHEL 3.x has failed when building commit a1c249c.

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/21/builds/1847) and take a look at the build logs.
  4. Check if the failure is related to this commit (a1c249c) 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/21/builds/1847

Click to see traceback logs
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 1540, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 2425, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/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 "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_urllib2net.py", line 324, in test_ftp_timeout
    u = _urlopen_with_retry(self.FTP_HOST, timeout=60)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_urllib2net.py", line 27, in wrapped
    return _retry_thrice(func, exc, *args, **kwargs)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_urllib2net.py", line 23, in _retry_thrice
    raise last_exc
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_urllib2net.py", line 19, in _retry_thrice
    return func(*args, **kwargs)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 525, in open
    response = self._open(req, data)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 542, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 1551, in ftp_open
    raise exc.with_traceback(sys.exc_info()[2])
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 1540, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 2425, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/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 6.530s

FAILED (errors=1, skipped=1)
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/__init__.py:1572: ResourceWarning: unclosed <socket.socket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('9.47.152.167', 55150), raddr=('104.236.16.9', 21)>
  gc.collect()
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/__init__.py:1572: ResourceWarning: unclosed <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('9.47.152.167', 55160), raddr=('104.236.16.9', 21)>
  gc.collect()
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/__init__.py:1572: ResourceWarning: unclosed <socket.socket fd=6, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('9.47.152.167', 55166), raddr=('104.236.16.9', 21)>
  gc.collect()
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/__init__.py:1572: ResourceWarning: unclosed <socket.socket fd=7, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('9.47.152.167', 55168), raddr=('104.236.16.9', 21)>
  gc.collect()
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/__init__.py:1572: ResourceWarning: unclosed <socket.socket fd=8, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('9.47.152.167', 55170), raddr=('104.236.16.9', 21)>
  gc.collect()
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/__init__.py:1572: ResourceWarning: unclosed <socket.socket fd=3, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('9.47.152.167', 55134)>
  gc.collect()


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 2404, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/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 "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 1540, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 2407, in retrfile
    raise URLError('ftp error: %r' % reason).with_traceback(
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 2404, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/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 "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_urllib2net.py", line 219, in _test_urls
    f = urlopen(url, req, TIMEOUT)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_urllib2net.py", line 27, in wrapped
    return _retry_thrice(func, exc, *args, **kwargs)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_urllib2net.py", line 23, in _retry_thrice
    raise last_exc
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_urllib2net.py", line 19, in _retry_thrice
    return func(*args, **kwargs)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 525, in open
    response = self._open(req, data)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 542, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 1551, in ftp_open
    raise exc.with_traceback(sys.exc_info()[2])
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 1540, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 2407, in retrfile
    raise URLError('ftp error: %r' % reason).with_traceback(
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 2404, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/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 "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 1540, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 2425, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/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 "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_urllib2net.py", line 296, in test_ftp_basic
    u = _urlopen_with_retry(self.FTP_HOST)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_urllib2net.py", line 27, in wrapped
    return _retry_thrice(func, exc, *args, **kwargs)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_urllib2net.py", line 23, in _retry_thrice
    raise last_exc
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_urllib2net.py", line 19, in _retry_thrice
    return func(*args, **kwargs)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 525, in open
    response = self._open(req, data)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 542, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 1551, in ftp_open
    raise exc.with_traceback(sys.exc_info()[2])
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 1540, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 2425, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/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 "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 1540, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 2425, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/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 "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_urllib2net.py", line 305, in test_ftp_default_timeout
    u = _urlopen_with_retry(self.FTP_HOST)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_urllib2net.py", line 27, in wrapped
    return _retry_thrice(func, exc, *args, **kwargs)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_urllib2net.py", line 23, in _retry_thrice
    raise last_exc
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_urllib2net.py", line 19, in _retry_thrice
    return func(*args, **kwargs)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 525, in open
    response = self._open(req, data)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 542, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 1551, in ftp_open
    raise exc.with_traceback(sys.exc_info()[2])
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 1540, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 2425, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/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 "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 1540, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 2425, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/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 "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_urllib2net.py", line 316, in test_ftp_no_timeout
    u = _urlopen_with_retry(self.FTP_HOST, timeout=None)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_urllib2net.py", line 27, in wrapped
    return _retry_thrice(func, exc, *args, **kwargs)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_urllib2net.py", line 23, in _retry_thrice
    raise last_exc
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_urllib2net.py", line 19, in _retry_thrice
    return func(*args, **kwargs)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 525, in open
    response = self._open(req, data)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 542, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 1551, in ftp_open
    raise exc.with_traceback(sys.exc_info()[2])
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 1540, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 2425, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/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 "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 1540, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 2425, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/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 "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_urllib2net.py", line 324, in test_ftp_timeout
    u = _urlopen_with_retry(self.FTP_HOST, timeout=60)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_urllib2net.py", line 27, in wrapped
    return _retry_thrice(func, exc, *args, **kwargs)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_urllib2net.py", line 23, in _retry_thrice
    raise last_exc
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_urllib2net.py", line 19, in _retry_thrice
    return func(*args, **kwargs)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 525, in open
    response = self._open(req, data)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 542, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 1551, in ftp_open
    raise exc.with_traceback(sys.exc_info()[2])
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 1540, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 2425, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 359, in ntransfercmd
    host, port = self.makepasv()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 337, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ftplib.py", line 273, in sendcmd
    return self.getresp()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/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')>

/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/__init__.py:1572: ResourceWarning: unclosed <socket.socket fd=15, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('9.47.152.167', 55280), raddr=('104.236.16.9', 21)>
  gc.collect()
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/__init__.py:1572: ResourceWarning: unclosed <socket.socket fd=3, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('9.47.152.167', 55282), raddr=('104.236.16.9', 21)>
  gc.collect()
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/__init__.py:1572: ResourceWarning: unclosed <socket.socket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('9.47.152.167', 55284), raddr=('104.236.16.9', 21)>
  gc.collect()
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/__init__.py:1572: ResourceWarning: unclosed <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('9.47.152.167', 55286), raddr=('104.236.16.9', 21)>
  gc.collect()
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/__init__.py:1572: ResourceWarning: unclosed <socket.socket fd=6, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('9.47.152.167', 55288), raddr=('104.236.16.9', 21)>
  gc.collect()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants