Issues with amulet tests
Merlijn Sebrechts
merlijn.sebrechts at gmail.com
Tue Dec 6 21:25:22 UTC 2016
Hi
I'm trying to get my charm ready for the review queue and I'm having some
issues getting the tests to work right.
Running bundletester on the charm gives the following error:
openvpn
charm-proof
PASS
make test
FAIL
------------------------------------------------------------------------------
FAIL: openvpn::make test
[/usr/bin/make -s test exit 2]
make: tox: Command not found
Makefile:3: recipe for target 'test' failed
make: *** [test] Error 127
Running the test script manually also throws errors.
======================================================================
ERROR: test_service (__main__.TestCharm)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./10-deploy", line 14, in setUp
self.d.add('openvpn')
File "/usr/local/lib/python3.5/dist-packages/amulet/deployer.py", line
192, in add
service_name, charm, branch=branch, series=service['series'])
File "/usr/local/lib/python3.5/dist-packages/amulet/charm.py", line 57,
in fetch
series=series)
File "/usr/local/lib/python3.5/dist-packages/amulet/charm.py", line 40,
in get_charm
return LocalCharm(charm_path, series)
File "/usr/local/lib/python3.5/dist-packages/amulet/charm.py", line 72,
in __init__
raise Exception('Charm not found')
Exception: Charm not found
----------------------------------------------------------------------
Ran 1 test in 0.025s
FAILED (errors=1)
I'm trying to run these tests from local charms. You can find the charm
here:
https://github.com/IBCNServices/tengu-charms/tree/openvpn/charms/builds/openvpn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20161206/67450823/attachment.html>
More information about the Juju
mailing list