ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=35413): Max retries exceeded with url: /v2/images (Caused by <class 'socket.error'>: [Errno 111] ECONNREFUSED)

Bug #1284882 reported by Kiyohiro Adachi
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Glance
Confirmed
Undecided
Unassigned

Bug Description

http://logs.openstack.org/86/74886/7/check/gate-glance-python26/5d3577f/

2014-02-25 08:53:24.477 | running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
2014-02-25 08:53:24.477 | OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
2014-02-25 08:53:24.477 | OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
2014-02-25 08:53:24.477 | ${PYTHON:-python} -m subunit.run discover -t ./ ./glance/tests
2014-02-25 08:53:24.477 | ======================================================================
2014-02-25 08:53:24.477 | FAIL: glance.tests.functional.v2.test_images.TestImages.test_image_visibility_to_different_users
2014-02-25 08:53:24.477 | tags: worker-0
2014-02-25 08:53:24.477 | ----------------------------------------------------------------------
2014-02-25 08:53:24.477 | Traceback (most recent call last):
2014-02-25 08:53:24.478 | File "glance/tests/functional/v2/test_images.py", line 1673, in test_image_visibility_to_different_users
2014-02-25 08:53:24.478 | response = requests.post(path, headers=headers, data=data)
2014-02-25 08:53:24.478 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/requests/api.py", line 88, in post
2014-02-25 08:53:24.478 | return request('post', url, data=data, **kwargs)
2014-02-25 08:53:24.478 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/requests/api.py", line 44, in request
2014-02-25 08:53:24.478 | return session.request(method=method, url=url, **kwargs)
2014-02-25 08:53:24.478 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/requests/sessions.py", line 383, in request
2014-02-25 08:53:24.478 | resp = self.send(prep, **send_kwargs)
2014-02-25 08:53:24.478 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/requests/sessions.py", line 486, in send
2014-02-25 08:53:24.478 | r = adapter.send(request, **kwargs)
2014-02-25 08:53:24.478 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/requests/adapters.py", line 378, in send
2014-02-25 08:53:24.478 | raise ConnectionError(e)
2014-02-25 08:53:24.479 | ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=35413): Max retries exceeded with url: /v2/images (Caused by <class 'socket.error'>: [Errno 111] ECONNREFUSED)
2014-02-25 08:53:24.479 | ======================================================================
2014-02-25 08:53:24.479 | FAIL: process-returncode
2014-02-25 08:53:24.479 | tags: worker-0
2014-02-25 08:53:24.479 | ----------------------------------------------------------------------
2014-02-25 08:53:24.479 | Binary content:
2014-02-25 08:53:24.479 | traceback (test/plain; charset="utf8")
2014-02-25 08:53:24.479 | Ran 2194 tests in 779.097s
2014-02-25 08:53:24.479 | FAILED (id=0, failures=2, skips=33)
2014-02-25 08:53:24.516 | error: testr failed (1)
2014-02-25 08:53:24.538 | ERROR: InvocationError: '/home/jenkins/workspace/gate-glance-python26/.tox/py26/bin/python -m glance.openstack.common.lockutils python setup.py test --slowest --testr-args=--concurrency 1 '
2014-02-25 08:53:24.538 | ___________________________________ summary ____________________________________
2014-02-25 08:53:24.538 | ERROR: py26: commands failed

James E. Blair (corvus)
no longer affects: openstack-ci
Ian Cordasco (icordasc)
Changed in glance:
status: New → Invalid
Revision history for this message
Ian Cordasco (icordasc) wrote :

This seems to have been an intermittent failure in which the server shutdown prematurely or the server couldn't accept new connections (perhaps because of previous long running connections to clients). That said, with no other activity on this since February of 2014, it is clearly a one-off issue. This is occasionally seen in the gate too in my limited experience with other projects.

Revision history for this message
Ihar Hrachyshka (ihar-hrachyshka) wrote :
Changed in glance:
status: Invalid → Confirmed
Revision history for this message
Ian Cordasco (icordasc) wrote :

Ihar, what do you propose we do to fix this? The test server used in that job is clearly unavailable, either due to processing a different request or because it simply isn't running.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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