yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #16740
[Bug 1335878] [NEW] test_download_policy_when_cache_is_not_enabled fails with ECONNREFUSED
Public bug reported:
Failed in the gate:
http://logs.openstack.org/64/102664/2/gate/gate-glance-
python26/e19799f/console.html#_2014-06-30_05_00_48_142
2014-06-30 05:00:48.141 | FAIL: glance.tests.functional.v2.test_images.TestImages.test_download_policy_when_cache_is_not_enabled
2014-06-30 05:00:48.141 | tags: worker-0
2014-06-30 05:00:48.141 | ----------------------------------------------------------------------
2014-06-30 05:00:48.141 | Traceback (most recent call last):
2014-06-30 05:00:48.141 | File "glance/tests/functional/v2/test_images.py", line 468, in test_download_policy_when_cache_is_not_enabled
2014-06-30 05:00:48.141 | response = requests.post(path, headers=headers, data=data)
2014-06-30 05:00:48.141 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/requests/api.py", line 88, in post
2014-06-30 05:00:48.141 | return request('post', url, data=data, **kwargs)
2014-06-30 05:00:48.141 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/requests/api.py", line 44, in request
2014-06-30 05:00:48.142 | return session.request(method=method, url=url, **kwargs)
2014-06-30 05:00:48.142 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/requests/sessions.py", line 456, in request
2014-06-30 05:00:48.142 | resp = self.send(prep, **send_kwargs)
2014-06-30 05:00:48.142 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/requests/sessions.py", line 559, in send
2014-06-30 05:00:48.142 | r = adapter.send(request, **kwargs)
2014-06-30 05:00:48.142 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/requests/adapters.py", line 375, in send
2014-06-30 05:00:48.142 | raise ConnectionError(e, request=request)
2014-06-30 05:00:48.142 | ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=60936): Max retries exceeded with url: /v2/images (Caused by <class 'socket.error'>: [Errno 111] ECONNREFUSED)
This appears to be a race.
** Affects: glance
Importance: Undecided
Status: New
** Tags: gate-failure testing
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1335878
Title:
test_download_policy_when_cache_is_not_enabled fails with ECONNREFUSED
Status in OpenStack Image Registry and Delivery Service (Glance):
New
Bug description:
Failed in the gate:
http://logs.openstack.org/64/102664/2/gate/gate-glance-
python26/e19799f/console.html#_2014-06-30_05_00_48_142
2014-06-30 05:00:48.141 | FAIL: glance.tests.functional.v2.test_images.TestImages.test_download_policy_when_cache_is_not_enabled
2014-06-30 05:00:48.141 | tags: worker-0
2014-06-30 05:00:48.141 | ----------------------------------------------------------------------
2014-06-30 05:00:48.141 | Traceback (most recent call last):
2014-06-30 05:00:48.141 | File "glance/tests/functional/v2/test_images.py", line 468, in test_download_policy_when_cache_is_not_enabled
2014-06-30 05:00:48.141 | response = requests.post(path, headers=headers, data=data)
2014-06-30 05:00:48.141 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/requests/api.py", line 88, in post
2014-06-30 05:00:48.141 | return request('post', url, data=data, **kwargs)
2014-06-30 05:00:48.141 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/requests/api.py", line 44, in request
2014-06-30 05:00:48.142 | return session.request(method=method, url=url, **kwargs)
2014-06-30 05:00:48.142 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/requests/sessions.py", line 456, in request
2014-06-30 05:00:48.142 | resp = self.send(prep, **send_kwargs)
2014-06-30 05:00:48.142 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/requests/sessions.py", line 559, in send
2014-06-30 05:00:48.142 | r = adapter.send(request, **kwargs)
2014-06-30 05:00:48.142 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/requests/adapters.py", line 375, in send
2014-06-30 05:00:48.142 | raise ConnectionError(e, request=request)
2014-06-30 05:00:48.142 | ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=60936): Max retries exceeded with url: /v2/images (Caused by <class 'socket.error'>: [Errno 111] ECONNREFUSED)
This appears to be a race.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1335878/+subscriptions
Follow ups
References