The following test is failing when running tox -e py27. This started failing in the past few days.
cinder.tests.unit.test_coho.CohoDriverTest.test_snapshot_failure_when_remote_is_unreachable
-------------------------------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "cinder/tests/unit/test_coho.py", line 264, in test_snapshot_failure_when_remote_is_unreachable
drv.create_snapshot(SNAPSHOT)
File "cinder/volume/drivers/coho.py", line 352, in create_snapshot
client = self._get_rpcclient(addr, self.configuration.coho_rpc_port)
File "cinder/volume/drivers/coho.py", line 305, in _get_rpcclient
return self._init_rpcclient(addr, port)
File "cinder/volume/drivers/coho.py", line 298, in _init_rpcclient
client = CohoRPCClient(addr, port)
File "cinder/volume/drivers/coho.py", line 239, in __init__
Client.__init__(self, address, COHO_PROGRAM, 1, port)
File "cinder/volume/drivers/coho.py", line 80, in __init__
self.init_socket()
File "cinder/volume/drivers/coho.py", line 87, in init_socket
self.sock.connect((self.address, self.port))
File "/home/corey/pkg/newton/upstream/cinder/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenio/base.py", line 252, in connect
timeout_exc=socket.timeout("timed out"))
File "/home/corey/pkg/newton/upstream/cinder/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenio/base.py", line 203, in _trampoline
mark_as_closed=self._mark_as_closed)
File "/home/corey/pkg/newton/upstream/cinder/.tox/py27/local/lib/python2.7/site-packages/eventlet/hubs/__init__.py", line 162, in trampoline
return hub.switch()
File "/home/corey/pkg/newton/upstream/cinder/.tox/py27/local/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 294, in switch
return self.greenlet.switch()
File "/home/corey/pkg/newton/upstream/cinder/.tox/py27/local/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 346, in run
self.wait(sleep_time)
File "/home/corey/pkg/newton/upstream/cinder/.tox/py27/local/lib/python2.7/site-packages/eventlet/hubs/poll.py", line 85, in wait
presult = self.do_poll(seconds)
File "/home/corey/pkg/newton/upstream/cinder/.tox/py27/local/lib/python2.7/site-packages/eventlet/hubs/epolls.py", line 62, in do_poll
return self.poll.poll(seconds)
File "/home/corey/pkg/newton/upstream/cinder/.tox/py27/local/lib/python2.7/site-packages/fixtures/_fixtures/timeout.py", line 52, in signal_handler
raise TimeoutException()
fixtures._fixtures.timeout.TimeoutException
Fix proposed to branch: master /review. openstack. org/317071
Review: https:/