Guido van Rossum added the comment:
With the latest (revision 1605eda93392) I get four failures on OS X. Three are
like this (in all three selector types -- kqueue, select, poll):
======================================================================
ERROR: test_create_ssl_connection (test_events.SelectEventLoopTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/test_events.py", line 532, in test_create_ssl_connection
tr, pr = self.loop.run_until_complete(f)
File "/Users/guido/tulip/asyncio/base_events.py", line 177, in
run_until_complete
return future.result()
File "/Users/guido/tulip/asyncio/futures.py", line 221, in result
raise self._exception
File "/Users/guido/tulip/asyncio/tasks.py", line 276, in _step
result = coro.throw(exc)
File "/Users/guido/tulip/asyncio/base_events.py", line 388, in
create_connection
yield from waiter
File "/Users/guido/tulip/asyncio/futures.py", line 320, in __iter__
yield self # This tells Task to wait for completion.
File "/Users/guido/tulip/asyncio/tasks.py", line 329, in _wakeup
value = future.result()
File "/Users/guido/tulip/asyncio/futures.py", line 221, in result
raise self._exception
File "/Users/guido/tulip/asyncio/selector_events.py", line 618, in
_on_handshake
self._sock.do_handshake()
File "/usr/local/lib/python3.4/ssl.py", line 748, in do_handshake
self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:599)
The last is similar in test_streams.py:
======================================================================
ERROR: test_open_connection_no_loop_ssl (test_streams.StreamReaderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/test_streams.py", line 58, in test_open_connection_no_loop_ssl
reader, writer = self.loop.run_until_complete(f)
File "/Users/guido/tulip/asyncio/base_events.py", line 177, in
run_until_complete
return future.result()
File "/Users/guido/tulip/asyncio/futures.py", line 221, in result
raise self._exception
File "/Users/guido/tulip/asyncio/tasks.py", line 276, in _step
result = coro.throw(exc)
File "/Users/guido/tulip/asyncio/streams.py", line 43, in open_connection
lambda: protocol, host, port, **kwds)
File "/Users/guido/tulip/asyncio/base_events.py", line 388, in
create_connection
yield from waiter
File "/Users/guido/tulip/asyncio/futures.py", line 320, in __iter__
yield self # This tells Task to wait for completion.
File "/Users/guido/tulip/asyncio/tasks.py", line 329, in _wakeup
value = future.result()
File "/Users/guido/tulip/asyncio/futures.py", line 221, in result
raise self._exception
File "/Users/guido/tulip/asyncio/selector_events.py", line 618, in
_on_handshake
self._sock.do_handshake()
File "/usr/local/lib/python3.4/ssl.py", line 748, in do_handshake
self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:599)
I get the same failures when I copy the changes to the Tulip repo.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue19509>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com