[Python-Dev] Trying to build from source, test-poplib fails (original) (raw)
Serhiy Storchaka storchaka at gmail.com
Mon Apr 9 04:30:17 EDT 2018
- Previous message (by thread): [Python-Dev] Trying to build from source, test-poplib fails
- Next message (by thread): [Python-Dev] Trying to build from source, test-poplib fails
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
08.04.18 19:10, Antoine Pitrou пише:
On Sat, 7 Apr 2018 17:31:47 -0500 Skip Montanaro <skip.montanaro at gmail.com> wrote:
It's been a long while since I rebuilt Python from the Git source. I tried for the first time the other day. Everything passed except testpoplib and testasyncio. The former just runs and runs and runs. Here's the first traceback I encounter when executing ./python Lib/test/testpoplib.py:
teststlscontext (main.TestPOP3Class) ... Exception in thread Thread-16: Traceback (most recent call last): File "/home/skip/src/python/cpython/Lib/threading.py", line 917, in bootstrapinner self.run() File "Lib/test/testpoplib.py", line 227, in run asyncore.loop(timeout=0.1, count=1) File "/home/skip/src/python/cpython/Lib/asyncore.py", line 207, in loop pollfun(timeout, map) File "/home/skip/src/python/cpython/Lib/asyncore.py", line 150, in poll read(obj) File "/home/skip/src/python/cpython/Lib/asyncore.py", line 87, in read obj.handleerror() File "/home/skip/src/python/cpython/Lib/asyncore.py", line 83, in read obj.handlereadevent() File "/home/skip/src/python/cpython/Lib/asyncore.py", line 422, in handlereadevent self.handleread() File "Lib/test/testpoplib.py", line 194, in handleread self.dotlshandshake() File "Lib/test/testpoplib.py", line 174, in dotlshandshake self.socket.dohandshake() File "/home/skip/src/python/cpython/Lib/ssl.py", line 1108, in dohandshake self.sslobj.dohandshake() ssl.SSLError: [SSL: SSLV3ALERTCERTIFICATEUNKNOWN] sslv3 alert certificate unknown (ssl.c:1049) [...] I get the same issues too, and this has been happening for quite some time. The tests and/or poplib itself may be written in a fragile way.
I get the different issue with test_poplib (running with the -j option). All tests except test_multiprocessing_fork are passed, and test_poplib hangs. I thought it is a misconfiguration on my computer.
- Previous message (by thread): [Python-Dev] Trying to build from source, test-poplib fails
- Next message (by thread): [Python-Dev] Trying to build from source, test-poplib fails
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]