File "/tmp/bundletester-I8dVhl/jenkins/tests/100-deploy-trusty", line 3, in <module>
import amulet
ImportError: No module named amulet
It seems that your tests use a different python that was installed with amulet in the 00-setup method. Changing the shebang statements to #!/usr/bin/python3 solved this problem.
To reproduce this problem you can install bundletester from pip and try running the tests yourself.
I tried running these tests with bundletester by hand and got the following errors:
ERROR: jenkins: :100-deploy- precise ter-I8dVhl/ jenkins/ tests/100- deploy- precise exit 1]
[/tmp/bundletes
Traceback (most recent call last):
File "/tmp/bundletes ter-I8dVhl/ jenkins/ tests/100- deploy- precise" , line 3, in <module>
import amulet
ImportError: No module named amulet
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- - :100-deploy- trusty ter-I8dVhl/ jenkins/ tests/100- deploy- trusty exit 1]
ERROR: jenkins:
[/tmp/bundletes
Traceback (most recent call last):
File "/tmp/bundletes ter-I8dVhl/ jenkins/ tests/100- deploy- trusty" , line 3, in <module>
import amulet
ImportError: No module named amulet
It seems that your tests use a different python that was installed with amulet in the 00-setup method. Changing the shebang statements to #!/usr/bin/python3 solved this problem.
To reproduce this problem you can install bundletester from pip and try running the tests yourself.
pip install bundletester
bundetester -F -e hp-cloud -l DEBUG -v