In regards to the stack trace I was seeing, after updating amulet to version 1.2.1 I no longer see the errors and the tests pass successfully:
$ juju test
juju-test INFO : Starting test run on hp-scale using Juju 1.16.5
[sudo] password for arosales:
gpg: keyring `/tmp/tmp75y1po/secring.gpg' created
gpg: keyring `/tmp/tmp75y1po/pubring.gpg' created
gpg: requesting key C8068B11 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp75y1po/trustdb.gpg: trustdb created
gpg: key C8068B11: public key "Launchpad Ensemble PPA" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
juju-test.conductor.00-setup.sh RESULT : ✔
2014-01-31 17:21:46 Starting deployment of hp-scale
2014-01-31 17:21:50 Deploying services...
2014-01-31 17:21:51 Deploying service ubuntu-sentry using local:precise/ubuntu-sentry
2014-01-31 17:21:56 Exposing service 'ubuntu-sentry'
2014-01-31 17:21:56 Deploying service relation-sentry using local:precise/relation-sentry
2014-01-31 17:22:08 Exposing service 'relation-sentry'
2014-01-31 17:22:08 Deploying service ubuntu using local:precise/ubuntu
2014-01-31 17:24:33 Config specifies num units for subordinate: ubuntu-sentry
2014-01-31 17:24:33 Adding relations...
2014-01-31 17:24:34 Adding relation ubuntu:juju-info <-> ubuntu-sentry:juju-info
2014-01-31 17:25:40 Deployment complete in 234.41 seconds
juju-test.conductor.10-deploy-test.py RESULT : ✔
juju-test INFO : Results: 2 passed, 0 failed, 0 errored
In regards to the stack trace I was seeing, after updating amulet to version 1.2.1 I no longer see the errors and the tests pass successfully:
$ juju test /secring. gpg' created /pubring. gpg' created ubuntu. com trustdb. gpg: trustdb created conductor. 00-setup. sh RESULT : ✔ ubuntu- sentry relation- sentry ubuntu sentry: juju-info conductor. 10-deploy- test.py RESULT : ✔
juju-test INFO : Starting test run on hp-scale using Juju 1.16.5
[sudo] password for arosales:
gpg: keyring `/tmp/tmp75y1po
gpg: keyring `/tmp/tmp75y1po
gpg: requesting key C8068B11 from hkp server keyserver.
gpg: /tmp/tmp75y1po/
gpg: key C8068B11: public key "Launchpad Ensemble PPA" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
juju-test.
2014-01-31 17:21:46 Starting deployment of hp-scale
2014-01-31 17:21:50 Deploying services...
2014-01-31 17:21:51 Deploying service ubuntu-sentry using local:precise/
2014-01-31 17:21:56 Exposing service 'ubuntu-sentry'
2014-01-31 17:21:56 Deploying service relation-sentry using local:precise/
2014-01-31 17:22:08 Exposing service 'relation-sentry'
2014-01-31 17:22:08 Deploying service ubuntu using local:precise/
2014-01-31 17:24:33 Config specifies num units for subordinate: ubuntu-sentry
2014-01-31 17:24:33 Adding relations...
2014-01-31 17:24:34 Adding relation ubuntu:juju-info <-> ubuntu-
2014-01-31 17:25:40 Deployment complete in 234.41 seconds
juju-test.
juju-test INFO : Results: 2 passed, 0 failed, 0 errored