It looks like the error is different than the precise version, these results indicate the `make test` target is failing with:
ERROR: Failure: ImportError (No module named apt_pkg)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/lib/jenkins/charmguardian/.venv/local/lib/python2.7/site-packages/nose/loader.py", line 411, in loadTestsFromName
addr.filename, addr.module)
File "/var/lib/jenkins/charmguardian/.venv/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/var/lib/jenkins/charmguardian/.venv/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/var/lib/jenkins/workspace/charm-bundle-test/tmpA7Eh2M/squid-reverseproxy/hooks/tests/test_config_changed_hooks.py", line 4, in <module>
import hooks
File "/var/lib/jenkins/workspace/charm-bundle-test/tmpA7Eh2M/squid-reverseproxy/hooks/hooks.py", line 14, in <module>
import apt_pkg
ImportError: No module named apt_pkg
Please investigate and fix the charm or the tests so the squid-reverseproxy charm passes automated testing.
The trusty version of this charm is also failing automated testing.
The latest results for the trusty squid-reverseproxy charm:
http:// reports. vapour. ws/charm- tests/charm- bundle- test-10320- results
It looks like the error is different than the precise version, these results indicate the `make test` target is failing with:
ERROR: Failure: ImportError (No module named apt_pkg) ------- ------- ------- ------- ------- ------- ------- ------- ------- jenkins/ charmguardian/ .venv/local/ lib/python2. 7/site- packages/ nose/loader. py", line 411, in loadTestsFromName jenkins/ charmguardian/ .venv/local/ lib/python2. 7/site- packages/ nose/importer. py", line 47, in importFromPath Dir(dir_ path, fqname) jenkins/ charmguardian/ .venv/local/ lib/python2. 7/site- packages/ nose/importer. py", line 94, in importFromDir part_fqname, fh, filename, desc) jenkins/ workspace/ charm-bundle- test/tmpA7Eh2M/ squid-reversepr oxy/hooks/ tests/test_ config_ changed_ hooks.py" , line 4, in <module> jenkins/ workspace/ charm-bundle- test/tmpA7Eh2M/ squid-reversepr oxy/hooks/ hooks.py" , line 14, in <module>
-------
Traceback (most recent call last):
File "/var/lib/
addr.filename, addr.module)
File "/var/lib/
return self.importFrom
File "/var/lib/
mod = load_module(
File "/var/lib/
import hooks
File "/var/lib/
import apt_pkg
ImportError: No module named apt_pkg
Please investigate and fix the charm or the tests so the squid-reverseproxy charm passes automated testing.