[openstack-dev] Fwd: ./run_test.sh Fails

Sayali Lunkad sayali.92720 at gmail.com
Wed Dec 25 06:54:28 UTC 2013


Hey,

 I checked ~/.pip but I do not see any pip.conf file. I see only pip log.

Thanks,
Sayali



On Mon, Dec 23, 2013 at 9:48 PM, Ben Nemec <openstack at nemebean.com> wrote:

>  On 2013-12-21 01:45, Sayali Lunkad wrote:
>
>
> 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
>
> [snip]
>
> 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
>
> This looks like a simple download failure.  It happens sometimes with
> pypi.  It's probably not a bad idea to just configure pip to use our mirror
> as it's generally more stable.  You can see what we do in
> tripleo-image-elements here:
> https://github.com/openstack/tripleo-image-elements/blob/master/elements/pypi-openstack/pre-install.d/00-configure-openstack-pypi-mirror
> Mostly I think you just need to look at the pip.conf part.
>
> -Ben
>
>
> _______________________________________________
> OpenStack-dev mailing list
> 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/20131225/c424a289/attachment.html>


More information about the OpenStack-dev mailing list