I have been attempting to add some functionality to one of the Openstack Charms and test my changes. In order to test to make sure I haven't broken any other functionality I have been attempting to run the provided test suite. Every openstack charm includes a tests directory which contains the steps for running tests. I have been running the following commands on a completely clean ubuntu 14.04.3 virtual machine that has had no other commands run on it (note that the code I am running it on is directly from the repository and does not contain my modifications):
sudo add-apt-repository ppa:juju/stable
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get install charm-tools
sudo apt-get install juju-core
ssh-keygen -t rsa
juju init
juju switch local
bzr branch lp:~openstack-charmers/charms/trusty/neutron-api/next
cd next
make test
After the last command runs I end up with nearly all tests failing with the error
Traceback (most recent call last):
File "tests/014-basic-precise-icehouse", line 5, in <module>
from basic_deployment import NeutronAPIBasicDeployment
File "/home/ubuntu/next/tests/basic_deployment.py", line 47, in <module>
from charmhelpers.contrib.openstack.amulet.utils import (
File "/home/ubuntu/next/tests/charmhelpers/contrib/openstack/amulet/utils.py", line 25, in <module>
import cinderclient.v1.client as cinder_client
Am I just missing some obvious configuration option or is the test suite broken for all openstack juju charms? So far I have downloaded a few other charm sets (nova-compute and neutron-api) and tried to run their tests and so far all have given this error.