Comment 1 for bug 1401323

Revision history for this message
Matt Bruzek (mbruzek) wrote :

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)
----------------------------------------------------------------------
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.