[New-bugs-announce] [issue23736] "make test" on clean py3 install on CentOS 6.2 - 2 tests fail
John Nagle
report at bugs.python.org
Sun Mar 22 05:53:51 CET 2015
New submission from John Nagle:
Installing Python 3.4.2 on CentOS 6. Clean install. Using procedure in README file:
./configure
make
make test
2 tests fail in "make test" The first one is because the FTP client
test is trying to test against a site that is long gone, the Digital Equipment Corporation Systems Research Center in Palo Alto:
ERROR: test_ftp (test.test_urllib2net.OtherNetworkTests) (url='ftp://gatekeeper.research.compaq.com/pub/DEC/SRC/research-reports/00README-Legal-Rules-Regs')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/staging/local/python/Python-3.4.3/Lib/urllib/request.py", line 1399, in ftp_open
fw = self.connect_ftp(user, passwd, host, port, dirs, req.timeout)
File "/home/staging/local/python/Python-3.4.3/Lib/urllib/request.py", line 1445, in connect_ftp
dirs, timeout)
File "/home/staging/local/python/Python-3.4.3/Lib/urllib/request.py", line 2243, in __init__
self.init()
File "/home/staging/local/python/Python-3.4.3/Lib/urllib/request.py", line 2249, in init
self.ftp.connect(self.host, self.port, self.timeout)
File "/home/staging/local/python/Python-3.4.3/Lib/ftplib.py", line 153, in connect
source_address=self.source_address)
File "/home/staging/local/python/Python-3.4.3/Lib/socket.py", line 512, in create_connection
raise err
File "/home/staging/local/python/Python-3.4.3/Lib/socket.py", line 503, in create_connection
sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out
The second one is failing because "readline" (probably GNU readline) didn't behave as expected. The installed GCC is
"gcc (GCC) 4.4.6 20110731 (Red Hat 4.4.6-3)", which came with
"CentOS release 6.2 (Final)". This is a long-running production server.
Is that too old?
FAIL: test_init (test.test_readline.TestReadline)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/staging/local/python/Python-3.4.3/Lib/test/test_readline.py", line 57, in test_init
self.assertEqual(stdout, b'')
AssertionError: b'\x1b[?1034h' != b''
----------
components: Installation
messages: 238869
nosy: nagle
priority: normal
severity: normal
status: open
title: "make test" on clean py3 install on CentOS 6.2 - 2 tests fail
versions: Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23736>
_______________________________________
More information about the New-bugs-announce
mailing list