run_tests.sh failed with ProxyError:

asked 2014-03-20 12:07:48 -0600

anonymous user

Anonymous

updated 2014-03-20 12:19:41 -0600

Hello,

I was running run_tests.sh from the Horizon Quickstart. My system info: Linux 3.8.13-26.el6uek.x86_64 #2 SMP x86_64 x86_64 x86_64 GNU/Linux

git clone https://github.com/openstack/horizon.git

cd horizon

./run_tests.sh

During the execution of the script, this is the error I have encountered.

Downloading/unpacking PrettyTable>=0.7,<0.8 (from python-ceilometerclient>=1.0.6->-r /horizon/requirements.txt (line 14))

Using download cache from /tmp/.pip_download_cache/https%3A%2F %2Fpypi.python.org%2Fpackages%2Fsource%2FP%2FPrettyTable%2Fprettytable-0.7.2.tar.bz2

Running setup.py (path:/horizon/.venv/build/PrettyTable/setup.py) egg_info for package PrettyTable Downloading/unpacking requests>=1.1 (from python-cinderclient>=1.0.6->-r /horizon/requirements.txt (line 15)) Using download cache from /tmp/.pip_download_cache/https%3A%2F%2Fpypi.python.org%2Fpackages%2F2.7%2Fr%2Frequests%2Frequests-2.2.1-py2.py3-none-any.whl

Downloading/unpacking simplejson>=2.0.9 (from python-cinderclient>=1.0.6->-r /horizon/requirements.txt (line 15))

Cleaning up...

Exception:

Traceback (most recent call last):

File "/horizon/.venv/lib/python2.6/site-packages/pip/basecommand.py", line 122, in main status = self.run(options, args)

File "/horizon/.venv/lib/python2.6/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 "/horizon/.venv/lib/python2.6/site-packages/pip/req.py", line 1197, in prepare_files do_download,

File "/horizon/.venv/lib/python2.6/site-packages/pip/req.py", line 1375, in unpack_url self.session,

File "/horizon/.venv/lib/python2.6/site-packages/pip/download.py", line 546, in unpack_http_url resp = session.get(target_url, stream=True)

File "/horizon/.venv/lib/python2.6/site-packages/pip/_vendor/requests/sessions.py", line 395, in get return self.request('GET', url, **kwargs)

File "/horizon/.venv/lib/python2.6/site-packages/pip/download.py", line 237, in request return super(PipSession, self).request(method, url, args, *kwargs)

File "/horizon/.venv/lib/python2.6/site-packages/pip/_vendor/requests/sessions.py", line 383, in request resp = self.send(prep, **send_kwargs)

File "/horizon/.venv/lib/python2.6/site-packages/pip/_vendor/requests/sessions.py", line 486, in send r = adapter.send(request, **kwargs)

File "/horizon/.venv/lib/python2.6/site-packages/pip/_vendor/requests/adapters.py", line 381, in send raise ProxyError(e)

ProxyError: Cannot connect to proxy. Socket error: [Errno 113] No route to host.

Storing debug log for failure in /root/.pip/pip.log Command "tools/with_venv.sh pip install --upgrade -r /horizon/requirements.txt -r /horizon/test-requirements.txt" failed. None

I am new with system configuration stuffs in Linux. I have tried with stopping the firewall. And I also tried export http_proxy=, export https_proxy, git config --global https.proxy, and git config --global http.proxy. I have noticed that when I ping http://www.yahoo.com or http://www.google.com , the Destination Host Unreachable results. However, when I launched firefox from a terminal for this system, I can get to http://www.yahoo.com and http://www.google.com . Does anyone have any hint or suggestion so I can resolve this problem? Thanks

ugly

edit retag flag offensive close merge delete