Error <urlopen error timed out> while getting http://pypi.openstack.org/openstack/pbr/pbr-0.6.tar.gz

Bug #1281546 reported by Xinyuan Huang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
Confirmed
Undecided
Unassigned

Bug Description

Downloading/unpacking pbr>=0.5.21,<1.0 (from -r /home/jenkins/workspace/gate-nova-python27/requirements.txt (line 1))
   Error <urlopen error timed out> while getting http://pypi.openstack.org/openstack/pbr/pbr-0.6.tar.gz (from http://pypi.openstack.org/openstack/pbr/)
 Cleaning up...
 Exception:
 Traceback (most recent call last):
   File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/pip/basecommand.py", line 134, in main
     status = self.run(options, args)
   File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/pip/commands/install.py", line 236, in run
     requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
   File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/pip/req.py", line 1092, in prepare_files
     self.unpack_url(url, location, self.is_download)
   File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/pip/req.py", line 1238, in unpack_url
     retval = unpack_http_url(link, location, self.download_cache, self.download_dir)
   File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/pip/download.py", line 602, in unpack_http_url
     resp = _get_response_from_url(target_url, link)
   File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/pip/download.py", line 638, in _get_response_from_url
     resp = urlopen(target_url)
   File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/pip/download.py", line 176, in __call__
     response = self.get_opener(scheme=scheme).open(url)
   File "/usr/lib/python2.7/urllib2.py", line 400, in open
     response = self._open(req, data)
   File "/usr/lib/python2.7/urllib2.py", line 418, in _open
     '_open', req)
   File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
     result = func(*args)
   File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open
     return self.do_open(httplib.HTTPConnection, req)
   File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open
     raise URLError(err)
 URLError: <urlopen error timed out>

 Storing complete log in /home/jenkins/.pip/pip.log

 ERROR: could not install deps [-r/home/jenkins/workspace/gate-nova-python27/requirements.txt, -r/home/jenkins/workspace/gate-nova-python27/test-requirements.txt]

Tags: gate-failure
Revision history for this message
Joel Friedly (joelfriedly) wrote :
Download full text (3.2 KiB)

Just marked a review as needing a recheck on this. My exact traceback was different, but I'm pretty sure that it's the same underlying issue:

https://review.openstack.org/#/c/74242/
http://logs.openstack.org/42/74242/7/check/check-tempest-dsvm-postgres-full/db56c66/console.html

2014-03-04 23:57:58.525 | Downloading/unpacking pip>=1.4 from https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz#md5=834b2904f92d46aaa333267fb1c922bb (from pbr>=0.6,<1.0->tempest==2014.1.dev3306.g652a624)
2014-03-04 23:57:58.525 | Error <urlopen error _ssl.c:489: The handshake operation timed out> while getting https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz#md5=834b2904f92d46aaa333267fb1c922bb
2014-03-04 23:57:58.525 | Cleaning up...
2014-03-04 23:57:58.525 | Exception:
2014-03-04 23:57:58.525 | Traceback (most recent call last):
2014-03-04 23:57:58.525 | File "/opt/stack/new/tempest/.tox/full/local/lib/python2.7/site-packages/pip/basecommand.py", line 134, in main
2014-03-04 23:57:58.525 | status = self.run(options, args)
2014-03-04 23:57:58.525 | File "/opt/stack/new/tempest/.tox/full/local/lib/python2.7/site-packages/pip/commands/install.py", line 236, in run
2014-03-04 23:57:58.525 | requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
2014-03-04 23:57:58.526 | File "/opt/stack/new/tempest/.tox/full/local/lib/python2.7/site-packages/pip/req.py", line 1092, in prepare_files
2014-03-04 23:57:58.526 | self.unpack_url(url, location, self.is_download)
2014-03-04 23:57:58.526 | File "/opt/stack/new/tempest/.tox/full/local/lib/python2.7/site-packages/pip/req.py", line 1238, in unpack_url
2014-03-04 23:57:58.526 | retval = unpack_http_url(link, location, self.download_cache, self.download_dir)
2014-03-04 23:57:58.526 | File "/opt/stack/new/tempest/.tox/full/local/lib/python2.7/site-packages/pip/download.py", line 602, in unpack_http_url
2014-03-04 23:57:58.526 | resp = _get_response_from_url(target_url, link)
2014-03-04 23:57:58.526 | File "/opt/stack/new/tempest/.tox/full/local/lib/python2.7/site-packages/pip/download.py", line 638, in _get_response_from_url
2014-03-04 23:57:58.526 | resp = urlopen(target_url)
2014-03-04 23:57:58.526 | File "/opt/stack/new/tempest/.tox/full/local/lib/python2.7/site-packages/pip/download.py", line 176, in __call__
2014-03-04 23:57:58.526 | response = self.get_opener(scheme=scheme).open(url)
2014-03-04 23:57:58.526 | File "/usr/lib/python2.7/urllib2.py", line 400, in open
2014-03-04 23:57:58.527 | response = self._open(req, data)
2014-03-04 23:57:58.527 | File "/usr/lib/python2.7/urllib2.py", line 418, in _open
2014-03-04 23:57:58.527 | '_open', req)
2014-03-04 23:57:58.527 | File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
2014-03-04 23:57:58.527 | result = func(*args)
2014-03-04 23:57:58.527 | File "/opt/stack/new/tempest/.tox/full/local/lib/python2.7/site-packages/pip/download.py", line 155, in https_open
2014-03-04 23:57:58.527 | return self.do_open(self.specialized_conn_class, req)
2014-03-04 23:57:58.527 | File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open
2014-03-04 23:57:58...

Read more...

Jeremy Stanley (fungi)
Changed in openstack-ci:
status: New → Triaged
James E. Blair (corvus)
Changed in openstack-ci:
status: Triaged → Confirmed
tags: added: gate-failure
Revision history for this message
Jeremy Stanley (fungi) wrote :

This looks like a duplicate of bug 1270710 but with a slightly different traceback (pip timing out in a direct socket call vs inside of urllib) which could be attributed to different versions of pip (it's been changing significantly in that timeframe).

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.