test_download_policy_when_cache_is_not_enabled fails with ECONNREFUSED

Bug #1335878 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Undecided
Unassigned

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.

Revision history for this message
Matt Riedemann (mriedem) wrote :
Zhi Yan Liu (lzy-dev)
Changed in glance:
status: New → Triaged
Revision history for this message
Matt Riedemann (mriedem) wrote :
Revision history for this message
Joe Gordon (jogo) wrote :

no hits in a while looks like this was resolved somehow or maybe we aren't triggering this race anymore

Changed in glance:
status: Triaged → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: none → juno-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: juno-3 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.