[openstack-dev] Neutron - run_tests.sh fails while creating a Virtual environment
Vasudevan, Swaminathan (PNB Roseville)
swaminathan.vasudevan at hp.com
Wed Jan 22 01:21:23 UTC 2014
Hi folks,
Does anyone have an idea why the "run_tests.sh" script fails when I run it with a "run_tests.sh -v" in Ubuntu.
I have provided the output of the "run_tests.sh -V".
It tries to install "python-mimeparse" and then it raises an exception. See the exception below:
Console log:
Requirement already up-to-date: six in ./.venv/lib/python2.7/site-packages (from hacking>=0.5.6,<0.8->-r /opt/stack/neutron/test-requirements.txt (line 1))
Requirement already up-to-date: cmd2>=0.6.7 in ./.venv/lib/python2.7/site-packages (from cliff>=1.4.3->-r /opt/stack/neutron/test-requirements.txt (line 3))
Requirement already up-to-date: PrettyTable>=0.6,<0.8 in ./.venv/lib/python2.7/site-packages (from cliff>=1.4.3->-r /opt/stack/neutron/test-requirements.txt (line 3))
Requirement already up-to-date: pyparsing>=2.0.1 in ./.venv/lib/python2.7/site-packages (from cliff>=1.4.3->-r /opt/stack/neutron/test-requirements.txt (line 3))
Requirement already up-to-date: stevedore in ./.venv/lib/python2.7/site-packages (from cliff>=1.4.3->-r /opt/stack/neutron/test-requirements.txt (line 3))
Downloading/unpacking extras (from python-subunit->-r /opt/stack/neutron/test-requirements.txt (line 9))
Downloading extras-0.0.3.tar.gz
Running setup.py (path:/opt/stack/neutron/.venv/build/extras/setup.py) egg_info for package extras
Downloading/unpacking Pygments>=1.2 (from sphinx>=1.1.2,<1.2->-r /opt/stack/neutron/test-requirements.txt (line 10))
Downloading Pygments-1.6.tar.gz (1.4MB): 1.4MB downloaded
Running setup.py (path:/opt/stack/neutron/.venv/build/Pygments/setup.py) egg_info for package Pygments
Requirement already up-to-date: Jinja2>=2.3 in ./.venv/lib/python2.7/site-packages (from sphinx>=1.1.2,<1.2->-r /opt/stack/neutron/test-requirements.txt (line 10))
Downloading/unpacking docutils>=0.7 (from sphinx>=1.1.2,<1.2->-r /opt/stack/neutron/test-requirements.txt (line 10))
Downloading docutils-0.11.tar.gz (1.6MB): 1.6MB downloaded
Running setup.py (path:/opt/stack/neutron/.venv/build/docutils/setup.py) egg_info for package docutils
warning: no files found matching 'MANIFEST'
warning: no files found matching '*' under directory 'extras'
warning: no previously-included files matching '.cvsignore' found under directory '*'
warning: no previously-included files matching '*.pyc' found under directory '*'
warning: no previously-included files matching '*~' found under directory '*'
warning: no previously-included files matching '.DS_Store' found under directory '*'
Downloading/unpacking python-mimeparse (from testtools>=0.9.34->-r /opt/stack/neutron/test-requirements.txt (line 12))
Cleaning up...
Exception:
Traceback (most recent call last):
File "/opt/stack/neutron/.venv/local/lib/python2.7/site-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/opt/stack/neutron/.venv/local/lib/python2.7/site-packages/pip/commands/install.py", line 274, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/opt/stack/neutron/.venv/local/lib/python2.7/site-packages/pip/req.py", line 1173, in prepare_files
self.unpack_url(url, location, self.is_download)
File "/opt/stack/neutron/.venv/local/lib/python2.7/site-packages/pip/req.py", line 1320, in unpack_url
retval = unpack_http_url(link, location, self.download_cache, self.download_dir, self.session)
File "/opt/stack/neutron/.venv/local/lib/python2.7/site-packages/pip/download.py", line 555, in unpack_http_url
resp = session.get(target_url, stream=True)
File "/opt/stack/neutron/.venv/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 395, in get
return self.request('GET', url, **kwargs)
File "/opt/stack/neutron/.venv/local/lib/python2.7/site-packages/pip/download.py", line 237, in request
return super(PipSession, self).request(method, url, *args, **kwargs)
File "/opt/stack/neutron/.venv/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 383, in request
resp = self.send(prep, **send_kwargs)
File "/opt/stack/neutron/.venv/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 486, in send
r = adapter.send(request, **kwargs)
File "/opt/stack/neutron/.venv/local/lib/python2.7/site-packages/pip/_vendor/requests/adapters.py", line 391, in send
raise Timeout(e)
Timeout: (<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection instance at 0x261c7a0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')
Storing debug log for failure in /tmp/tmpMNihy6
Command "tools/with_venv.sh pip install --upgrade -r /opt/stack/neutron/test-requirements.txt" failed.
None
Thanks.
Swaminathan Vasudevan
Systems Software Engineer (TC)
HP Networking
Hewlett-Packard
8000 Foothills Blvd
M/S 5541
Roseville, CA - 95747
tel: 916.785.0937
fax: 916.785.1815
email: swaminathan.vasudevan at hp.com<mailto:swaminathan.vasudevan at hp.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140122/ccee4a5e/attachment.html>
More information about the OpenStack-dev
mailing list