yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #07686
[Bug 1263578] [NEW] http connection pool error in test runs
Public bug reported:
I saw this test failure on jenkins that seemed unrelated to the existing
patch.
2013-12-22 18:00:07.979 | ERROR: glance.tests.functional.v2.test_images.TestImages.test_image_visibility_to_different_users
2013-12-22 18:00:07.979 | ----------------------------------------------------------------------
2013-12-22 18:00:07.980 | _StringException: Traceback (most recent call last):
2013-12-22 18:00:07.980 | File "/home/jenkins/workspace/gate-glance-python27/glance/tests/functional/v2/test_images.py", line 1625, in test_image_visibility_to_different_users
2013-12-22 18:00:07.980 | response = requests.post(path, headers=headers, data=data)
2013-12-22 18:00:07.980 | File "/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/requests/api.py", line 88, in post
2013-12-22 18:00:07.980 | return request('post', url, data=data, **kwargs)
2013-12-22 18:00:07.980 | File "/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/requests/api.py", line 44, in request
2013-12-22 18:00:07.980 | return session.request(method=method, url=url, **kwargs)
2013-12-22 18:00:07.981 | File "/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/requests/sessions.py", line 382, in request
2013-12-22 18:00:07.981 | resp = self.send(prep, **send_kwargs)
2013-12-22 18:00:07.981 | File "/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/requests/sessions.py", line 485, in send
2013-12-22 18:00:07.981 | r = adapter.send(request, **kwargs)
2013-12-22 18:00:07.981 | File "/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/requests/adapters.py", line 372, in send
2013-12-22 18:00:07.981 | raise ConnectionError(e)
2013-12-22 18:00:07.982 | ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=40058): Max retries exceeded with url: /v2/images (Caused by <class 'socket.error'>: [Errno 111] ECONNREFUSED)
2013-12-22 18:00:07.982 |
** Affects: glance
Importance: Medium
Status: Confirmed
** Changed in: glance
Status: New => Confirmed
** Changed in: glance
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1263578
Title:
http connection pool error in test runs
Status in OpenStack Image Registry and Delivery Service (Glance):
Confirmed
Bug description:
I saw this test failure on jenkins that seemed unrelated to the
existing patch.
2013-12-22 18:00:07.979 | ERROR: glance.tests.functional.v2.test_images.TestImages.test_image_visibility_to_different_users
2013-12-22 18:00:07.979 | ----------------------------------------------------------------------
2013-12-22 18:00:07.980 | _StringException: Traceback (most recent call last):
2013-12-22 18:00:07.980 | File "/home/jenkins/workspace/gate-glance-python27/glance/tests/functional/v2/test_images.py", line 1625, in test_image_visibility_to_different_users
2013-12-22 18:00:07.980 | response = requests.post(path, headers=headers, data=data)
2013-12-22 18:00:07.980 | File "/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/requests/api.py", line 88, in post
2013-12-22 18:00:07.980 | return request('post', url, data=data, **kwargs)
2013-12-22 18:00:07.980 | File "/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/requests/api.py", line 44, in request
2013-12-22 18:00:07.980 | return session.request(method=method, url=url, **kwargs)
2013-12-22 18:00:07.981 | File "/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/requests/sessions.py", line 382, in request
2013-12-22 18:00:07.981 | resp = self.send(prep, **send_kwargs)
2013-12-22 18:00:07.981 | File "/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/requests/sessions.py", line 485, in send
2013-12-22 18:00:07.981 | r = adapter.send(request, **kwargs)
2013-12-22 18:00:07.981 | File "/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/requests/adapters.py", line 372, in send
2013-12-22 18:00:07.981 | raise ConnectionError(e)
2013-12-22 18:00:07.982 | ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=40058): Max retries exceeded with url: /v2/images (Caused by <class 'socket.error'>: [Errno 111] ECONNREFUSED)
2013-12-22 18:00:07.982 |
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1263578/+subscriptions
Follow ups
References