[Openstack] [sahara][integration tests] fixtures._fixtures.timeout.TimeoutException

Rafik Harzi rafik.harzi-ext at cloudwatt.com
Wed Feb 24 09:57:51 UTC 2016


Hi everyone !!

I am trying to use the integration tests in sahara but even when they succeed to create a cluster they fail and it says:

>   Traceback (most recent call last):
>      File "/home/sahara/sahara/sahara/tests/integration/tests/gating/test_vanilla_gating.py", line 136, in test_vanilla_plugin_gating
>        cluster_configs={}
>      File "sahara/tests/integration/tests/base.py", line 209, in create_cluster
>        self.user_keypair_id, anti_affinity, net_id)
>      File "/home/sahara/sahara/.tox/integration/src/python-saharaclient/saharaclient/api/clusters.py", line 69, in create
>        return self._create('/clusters', data, 'cluster')
>      File "/home/sahara/sahara/.tox/integration/src/python-saharaclient/saharaclient/api/base.py", line 108, in _create
>        resp = self.api.post(url, **kwargs)
>      File "/home/sahara/sahara/.tox/integration/local/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 179, in post
>        return self.request(url, 'POST', **kwargs)
>      File "/home/sahara/sahara/.tox/integration/src/python-saharaclient/saharaclient/api/client.py", line 45, in request
>        return super(HTTPClient, self).request(*args, **kwargs)
>      File "/home/sahara/sahara/.tox/integration/local/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 98, in request
>        return self.session.request(url, method, **kwargs)
>      File "/home/sahara/sahara/.tox/integration/local/lib/python2.7/site-packages/positional/__init__.py", line 94, in inner
>        return func(*args, **kwargs)
>      File "/home/sahara/sahara/.tox/integration/local/lib/python2.7/site-packages/keystoneauth1/session.py", line 452, in request
>        resp = send(**kwargs)
>      File "/home/sahara/sahara/.tox/integration/local/lib/python2.7/site-packages/keystoneauth1/session.py", line 486, in _send_request
>        resp = self.session.request(method, url, **kwargs)
>      File "/home/sahara/sahara/.tox/integration/local/lib/python2.7/site-packages/requests/sessions.py", line 471, in request
>        resp = self.send(prep, **send_kwargs)
>      File "/home/sahara/sahara/.tox/integration/local/lib/python2.7/site-packages/requests/sessions.py", line 579, in send
>        r = adapter.send(request, **kwargs)
>      File "/home/sahara/sahara/.tox/integration/local/lib/python2.7/site-packages/requests/adapters.py", line 369, in send
>        timeout=timeout
>      File "/home/sahara/sahara/.tox/integration/local/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 559, in urlopen
>        body=body, headers=headers)
>      File "/home/sahara/sahara/.tox/integration/local/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 376, in _make_request
>        httplib_response = conn.getresponse(buffering=True)
>      File "/usr/lib/python2.7/httplib.py", line 1051, in getresponse
>        response.begin()
>      File "/usr/lib/python2.7/httplib.py", line 415, in begin
>        version, status, reason = self._read_status()
>      File "/usr/lib/python2.7/httplib.py", line 371, in _read_status
>        line = self.fp.readline(_MAXLINE + 1)
>      File "/usr/lib/python2.7/socket.py", line 476, in readline
>        data = self._sock.recv(self._rbufsize)
>      File "/home/sahara/sahara/.tox/integration/local/lib/python2.7/site-packages/fixtures/_fixtures/timeout.py", line 52, in signal_handler
>        raise TimeoutException()
>    fixtures._fixtures.timeout.TimeoutException

I think sahara's response after the POST cluster creation request is received after a certain timeout.

Did anyone of you had the same issue? If so how did you solve it?
Otherwise, I am open to any proposition or suggestion that might help me fix it.

Thank you in advance.

--
Rafik




More information about the Openstack mailing list