Automated testing of Juju + Openstack

Gustavo Niemeyer gustavo.niemeyer at canonical.com
Thu Jul 19 18:34:11 UTC 2012


Hey Adam,

> I've put together some very basic functional tests intended to exercise Juju
> against Openstack Folsom via the EC2 provider.  I've added the test job to
> our automated, post-commit Openstack testing so that we can catch any
> upstream regressions early.  Currently it does some very basic stuff:
>
> 1. Bootstraps
> 2. Ensures a running instance state and agent state on node 0.
> 3. Deploys 2 services, ensures everything starts.
> 4. Confirms expose + unexpose work as expected.
> 5. Sets arbitrary config values via 'juju set' and ensures this results in
> changed configuration in the service, to verify hook execution.
>
> You can checkout the results on our Jenkins dashboard:
>
> https://jenkins.qa.ubuntu.com/view/Openstack%20Testing/view/Openstack%20Precise/view/Overview/job/precise_folsom_coverage_juju/

Very nice to have this in place!

> I'm curious if there are any other areas that this testing doesn't touch
> that may be valuable in terms of verifying Openstack trunk still satisfies
> the needs of the EC2 provider?

Your script above seems to touch everything being done to the API, as
far as I can see through a quick code lookup.


gustavo @ http://niemeyer.net



More information about the Juju mailing list