[openstack-qa] Cannot start running unit tests of ceilometer

Can Zhang can at canx.me
Thu Sep 11 10:46:48 UTC 2014


Hello,

I’m trying to run unit tests of ceilometer icehouse, using command `tox -e py27`, but I got the error message below:

… ...
+ export CEILOMETER_TEST_MONGODB_URL=mongodb://localhost:29000/ceilometer
+ CEILOMETER_TEST_MONGODB_URL=mongodb://localhost:29000/ceilometer
+ python setup.py testr --slowest --testr-args=
+ cat /tmp/CEILO-MONGODB-fLG6F/out
running testr
running=${PYTHON:-python} -m subunit.run discover ceilometer --list
--- import errors ---
openstack.common.rpc
tests.compute.virt.libvirt.test_inspectorNon-zero exit code (2) from test listing.
error: testr failed (3)
+ clean_exit
+ local error_code=1
+ rm -rf /tmp/CEILO-MONGODB-fLG6F
++ jobs -p
+ kill 12701 12737
+ return 1
ERROR: InvocationError: '/usr/bin/bash -x /opt/stack/ceilometer/setup-test-env.sh python setup.py testr --slowest --testr-args='
____________________________________________________________________________________________ summary ____________________________________________________________________________________________
ERROR:   py27: commands failed


I have no idea about what’s happening, any pointers are welcomed.



Best regards,
Can Zhang










More information about the openstack-qa mailing list