[openstack-dev] [Ceilometer] having trouble with tox

Nobuyoshi Nihongi nihongi.nobuyoshi at lab.ntt.co.jp
Wed Apr 23 12:03:15 UTC 2014


Hi,

I'm having trouble with tox to run unit tests of Ceilometer.

I run devstack on Ubuntu13.10 which is running as a Guest OS in 
VirtualBox.
Ceilometer commit id is e5b7606eaa94033256eb1aca5f6a6eed4f9e54a0.
The VM is connecting to the Internet via proxy server.

I'm using tox 1.6.1 instead of 1.7.1 to avoid bug [1].
I didn't make any changes in tox.ini from default settings.

I was following the instruction [2].
When I typed the following command;
$ tox -e py27,pep8
I didn't get any response for more than 2 hours.

Then I found the following message in /opt/stack/ceilometer/.tox/py27/
log/py27-1.log. Actually, the message was stopping halfway.
-----
:
Downloading/unpacking jsonschema>=2.0.0,<3.0.0 (from -r /opt/stack/
ceilometer/requirements.txt (line 10))
  Storing download in cache at ./.tox/_download/https%3A%2F%2Fpypi.
python.org%2Fpackages%2Fsource%2Fj%2Fjsonschema%2Fjsonschema-2.3.0.tar.
gz
  Running s
-----

After that, I terminated tox with Ctrl+C and found the whole message as 
follows.
-----
:
Downloading/unpacking oslo.config>=1.2.0 (from -r /opt/stack/ceilometer/
requirements.txt (line 15))
  Storing download in cache at ./.tox/_download/https%3A%2F%2Fpypi.
python.org%2Fpackages%2Fsource%2Fo%2Foslo.config%2Foslo.config-1.3.0.tar.
gz
  Running setup.py egg_info for package oslo.config
Cleaning up...
Operation cancelled by user
Storing complete log in /home/openstack/.pip/pip.log
-----

Any advice or information would be greatly appreciated.

[1]:https://bugs.launchpad.net/openstack-ci/+bug/1274135
[2]:http://docs.openstack.org/developer/ceilometer/contributing/source.html#running-the-tests

Best regards,
Nihongi


--
Nobuyoshi Nihongi
NTT Software Innovation Center
Phone: +81 422 59 4880
E-mail: nihongi.nobuyoshi at lab.ntt.co.jp



More information about the OpenStack-dev mailing list