Ceilometer unit tests py27 could not install deps

asked 2013-11-28 05:30:01 -0500

Romain gravatar image

updated 2013-11-29 17:03:18 -0500

smaffulli gravatar image

Hello everyone,

In order to develop my own agent/plugin for ceilometer, I'd like to first run the unit tests provided by the project. In my devstack installation, I have followed the guidelines given here: http://docs.openstack.org/developer/ceilometer/contributing/source.html

However, while trying to run the tests, I have the following errors:

ERROR:   py27: could not install deps [-r/opt/stack/ceilometer/requirements.txt, -r/opt/stack/ceilometer/test-requirements.txt]
ERROR:   pep8: could not install deps [pep8==1.4.5, pyflakes==0.7.2, flake8==2.0, hacking>=0.5.6,<0.8]

It seems weird to me cause I've managed to do:

sudo pip install -r /opt/stack/ceilometer/test-requirements.txt
&
sudo pip install -r /opt/stack/ceilometer/requirements.txt

FYI, I am behind a proxy and I've set the http_proxy and https_proxy environment variables.

edit retag flag offensive close delete