[openstack-dev] Fwd: ./run_test.sh Fails
Sayali Lunkad
sayali.92720 at gmail.com
Sat Dec 21 07:45:54 UTC 2013
Subject: ./run_test.sh fails to build environment
Hello,
I get this error when I try to set the environment for Horizon. Any idea
why this is happening? I am running Devstack on a VM with Ubuntu 12.04.
sayali at sayali:/opt/stack/horizon$ ./run_tests.sh
Checking environment.
Environment not found. Install? (Y/n) y
Fetching new src packages...
Creating venv... done.
Installing dependencies with pip (this can take a while)...
Downloading/unpacking pip>=1.4
Creating supposed download cache at /tmp/.pip_download_cache
Downloading pip-1.4.1.tar.gz (445Kb): 445Kb downloaded
Storing download in cache at /tmp/.pip_download_cache/https%3A%2F%
2Fpypi.python.org%2Fpackages%2Fsource%2Fp%2Fpip%2Fpip-1.4.1.tar.gz
Running setup.py egg_info for package pip
warning: no files found matching '*.html' under directory 'docs'
warning: no previously-included files matching '*.rst' found under
directory 'docs/_build'
no previously-included directories found matching 'docs/_build/_sources'
Installing collected packages: pip
Found existing installation: pip 1.1
Uninstalling pip:
Successfully uninstalled pip
Running setup.py install for pip
warning: no files found matching '*.html' under directory 'docs'
warning: no previously-included files matching '*.rst' found under
directory 'docs/_build'
no previously-included directories found matching 'docs/_build/_sources'
Installing pip script to /opt/stack/horizon/.venv/bin
Installing pip-2.7 script to /opt/stack/horizon/.venv/bin
Successfully installed pip
Cleaning up...
Downloading/unpacking distribute from
https://pypi.python.org/packages/source/d/distribute/distribute-0.7.3.zip#md5=c6c59594a7b180af57af8a0cc0cf5b4a
Downloading distribute-0.7.3.zip (145kB): 145kB downloaded
Storing download in cache at /tmp/.pip_download_cache/https%3A%2F%
2Fpypi.python.org
%2Fpackages%2Fsource%2Fd%2Fdistribute%2Fdistribute-0.7.3.zip
Running setup.py egg_info for package distribute
Downloading/unpacking setuptools>=0.7 (from distribute)
Downloading setuptools-2.0.1.tar.gz (783kB): 783kB downloaded
Storing download in cache at /tmp/.pip_download_cache/https%3A%2F%
2Fpypi.python.org
%2Fpackages%2Fsource%2Fs%2Fsetuptools%2Fsetuptools-2.0.1.tar.gz
Running setup.py egg_info for package setuptools
Installing collected packages: setuptools, distribute
Found existing installation: distribute 0.6.24
Uninstalling distribute:
Successfully uninstalled distribute
Running setup.py install for setuptools
Installing easy_install script to /opt/stack/horizon/.venv/bin
Installing easy_install-2.7 script to /opt/stack/horizon/.venv/bin
Found existing installation: distribute 0.6.24
Can't uninstall 'distribute'. No files were found to uninstall.
Running setup.py install for distribute
Successfully installed setuptools distribute
Cleaning up...
Downloading/unpacking pbr
Downloading pbr-0.5.23.tar.gz (128kB): 128kB downloaded
Storing download in cache at /tmp/.pip_download_cache/https%3A%2F%
2Fpypi.python.org%2Fpackages%2Fsource%2Fp%2Fpbr%2Fpbr-0.5.23.tar.gz
Running setup.py egg_info for package pbr
[pbr] Processing SOURCES.txt
warning: LocalManifestMaker: standard file '-c' not found
[pbr] In git context, generating filelist from git
warning: no previously-included files matching '*.pyc' found anywhere
in distribution
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.gitreview'
warning: no previously-included files matching '*.pyc' found anywhere
in distribution
Requirement already up-to-date: pip>=1.0 in
./.venv/lib/python2.7/site-packages (from pbr)
Installing collected packages: pbr
Running setup.py install for pbr
[pbr] Reusing existing SOURCES.txt
Successfully installed pbr
Cleaning up...
Requirement already up-to-date: pbr>=0.5.21,<1.0 in
./.venv/lib/python2.7/site-packages (from -r
/opt/stack/horizon/requirements.txt (line 1))
Downloading/unpacking Django>=1.4,<1.6 (from -r
/opt/stack/horizon/requirements.txt (line 3))
Downloading Django-1.5.5.tar.gz (8.1MB): 8.1MB downloaded
Storing download in cache at /tmp/.pip_download_cache/https%3A%2F%
2Fpypi.python.org%2Fpackages%2Fsource%2FD%2FDjango%2FDjango-1.5.5.tar.gz
Running setup.py egg_info for package Django
warning: no previously-included files matching '__pycache__' found
under directory '*'
warning: no previously-included files matching '*.py[co]' found under
directory '*'
Downloading/unpacking django-compressor>=1.3 (from -r
/opt/stack/horizon/requirements.txt (line 4))
Downloading django_compressor-1.3.tar.gz (91kB): 91kB downloaded
Storing download in cache at /tmp/.pip_download_cache/https%3A%2F%
2Fpypi.python.org
%2Fpackages%2Fsource%2Fd%2Fdjango_compressor%2Fdjango_compressor-1.3.tar.gz
Running setup.py egg_info for package django-compressor
warning: no files found matching '*.js' under directory
'compressor/tests/media'
warning: no files found matching '*.css' under directory
'compressor/tests/media'
warning: no files found matching '*.png' under directory
'compressor/tests/media'
warning: no files found matching '*.coffee' under directory
'compressor/tests/media'
Downloading/unpacking django-openstack-auth>=1.1.3 (from -r
/opt/stack/horizon/requirements.txt (line 5))
Downloading django_openstack_auth-1.1.3.tar.gz (45kB): 45kB downloaded
Storing download in cache at /tmp/.pip_download_cache/https%3A%2F%
2Fpypi.python.org
%2Fpackages%2Fsource%2Fd%2Fdjango_openstack_auth%2Fdjango_openstack_auth-1.1.3.tar.gz
Running setup.py egg_info for package django-openstack-auth
[pbr] Processing SOURCES.txt
warning: LocalManifestMaker: standard file '-c' not found
[pbr] In git context, generating filelist from git
warning: no previously-included files matching '*.pyc' found anywhere
in distribution
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.gitreview'
warning: no previously-included files matching '*.pyc' found anywhere
in distribution
Downloading/unpacking eventlet>=0.13.0 (from -r
/opt/stack/horizon/requirements.txt (line 6))
Downloading eventlet-0.14.0.tar.gz (279kB): 279kB downloaded
Storing download in cache at /tmp/.pip_download_cache/https%3A%2F%
2Fpypi.python.org
%2Fpackages%2Fsource%2Fe%2Feventlet%2Feventlet-0.14.0.tar.gz
Running setup.py egg_info for package eventlet
Downloading/unpacking kombu>=2.4.8 (from -r
/opt/stack/horizon/requirements.txt (line 7))
Downloading kombu-3.0.8.tar.gz (335kB): 335kB downloaded
Storing download in cache at /tmp/.pip_download_cache/https%3A%2F%
2Fpypi.python.org%2Fpackages%2Fsource%2Fk%2Fkombu%2Fkombu-3.0.8.tar.gz
Running setup.py egg_info for package kombu
warning: no files found matching 'README'
Downloading/unpacking lesscpy>=0.9j (from -r
/opt/stack/horizon/requirements.txt (line 8))
Downloading lesscpy-0.9j.tar.gz
Storing download in cache at /tmp/.pip_download_cache/https%3A%2F%
2Fpypi.python.org%2Fpackages%2Fsource%2Fl%2Flesscpy%2Flesscpy-0.9j.tar.gz
Running setup.py egg_info for package lesscpy
Downloading/unpacking iso8601>=0.1.8 (from -r
/opt/stack/horizon/requirements.txt (line 9))
Error <urlopen error [Errno -2] Name or service not known> while getting
https://pypi.python.org/packages/source/i/iso8601/iso8601-0.1.8.tar.gz#md5=b207ad4f2df92810533ce6145ab9c3e7(from
https://pypi.python.org/simple/iso8601/)
Cleaning up...
Exception:
Traceback (most recent call last):
File
"/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/basecommand.py",
line 134, in main
status = self.run(options, args)
File
"/opt/stack/horizon/.venv/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
"/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/req.py",
line 1092, in prepare_files
self.unpack_url(url, location, self.is_download)
File
"/opt/stack/horizon/.venv/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
"/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/download.py",
line 602, in unpack_http_url
resp = _get_response_from_url(target_url, link)
File
"/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/download.py",
line 638, in _get_response_from_url
resp = urlopen(target_url)
File
"/opt/stack/horizon/.venv/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
"/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/download.py",
line 155, in https_open
return self.do_open(self.specialized_conn_class, req)
File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open
raise URLError(err)
URLError: <urlopen error [Errno -2] Name or service not known>
Storing complete log in /home/sayali/.pip/pip.log
Command "tools/with_venv.sh pip install --upgrade -r
/opt/stack/horizon/requirements.txt -r
/opt/stack/horizon/test-requirements.txt" failed.
None
Thanks,
Sayali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131221/af9e0dfa/attachment.html>
More information about the OpenStack-dev
mailing list