Hi,
Below are the unit test failures I experienced when building version 0.8.0 of oslo.service for Liberty b3. This was done in Debian Sid, using Python 3.4.3-8.
FAIL: oslo_service.tests.test_wsgi.TestWSGIServerWithSSL.test_app_using_ipv6_and_ssl
oslo_service.tests.test_wsgi.TestWSGIServerWithSSL.test_app_using_ipv6_and_ssl
----------------------------------------------------------------------
_StringException: Empty attachments:
stdout
stderr: {{{
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/eventlet/hubs/hub.py", line 457, in fire_timers
timer()
File "/usr/lib/python3/dist-packages/eventlet/hubs/timer.py", line 58, in __call__
cb(*args, **kw)
File "/usr/lib/python3/dist-packages/eventlet/greenthread.py", line 214, in main
result = function(*args, **kwargs)
File "/usr/lib/python3/dist-packages/eventlet/wsgi.py", line 823, in server
client_socket = sock.accept()
File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line 333, in accept
suppress_ragged_eofs=self.suppress_ragged_eofs)
File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line 88, in __init__
self.do_handshake()
File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line 241, in do_handshake
super(GreenSSLSocket, self).do_handshake)
File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line 106, in _call_trampolining
return func(*a, **kw)
File "/usr/lib/python3.4/ssl.py", line 807, in do_handshake
self._sslobj.do_handshake()
ssl.SSLWantReadError: The operation did not complete (read) (_ssl.c:600)
}}}
Traceback (most recent call last):
File "/home/zigo/sources/openstack/liberty/python-oslo.service/build-area/python-oslo.service-0.8.0/oslo_service/tests/test_wsgi.py", line 365, in test_app_using_ipv6_and_ssl
verify=os.path.join(SSL_CERT_DIR, 'ca.crt'))
File "/usr/lib/python3/dist-packages/requests/api.py", line 69, in get
return request('get', url, params=params, **kwargs)
File "/usr/lib/python3/dist-packages/requests/api.py", line 50, in request
response = session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 465, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 573, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 370, in send
timeout=timeout
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 557, in urlopen
body=body, headers=headers)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 780, in _validate_conn
conn.connect()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 241, in connect
ssl_version=resolved_ssl_version)
File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 276, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line 362, in _green_sslcontext_wrap_socket
return GreenSSLSocket(sock, *a, _context=self, **kw)
File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line 88, in __init__
self.do_handshake()
File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line 241, in do_handshake
super(GreenSSLSocket, self).do_handshake)
File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line 116, in _call_trampolining
timeout_exc=timeout_exc('timed out'))
File "/usr/lib/python3/dist-packages/eventlet/hubs/__init__.py", line 162, in trampoline
return hub.switch()
File "/usr/lib/python3/dist-packages/eventlet/hubs/hub.py", line 294, in switch
return self.greenlet.switch()
File "/usr/lib/python3/dist-packages/eventlet/hubs/hub.py", line 346, in run
self.wait(sleep_time)
File "/usr/lib/python3/dist-packages/eventlet/hubs/poll.py", line 85, in wait
presult = self.do_poll(seconds)
File "/usr/lib/python3/dist-packages/eventlet/hubs/epolls.py", line 62, in do_poll
return self.poll.poll(seconds)
File "/usr/lib/python3/dist-packages/fixtures/_fixtures/timeout.py", line 52, in signal_handler
raise TimeoutException()
fixtures._fixtures.timeout.TimeoutException
======================================================================
FAIL: oslo_service.tests.test_wsgi.TestWSGIServerWithSSL.test_ssl_server
oslo_service.tests.test_wsgi.TestWSGIServerWithSSL.test_ssl_server
----------------------------------------------------------------------
_StringException: Empty attachments:
stdout
stderr: {{{
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/eventlet/hubs/hub.py", line 457, in fire_timers
timer()
File "/usr/lib/python3/dist-packages/eventlet/hubs/timer.py", line 58, in __call__
cb(*args, **kw)
File "/usr/lib/python3/dist-packages/eventlet/greenthread.py", line 214, in main
result = function(*args, **kwargs)
File "/usr/lib/python3/dist-packages/eventlet/wsgi.py", line 823, in server
client_socket = sock.accept()
File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line 333, in accept
suppress_ragged_eofs=self.suppress_ragged_eofs)
File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line 88, in __init__
self.do_handshake()
File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line 241, in do_handshake
super(GreenSSLSocket, self).do_handshake)
File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line 106, in _call_trampolining
return func(*a, **kw)
File "/usr/lib/python3.4/ssl.py", line 807, in do_handshake
self._sslobj.do_handshake()
ssl.SSLWantReadError: The operation did not complete (read) (_ssl.c:600)
}}}
Traceback (most recent call last):
File "/home/zigo/sources/openstack/liberty/python-oslo.service/build-area/python-oslo.service-0.8.0/oslo_service/tests/test_wsgi.py", line 283, in test_ssl_server
cli = eventlet.wrap_ssl(cli, ca_certs=ca_certs_name)
File "/usr/lib/python3/dist-packages/eventlet/convenience.py", line 123, in wrap_ssl
return wrap_ssl_impl(sock, *a, **kw)
File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line 343, in wrap_socket
return GreenSSLSocket(sock, *a, **kw)
File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line 88, in __init__
self.do_handshake()
File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line 241, in do_handshake
super(GreenSSLSocket, self).do_handshake)
File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line 116, in _call_trampolining
timeout_exc=timeout_exc('timed out'))
File "/usr/lib/python3/dist-packages/eventlet/hubs/__init__.py", line 162, in trampoline
return hub.switch()
File "/usr/lib/python3/dist-packages/eventlet/hubs/hub.py", line 294, in switch
return self.greenlet.switch()
File "/usr/lib/python3/dist-packages/eventlet/hubs/hub.py", line 346, in run
self.wait(sleep_time)
File "/usr/lib/python3/dist-packages/eventlet/hubs/poll.py", line 85, in wait
presult = self.do_poll(seconds)
File "/usr/lib/python3/dist-packages/eventlet/hubs/epolls.py", line 62, in do_poll
return self.poll.poll(seconds)
File "/usr/lib/python3/dist-packages/fixtures/_fixtures/timeout.py", line 52, in signal_handler
raise TimeoutException()
fixtures._fixtures.timeout.TimeoutException
======================================================================
FAIL: oslo_service.tests.test_wsgi.TestWSGIServerWithSSL.test_two_servers
oslo_service.tests.test_wsgi.TestWSGIServerWithSSL.test_two_servers
----------------------------------------------------------------------
_StringException: Empty attachments:
stdout
stderr: {{{
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/eventlet/hubs/hub.py", line 457, in fire_timers
timer()
File "/usr/lib/python3/dist-packages/eventlet/hubs/timer.py", line 58, in __call__
cb(*args, **kw)
File "/usr/lib/python3/dist-packages/eventlet/greenthread.py", line 214, in main
result = function(*args, **kwargs)
File "/usr/lib/python3/dist-packages/eventlet/wsgi.py", line 823, in server
client_socket = sock.accept()
File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line 333, in accept
suppress_ragged_eofs=self.suppress_ragged_eofs)
File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line 88, in __init__
self.do_handshake()
File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line 241, in do_handshake
super(GreenSSLSocket, self).do_handshake)
File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line 106, in _call_trampolining
return func(*a, **kw)
File "/usr/lib/python3.4/ssl.py", line 807, in do_handshake
self._sslobj.do_handshake()
ssl.SSLWantReadError: The operation did not complete (read) (_ssl.c:600)
}}}
Traceback (most recent call last):
File "/home/zigo/sources/openstack/liberty/python-oslo.service/build-area/python-oslo.service-0.8.0/oslo_service/tests/test_wsgi.py", line 310, in test_two_servers
ca_certs=os.path.join(SSL_CERT_DIR, 'ca.crt'))
File "/usr/lib/python3/dist-packages/eventlet/convenience.py", line 123, in wrap_ssl
return wrap_ssl_impl(sock, *a, **kw)
File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line 343, in wrap_socket
return GreenSSLSocket(sock, *a, **kw)
File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line 88, in __init__
self.do_handshake()
File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line 241, in do_handshake
super(GreenSSLSocket, self).do_handshake)
File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line 116, in _call_trampolining
timeout_exc=timeout_exc('timed out'))
File "/usr/lib/python3/dist-packages/eventlet/hubs/__init__.py", line 162, in trampoline
return hub.switch()
File "/usr/lib/python3/dist-packages/eventlet/hubs/hub.py", line 294, in switch
return self.greenlet.switch()
File "/usr/lib/python3/dist-packages/eventlet/hubs/hub.py", line 346, in run
self.wait(sleep_time)
File "/usr/lib/python3/dist-packages/eventlet/hubs/poll.py", line 85, in wait
presult = self.do_poll(seconds)
File "/usr/lib/python3/dist-packages/eventlet/hubs/epolls.py", line 62, in do_poll
return self.poll.poll(seconds)
File "/usr/lib/python3/dist-packages/fixtures/_fixtures/timeout.py", line 52, in signal_handler
raise TimeoutException()
fixtures._fixtures.timeout.TimeoutException