Failed to download from pypi.python.org

Bug #1263827 reported by Steve Kowalik
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
Fix Released
Low
Unassigned

Bug Description

2013-12-23 05:25:27.117 | Downloading/unpacking MySQL-python (from -r /home/jenkins/workspace/gate-glance-pep8/test-requirements.txt (line 20))
2013-12-23 05:25:27.117 | Running setup.py egg_info for package MySQL-python
2013-12-23 05:25:27.117 | Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz
2013-12-23 05:25:27.117 | Traceback (most recent call last):
2013-12-23 05:25:27.117 | File "<string>", line 16, in <module>
2013-12-23 05:25:27.118 | File "/home/jenkins/workspace/gate-glance-pep8/.tox/pep8/build/MySQL-python/setup.py", line 7, in <module>
2013-12-23 05:25:27.118 | use_setuptools()
2013-12-23 05:25:27.118 | File "distribute_setup.py", line 145, in use_setuptools
2013-12-23 05:25:27.118 | return _do_download(version, download_base, to_dir, download_delay)
2013-12-23 05:25:27.118 | File "distribute_setup.py", line 124, in _do_download
2013-12-23 05:25:27.118 | to_dir, download_delay)
2013-12-23 05:25:27.118 | File "distribute_setup.py", line 194, in download_setuptools
2013-12-23 05:25:27.118 | src = urlopen(url)
2013-12-23 05:25:27.119 | File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
2013-12-23 05:25:27.119 | return _opener.open(url, data, timeout)
2013-12-23 05:25:27.119 | File "/usr/lib/python2.7/urllib2.py", line 400, in open
2013-12-23 05:25:27.119 | response = self._open(req, data)
2013-12-23 05:25:27.119 | File "/usr/lib/python2.7/urllib2.py", line 418, in _open
2013-12-23 05:25:27.119 | '_open', req)
2013-12-23 05:25:27.119 | File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
2013-12-23 05:25:27.120 | result = func(*args)
2013-12-23 05:25:27.120 | File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open
2013-12-23 05:25:27.120 | return self.do_open(httplib.HTTPConnection, req)
2013-12-23 05:25:27.120 | File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open
2013-12-23 05:25:27.120 | raise URLError(err)
2013-12-23 05:25:27.120 | urllib2.URLError: <urlopen error [Errno -2] Name or service not known>
2013-12-23 05:25:27.121 | Complete output from command python setup.py egg_info:
2013-12-23 05:25:27.121 | Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz
2013-12-23 05:25:27.121 |
2013-12-23 05:25:27.121 | Traceback (most recent call last):
2013-12-23 05:25:27.121 |
2013-12-23 05:25:27.121 | File "<string>", line 16, in <module>
2013-12-23 05:25:27.121 |
2013-12-23 05:25:27.122 | File "/home/jenkins/workspace/gate-glance-pep8/.tox/pep8/build/MySQL-python/setup.py", line 7, in <module>
2013-12-23 05:25:27.122 |
2013-12-23 05:25:27.122 | use_setuptools()
2013-12-23 05:25:27.122 |
2013-12-23 05:25:27.122 | File "distribute_setup.py", line 145, in use_setuptools
2013-12-23 05:25:27.122 |
2013-12-23 05:25:27.122 | return _do_download(version, download_base, to_dir, download_delay)
2013-12-23 05:25:27.123 |
2013-12-23 05:25:27.123 | File "distribute_setup.py", line 124, in _do_download
2013-12-23 05:25:27.123 |
2013-12-23 05:25:27.123 | to_dir, download_delay)
2013-12-23 05:25:27.123 |
2013-12-23 05:25:27.123 | File "distribute_setup.py", line 194, in download_setuptools
2013-12-23 05:25:27.124 |
2013-12-23 05:25:27.124 | src = urlopen(url)
2013-12-23 05:25:27.124 |
2013-12-23 05:25:27.124 | File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
2013-12-23 05:25:27.124 |
2013-12-23 05:25:27.124 | return _opener.open(url, data, timeout)
2013-12-23 05:25:27.124 |
2013-12-23 05:25:27.125 | File "/usr/lib/python2.7/urllib2.py", line 400, in open
2013-12-23 05:25:27.125 |
2013-12-23 05:25:27.125 | response = self._open(req, data)
2013-12-23 05:25:27.125 |
2013-12-23 05:25:27.125 | File "/usr/lib/python2.7/urllib2.py", line 418, in _open
2013-12-23 05:25:27.125 |
2013-12-23 05:25:27.125 | '_open', req)
2013-12-23 05:25:27.126 |
2013-12-23 05:25:27.126 | File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
2013-12-23 05:25:27.126 |
2013-12-23 05:25:27.126 | result = func(*args)
2013-12-23 05:25:27.126 |
2013-12-23 05:25:27.126 | File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open
2013-12-23 05:25:27.126 |
2013-12-23 05:25:27.127 | return self.do_open(httplib.HTTPConnection, req)
2013-12-23 05:25:27.127 |
2013-12-23 05:25:27.127 | File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open
2013-12-23 05:25:27.127 |
2013-12-23 05:25:27.127 | raise URLError(err)
2013-12-23 05:25:27.127 |
2013-12-23 05:25:27.127 | urllib2.URLError: <urlopen error [Errno -2] Name or service not known>

Full log at http://logs.openstack.org/99/59699/5/check/gate-glance-pep8/5d6edaa/console.html

Revision history for this message
Clark Boylan (cboylan) wrote :

Noting that this appears to be a problem with mysql-python's setup.py. It for whatever reason talks directly to the outside world to install distribute and ignores the settings in ~/.pip/pip.conf and ~/.pydistutils.cfg.

Changed in openstack-ci:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Erno Kuvaja (jokke) wrote :

Seems that this was hit again:
2014-03-19 13:30:04.808 | Downloading/unpacking Tempita>=0.4 (from sqlalchemy-migrate>=0.8.2,!=0.8.4->-r /home/jenkins/workspace/gate-glance-pep8/requirements.txt (line 17))
2014-03-19 13:30:04.808 | Error <urlopen error [Errno -2] Name or service not known> while getting http://pypi.openstack.org/openstack/Tempita/Tempita-0.5.2.tar.gz (from http://pypi.openstack.org/openstack/Tempita/)
2014-03-19 13:30:04.808 | Cleaning up...
2014-03-19 13:30:04.809 | Exception:
2014-03-19 13:30:04.809 | Traceback (most recent call last):
2014-03-19 13:30:04.809 | File "/home/jenkins/workspace/gate-glance-pep8/.tox/pep8/lib/python2.6/site-packages/pip/basecommand.py", line 134, in main
2014-03-19 13:30:04.809 | status = self.run(options, args)
2014-03-19 13:30:04.809 | File "/home/jenkins/workspace/gate-glance-pep8/.tox/pep8/lib/python2.6/site-packages/pip/commands/install.py", line 236, in run
2014-03-19 13:30:04.809 | requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
2014-03-19 13:30:04.809 | File "/home/jenkins/workspace/gate-glance-pep8/.tox/pep8/lib/python2.6/site-packages/pip/req.py", line 1092, in prepare_files
2014-03-19 13:30:04.809 | self.unpack_url(url, location, self.is_download)
2014-03-19 13:30:04.809 | File "/home/jenkins/workspace/gate-glance-pep8/.tox/pep8/lib/python2.6/site-packages/pip/req.py", line 1238, in unpack_url
2014-03-19 13:30:04.809 | retval = unpack_http_url(link, location, self.download_cache, self.download_dir)
2014-03-19 13:30:04.809 | File "/home/jenkins/workspace/gate-glance-pep8/.tox/pep8/lib/python2.6/site-packages/pip/download.py", line 602, in unpack_http_url
2014-03-19 13:30:04.810 | resp = _get_response_from_url(target_url, link)
2014-03-19 13:30:04.810 | File "/home/jenkins/workspace/gate-glance-pep8/.tox/pep8/lib/python2.6/site-packages/pip/download.py", line 638, in _get_response_from_url
2014-03-19 13:30:04.810 | resp = urlopen(target_url)
2014-03-19 13:30:04.810 | File "/home/jenkins/workspace/gate-glance-pep8/.tox/pep8/lib/python2.6/site-packages/pip/download.py", line 176, in __call__
2014-03-19 13:30:04.810 | response = self.get_opener(scheme=scheme).open(url)
2014-03-19 13:30:04.810 | File "/usr/lib64/python2.6/urllib2.py", line 391, in open
2014-03-19 13:30:04.810 | response = self._open(req, data)
2014-03-19 13:30:04.810 | File "/usr/lib64/python2.6/urllib2.py", line 409, in _open
2014-03-19 13:30:04.810 | '_open', req)
2014-03-19 13:30:04.810 | File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
2014-03-19 13:30:04.810 | result = func(*args)
2014-03-19 13:30:04.811 | File "/usr/lib64/python2.6/urllib2.py", line 1190, in http_open
2014-03-19 13:30:04.811 | return self.do_open(httplib.HTTPConnection, req)
2014-03-19 13:30:04.811 | File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open
2014-03-19 13:30:04.811 | raise URLError(err)
2014-03-19 13:30:04.811 | URLError: <urlopen error [Errno -2] Name or service not known>

http://logs.openstack.org/85/79985/13/check/gate-glance-pep8/43457f1/console.html

Revision history for this message
Jeremy Stanley (fungi) wrote :

Wrong bug for that last comment. This bug is about failure to retrieve files from pypi.python.org but you encountered a connectivity issue or similar for pypi.openstack.org.

Revision history for this message
James E. Blair (corvus) wrote :

This shouldn't be an issue with the new bandersnatch mirror.

Changed in openstack-ci:
status: Triaged → Fix Released
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.