[openstack-dev] Tox run failure during installation of dependencies in requirements
Narasimhan, Vivekanandan
vivekanandan.narasimhan at hp.com
Wed Aug 6 13:22:08 UTC 2014
Hi Igor /Matthieu,
I am getting random connection timeouts to pypi.python.org with my machine behind the proxy when trying to run
Tox –e pep8
Dependency installation fails with the stack trace posted below.
However, similar issue does not occur when I use run_tests.sh to run the same set of tests.
My machine is able to reach pypi.python.org. Some packages are getting installed while doing some others,
It fails as below.
It looks like am hitting the problem as here, but the solution proposed there isn’t working for me.
https://github.com/pypa/pip/issues/1805
--
Thanks,
Vivek
From: Igor Degtiarov [mailto:idegtiarov at mirantis.com]
Sent: Wednesday, August 06, 2014 3:54 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] Tox run failure during installation of dependencies in requirements
Hi,
Actually the same question, what is wrong with Tox now?
-- Igor
On Wed, Aug 6, 2014 at 1:19 PM, Narasimhan, Vivekanandan <vivekanandan.narasimhan at hp.com<mailto:vivekanandan.narasimhan at hp.com>> wrote:
Hi,
Recently , the Tox runs started to fail in my workspace.
It fails consistently during installing dependencies with the following.
Downloading/unpacking PrettyTable>=0.7,<0.8 (from python-keystoneclient>=0.10.0->-r /home/narasimv/dev/bug1350485/neutron/requirements.txt (line 22))
Cleaning up...
Exception:
Traceback (most recent call last):
File "/home/narasimv/dev/bug1350485/neutron/.tox/pep8/local/lib/python2.7/site-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/home/narasimv/dev/bug1350485/neutron/.tox/pep8/local/lib/python2.7/site-packages/pip/commands/install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/home/narasimv/dev/bug1350485/neutron/.tox/pep8/local/lib/python2.7/site-packages/pip/req.py", line 1197, in prepare_files
do_download,
File "/home/narasimv/dev/bug1350485/neutron/.tox/pep8/local/lib/python2.7/site-packages/pip/req.py", line 1375, in unpack_url
self.session,
File "/home/narasimv/dev/bug1350485/neutron/.tox/pep8/local/lib/python2.7/site-packages/pip/download.py", line 546, in unpack_http_url
resp = session.get(target_url, stream=True)
File "/home/narasimv/dev/bug1350485/neutron/.tox/pep8/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 468, in get
return self.request('GET', url, **kwargs)
File "/home/narasimv/dev/bug1350485/neutron/.tox/pep8/local/lib/python2.7/site-packages/pip/download.py", line 237, in request
return super(PipSession, self).request(method, url, *args, **kwargs)
File "/home/narasimv/dev/bug1350485/neutron/.tox/pep8/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 456, in request
resp = self.send(prep, **send_kwargs)
File "/home/narasimv/dev/bug1350485/neutron/.tox/pep8/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 559, in send
r = adapter.send(request, **kwargs)
File "/home/narasimv/dev/bug1350485/neutron/.tox/pep8/local/lib/python2.7/site-packages/pip/_vendor/requests/adapters.py", line 384, in send
raise Timeout(e, request=request)
Timeout: (<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x37e4790>, 'Connection to pypi.python.org<http://pypi.python.org> timed out. (connect timeout=15)')
The TOX was earlier running in the same workspace successfully on the machine
even though we were behind the proxy.
Could you please advise on how to resolve this problem?
--
Thanks,
Vivek
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org<mailto:OpenStack-dev at lists.openstack.org>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140806/cce0bb6e/attachment.html>
More information about the OpenStack-dev
mailing list