Created
March 10, 2015 15:30
-
-
Save whitmo/8a30bbb4bbf9a5b01ac8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEBUG:bundletester.utils:Updating JUJU_ENV: "" -> "ec2-or" | |
DEBUG:root:Bootstrap environment: ec2-or | |
DEBUG:deployer.env:Connecting to environment... | |
DEBUG:deployer.env:Connected to environment | |
DEBUG:deployer.env: Destroying service squid-reverseproxy | |
DEBUG:deployer.env: Destroying service apache2 | |
DEBUG:deployer.env: Resolving error on squid-reverseproxy/0 | |
DEBUG:deployer.env: Resolving error on squid-reverseproxy/0 | |
DEBUG:deployer.env: Resolving error on squid-reverseproxy/0 | |
DEBUG:deployer.env: Resolving error on squid-reverseproxy/0 | |
DEBUG:deployer.env: Delta service: squid-reverseproxy remove:dying | |
DEBUG:deployer.env: Delta unit: squid-reverseproxy/0 remove:stopped | |
DEBUG:deployer.env: Delta machine: 21 change:started | |
DEBUG:deployer.env: Terminating machines | |
DEBUG:deployer.env: Terminating machine 20 | |
ERROR:deployer.env:Error terminating machine u'20' | |
ERROR:deployer.env:Command (juju terminate-machine -e ec2-or 20) Output: | |
ERROR no machines were destroyed: machine 20 does not exist | |
DEBUG:deployer.env: Terminating machine 21 | |
DEBUG:root:Waiting for services to be removed... | |
DEBUG:runner:call ['/home/ubuntu/.virtualenvs/charm-review/bin/charm-proof'] | |
DEBUG:runner:Exit Code: 0 | |
DEBUG:deployer.env: Terminating machines | |
DEBUG:deployer.env: Terminating machine 21 | |
ERROR:deployer.env:Error terminating machine u'21' | |
ERROR:deployer.env:Command (juju terminate-machine -e ec2-or 21) Output: | |
ERROR no machines were destroyed: machine 21 does not exist | |
DEBUG:root:Waiting for services to be removed... | |
DEBUG:runner:call ['/usr/bin/make', '-s', 'lint'] | |
DEBUG:runner:Checking for Python syntax... | |
DEBUG:runner:/bin/sh: 1: flake8: not found | |
DEBUG:runner:make: *** [lint] Error 127 | |
DEBUG:runner:Exit Code: 2 | |
DEBUG:deployer.env: Terminating machines | |
DEBUG:deployer.env: Terminating machine 21 | |
ERROR:deployer.env:Error terminating machine u'21' | |
ERROR:deployer.env:Command (juju terminate-machine -e ec2-or 21) Output: | |
ERROR no machines were destroyed: machine 21 does not exist | |
DEBUG:root:Waiting for services to be removed... | |
DEBUG:runner:call ['/usr/bin/make', '-s', 'test'] | |
DEBUG:runner:Starting tests... | |
DEBUG:runner:Requirement already satisfied (use --upgrade to upgrade): nose in /home/ubuntu/.virtualenvs/charm-review/lib/python2.7/site-packages | |
DEBUG:runner:Downloading/unpacking testtools | |
DEBUG:runner:Requirement already satisfied (use --upgrade to upgrade): mock in /home/ubuntu/.virtualenvs/charm-review/lib/python2.7/site-packages | |
DEBUG:runner:Requirement already satisfied (use --upgrade to upgrade): pyyaml in /home/ubuntu/.virtualenvs/charm-review/lib/python2.7/site-packages | |
DEBUG:runner:Downloading/unpacking python-mimeparse (from testtools) | |
DEBUG:runner: Downloading python-mimeparse-0.1.4.tar.gz | |
DEBUG:runner: Running setup.py (path:/home/ubuntu/.virtualenvs/charm-review/build/python-mimeparse/setup.py) egg_info for package python-mimeparse | |
DEBUG:runner: | |
DEBUG:runner:Downloading/unpacking extras (from testtools) | |
DEBUG:runner: Downloading extras-0.0.3.tar.gz | |
DEBUG:runner: Running setup.py (path:/home/ubuntu/.virtualenvs/charm-review/build/extras/setup.py) egg_info for package extras | |
DEBUG:runner: | |
DEBUG:runner:Downloading/unpacking traceback2 (from testtools) | |
DEBUG:runner: Downloading traceback2-1.4.0-py2.py3-none-any.whl | |
DEBUG:runner:Downloading/unpacking unittest2>=1.0.0 (from testtools) | |
DEBUG:runner:Downloading/unpacking linecache2 (from traceback2->testtools) | |
DEBUG:runner: Downloading linecache2-1.0.0-py2.py3-none-any.whl | |
DEBUG:runner:Requirement already satisfied (use --upgrade to upgrade): six in /home/ubuntu/.virtualenvs/charm-review/lib/python2.7/site-packages (from unittest2>=1.0.0->testtools) | |
DEBUG:runner:Requirement already satisfied (use --upgrade to upgrade): argparse in /usr/lib/python2.7 (from unittest2>=1.0.0->testtools) | |
DEBUG:runner:Installing collected packages: testtools, python-mimeparse, extras, traceback2, unittest2, linecache2 | |
DEBUG:runner: Running setup.py install for python-mimeparse | |
DEBUG:runner: | |
DEBUG:runner: Running setup.py install for extras | |
DEBUG:runner: | |
DEBUG:runner:Compiling /home/ubuntu/.virtualenvs/charm-review/build/linecache2/linecache2/tests/inspect_fodder2.py ... | |
DEBUG:runner: File "/home/ubuntu/.virtualenvs/charm-review/build/linecache2/linecache2/tests/inspect_fodder2.py", line 102 | |
DEBUG:runner: def keyworded(*arg1, arg2=1): | |
DEBUG:runner: ^ | |
DEBUG:runner:SyntaxError: invalid syntax | |
DEBUG:runner: | |
DEBUG:runner:Successfully installed testtools python-mimeparse extras traceback2 unittest2 linecache2 | |
DEBUG:runner:Cleaning up... | |
DEBUG:runner:EEEEEE | |
DEBUG:runner:====================================================================== | |
DEBUG:runner:ERROR: Failure: ImportError (No module named apt_pkg) | |
DEBUG:runner:---------------------------------------------------------------------- | |
DEBUG:runner:Traceback (most recent call last): | |
DEBUG:runner: File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName | |
DEBUG:runner: addr.filename, addr.module) | |
DEBUG:runner: File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath | |
DEBUG:runner: return self.importFromDir(dir_path, fqname) | |
DEBUG:runner: File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir | |
DEBUG:runner: mod = load_module(part_fqname, fh, filename, desc) | |
DEBUG:runner: File "/tmp/bundletester-lTllTc/squid-reverseproxy/hooks/tests/test_cached_website_hooks.py", line 4, in <module> | |
DEBUG:runner: import hooks | |
DEBUG:runner: File "/tmp/bundletester-lTllTc/squid-reverseproxy/hooks/hooks.py", line 14, in <module> | |
DEBUG:runner: import apt_pkg | |
DEBUG:runner:ImportError: No module named apt_pkg | |
DEBUG:runner: | |
DEBUG:runner:====================================================================== | |
DEBUG:runner:ERROR: Failure: ImportError (No module named apt_pkg) | |
DEBUG:runner:---------------------------------------------------------------------- | |
DEBUG:runner:Traceback (most recent call last): | |
DEBUG:runner: File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName | |
DEBUG:runner: addr.filename, addr.module) | |
DEBUG:runner: File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath | |
DEBUG:runner: return self.importFromDir(dir_path, fqname) | |
DEBUG:runner: File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir | |
DEBUG:runner: mod = load_module(part_fqname, fh, filename, desc) | |
DEBUG:runner: File "/tmp/bundletester-lTllTc/squid-reverseproxy/hooks/tests/test_config_changed_hooks.py", line 4, in <module> | |
DEBUG:runner: import hooks | |
DEBUG:runner: File "/tmp/bundletester-lTllTc/squid-reverseproxy/hooks/hooks.py", line 14, in <module> | |
DEBUG:runner: import apt_pkg | |
DEBUG:runner:ImportError: No module named apt_pkg | |
DEBUG:runner: | |
DEBUG:runner:====================================================================== | |
DEBUG:runner:ERROR: Failure: ImportError (No module named apt_pkg) | |
DEBUG:runner:---------------------------------------------------------------------- | |
DEBUG:runner:Traceback (most recent call last): | |
DEBUG:runner: File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName | |
DEBUG:runner: addr.filename, addr.module) | |
DEBUG:runner: File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath | |
DEBUG:runner: return self.importFromDir(dir_path, fqname) | |
DEBUG:runner: File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir | |
DEBUG:runner: mod = load_module(part_fqname, fh, filename, desc) | |
DEBUG:runner: File "/tmp/bundletester-lTllTc/squid-reverseproxy/hooks/tests/test_helpers.py", line 11, in <module> | |
DEBUG:runner: import hooks | |
DEBUG:runner: File "/tmp/bundletester-lTllTc/squid-reverseproxy/hooks/hooks.py", line 14, in <module> | |
DEBUG:runner: import apt_pkg | |
DEBUG:runner:ImportError: No module named apt_pkg | |
DEBUG:runner: | |
DEBUG:runner:====================================================================== | |
DEBUG:runner:ERROR: Failure: ImportError (No module named apt_pkg) | |
DEBUG:runner:---------------------------------------------------------------------- | |
DEBUG:runner:Traceback (most recent call last): | |
DEBUG:runner: File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName | |
DEBUG:runner: addr.filename, addr.module) | |
DEBUG:runner: File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath | |
DEBUG:runner: return self.importFromDir(dir_path, fqname) | |
DEBUG:runner: File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir | |
DEBUG:runner: mod = load_module(part_fqname, fh, filename, desc) | |
DEBUG:runner: File "/tmp/bundletester-lTllTc/squid-reverseproxy/hooks/tests/test_metrics.py", line 8, in <module> | |
DEBUG:runner: import hooks | |
DEBUG:runner: File "/tmp/bundletester-lTllTc/squid-reverseproxy/hooks/hooks.py", line 14, in <module> | |
DEBUG:runner: import apt_pkg | |
DEBUG:runner:ImportError: No module named apt_pkg | |
DEBUG:runner: | |
DEBUG:runner:====================================================================== | |
DEBUG:runner:ERROR: Failure: ImportError (No module named apt_pkg) | |
DEBUG:runner:---------------------------------------------------------------------- | |
DEBUG:runner:Traceback (most recent call last): | |
DEBUG:runner: File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName | |
DEBUG:runner: addr.filename, addr.module) | |
DEBUG:runner: File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath | |
DEBUG:runner: return self.importFromDir(dir_path, fqname) | |
DEBUG:runner: File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir | |
DEBUG:runner: mod = load_module(part_fqname, fh, filename, desc) | |
DEBUG:runner: File "/tmp/bundletester-lTllTc/squid-reverseproxy/hooks/tests/test_nrpe_hooks.py", line 9, in <module> | |
DEBUG:runner: import hooks | |
DEBUG:runner: File "/tmp/bundletester-lTllTc/squid-reverseproxy/hooks/hooks.py", line 14, in <module> | |
DEBUG:runner: import apt_pkg | |
DEBUG:runner:ImportError: No module named apt_pkg | |
DEBUG:runner: | |
DEBUG:runner:====================================================================== | |
DEBUG:runner:ERROR: Failure: ImportError (No module named apt_pkg) | |
DEBUG:runner:---------------------------------------------------------------------- | |
DEBUG:runner:Traceback (most recent call last): | |
DEBUG:runner: File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName | |
DEBUG:runner: addr.filename, addr.module) | |
DEBUG:runner: File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath | |
DEBUG:runner: return self.importFromDir(dir_path, fqname) | |
DEBUG:runner: File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir | |
DEBUG:runner: mod = load_module(part_fqname, fh, filename, desc) | |
DEBUG:runner: File "/tmp/bundletester-lTllTc/squid-reverseproxy/hooks/tests/test_website_hooks.py", line 6, in <module> | |
DEBUG:runner: import hooks | |
DEBUG:runner: File "/tmp/bundletester-lTllTc/squid-reverseproxy/hooks/hooks.py", line 14, in <module> | |
DEBUG:runner: import apt_pkg | |
DEBUG:runner:ImportError: No module named apt_pkg | |
DEBUG:runner: | |
DEBUG:runner:Name Stmts Miss Cover Missing | |
DEBUG:runner:-------------------------------------------------------------------------------- | |
DEBUG:runner:hooks/charmhelpers/__init__ 0 0 100% | |
DEBUG:runner:hooks/charmhelpers/contrib/__init__ 0 0 100% | |
DEBUG:runner:hooks/charmhelpers/contrib/charmsupport/__init__ 0 0 100% | |
DEBUG:runner:hooks/charmhelpers/contrib/charmsupport/nrpe 83 83 0% 7-218 | |
DEBUG:runner:hooks/charmhelpers/contrib/charmsupport/volumes 74 74 0% 42-156 | |
DEBUG:runner:hooks/charmhelpers/core/__init__ 0 0 100% | |
DEBUG:runner:hooks/charmhelpers/core/hookenv 218 218 0% 7-340 | |
DEBUG:runner:hooks/charmhelpers/core/host 140 140 0% 8-239 | |
DEBUG:runner:hooks/charmhelpers/fetch/__init__ 116 116 0% 1-209 | |
DEBUG:runner:hooks/charmhelpers/fetch/archiveurl 35 35 0% 1-48 | |
DEBUG:runner:hooks/charmhelpers/fetch/bzrurl 33 33 0% 1-43 | |
DEBUG:runner:hooks/hooks 349 337 3% 16-601 | |
DEBUG:runner:hooks/tests/__init__ 0 0 100% | |
DEBUG:runner:hooks/tests/test_cached_website_hooks 67 64 4% 7-102 | |
DEBUG:runner:hooks/tests/test_config_changed_hooks 36 33 8% 7-61 | |
DEBUG:runner:hooks/tests/test_helpers 142 134 6% 12-508 | |
DEBUG:runner:hooks/tests/test_metrics 82 76 7% 11-196 | |
DEBUG:runner:hooks/tests/test_nrpe_hooks 131 124 5% 11-317 | |
DEBUG:runner:hooks/tests/test_website_hooks 76 72 5% 7-267 | |
DEBUG:runner:-------------------------------------------------------------------------------- | |
DEBUG:runner:TOTAL 1582 1539 3% | |
DEBUG:runner:---------------------------------------------------------------------- | |
DEBUG:runner:Ran 6 tests in 0.002s | |
DEBUG:runner: | |
DEBUG:runner:FAILED (errors=6) | |
DEBUG:runner:make: *** [test] Error 1 | |
DEBUG:runner:Exit Code: 2 | |
DEBUG:deployer.env: Terminating machines | |
DEBUG:root:Waiting for services to be removed... | |
DEBUG:runner:call ['/tmp/bundletester-lTllTc/squid-reverseproxy/tests/00-setup'] | |
DEBUG:runner:+ dpkg -s amulet | |
DEBUG:runner:Package: amulet | |
DEBUG:runner:Status: install ok installed | |
DEBUG:runner:Priority: optional | |
DEBUG:runner:Section: python | |
DEBUG:runner:Installed-Size: 25 | |
DEBUG:runner:Maintainer: Marco Ceppi <[email protected]> | |
DEBUG:runner:Architecture: all | |
DEBUG:runner:Version: 1.9.0-0ubuntu1~ubuntu14.04.1~ppa1 | |
DEBUG:runner:Depends: python3-amulet, python-amulet | |
DEBUG:runner:Description: Testing harness for Juju Charms | |
DEBUG:runner:+ '[' 0 -ne 0 ']' | |
DEBUG:runner:+ sudo apt-get install -y python3-requests squidclient | |
DEBUG:runner:Reading package lists... | |
DEBUG:runner:Building dependency tree... | |
DEBUG:runner:Reading state information... | |
DEBUG:runner:python3-requests is already the newest version. | |
DEBUG:runner:squidclient is already the newest version. | |
DEBUG:runner:0 upgraded, 0 newly installed, 0 to remove and 49 not upgraded. | |
DEBUG:runner:Exit Code: 0 | |
DEBUG:deployer.env: Terminating machines | |
DEBUG:root:Waiting for services to be removed... | |
DEBUG:runner:call ['/tmp/bundletester-lTllTc/squid-reverseproxy/tests/12-nagios.py'] | |
DEBUG:runner:Traceback (most recent call last): | |
DEBUG:runner: File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 39, in fetch | |
DEBUG:runner: return super(CharmCache, self).__getitem__(service) | |
DEBUG:runner:KeyError: 'nrpe-external-master' | |
DEBUG:runner: | |
DEBUG:runner:During handling of the above exception, another exception occurred: | |
DEBUG:runner: | |
DEBUG:runner:Traceback (most recent call last): | |
DEBUG:runner: File "/usr/lib/python3/dist-packages/charmworldlib/charm.py", line 158, in _fetch | |
DEBUG:runner: revision=revision)) | |
DEBUG:runner: File "/usr/lib/python3/dist-packages/charmworldlib/api.py", line 18, in get | |
DEBUG:runner: return self.fetch_json(endpoint, params, 'get') | |
DEBUG:runner: File "/usr/lib/python3/dist-packages/charmworldlib/api.py", line 26, in fetch_json | |
DEBUG:runner: raise Exception('Request failed with: %s' % r.status_code) | |
DEBUG:runner:Exception: Request failed with: 404 | |
DEBUG:runner: | |
DEBUG:runner:During handling of the above exception, another exception occurred: | |
DEBUG:runner: | |
DEBUG:runner:Traceback (most recent call last): | |
DEBUG:runner: File "/tmp/bundletester-lTllTc/squid-reverseproxy/tests/12-nagios.py", line 11, in <module> | |
DEBUG:runner: d.add('nrpe-external-master') | |
DEBUG:runner: File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 96, in add | |
DEBUG:runner: c = self.charm_cache.fetch(service, charm, self.series) | |
DEBUG:runner: File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 44, in fetch | |
DEBUG:runner: series=series, | |
DEBUG:runner: File "/usr/lib/python3/dist-packages/amulet/charm.py", line 28, in get_charm | |
DEBUG:runner: return Charm(with_series(charm_path)) | |
DEBUG:runner: File "/usr/lib/python3/dist-packages/charmworldlib/charm.py", line 131, in __init__ | |
DEBUG:runner: self._fetch(charm_id) | |
DEBUG:runner: File "/usr/lib/python3/dist-packages/charmworldlib/charm.py", line 161, in _fetch | |
DEBUG:runner: raise CharmNotFound('API request failed: %s' % str(e)) | |
DEBUG:runner:charmworldlib.charm.CharmNotFound: API request failed: Request failed with: 404 | |
DEBUG:runner:Exit Code: 1 | |
DEBUG:deployer.env: Terminating machines | |
DEBUG:root:Waiting for services to be removed... | |
DEBUG:runner:call ['/tmp/bundletester-lTllTc/squid-reverseproxy/tests/13-squid-apache.py'] | |
DEBUG:runner:2015-03-10 15:09:40 Starting deployment of ec2-or | |
DEBUG:runner:2015-03-10 15:09:42 Deploying services... | |
DEBUG:runner:2015-03-10 15:09:43 Deploying service apache2 using cs:trusty/apache2-11 | |
DEBUG:runner:2015-03-10 15:09:54 Deploying service squid-reverseproxy using local:trusty/squid-reverseproxy | |
DEBUG:runner:2015-03-10 15:11:44 The following units had errors: | |
DEBUG:runner: unit: squid-reverseproxy/0: machine: 23 agent-state: error details: hook failed: "install" | |
DEBUG:runner:2015-03-10 15:11:44 Deployment stopped. run time: 124.13 | |
DEBUG:runner:Traceback (most recent call last): | |
DEBUG:runner: File "/tmp/bundletester-lTllTc/squid-reverseproxy/tests/13-squid-apache.py", line 18, in <module> | |
DEBUG:runner: d.setup(timeout=seconds) | |
DEBUG:runner: File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 315, in setup | |
DEBUG:runner: ], cwd=self.deployer_dir) | |
DEBUG:runner: File "/usr/lib/python3.4/subprocess.py", line 557, in check_call | |
DEBUG:runner: raise CalledProcessError(retcode, cmd) | |
DEBUG:runner:subprocess.CalledProcessError: Command '['juju-deployer', '-W', '-L', '-c', '/tmp/amulet-juju-deployer-1b9nwszc.json', '-e', 'ec2-or', '-t', '20100', 'ec2-or']' returned non-zero exit status 1 | |
DEBUG:runner:Exit Code: 1 | |
DEBUG:deployer.env: Destroying service squid-reverseproxy | |
DEBUG:deployer.env: Destroying service apache2 | |
DEBUG:deployer.env: Resolving error on squid-reverseproxy/0 | |
DEBUG:deployer.env: Resolving error on squid-reverseproxy/0 | |
DEBUG:deployer.env: Resolving error on squid-reverseproxy/0 | |
DEBUG:deployer.env: Resolving error on squid-reverseproxy/0 | |
DEBUG:deployer.env: Delta service: squid-reverseproxy remove:dying | |
DEBUG:deployer.env: Delta unit: squid-reverseproxy/0 remove:stopped | |
DEBUG:deployer.env: Delta machine: 23 change:started | |
DEBUG:deployer.env: Terminating machines | |
DEBUG:deployer.env: Terminating machine 22 | |
ERROR:deployer.env:Error terminating machine u'22' | |
ERROR:deployer.env:Command (juju terminate-machine -e ec2-or 22) Output: | |
ERROR no machines were destroyed: machine 22 does not exist | |
DEBUG:deployer.env: Terminating machine 23 | |
DEBUG:root:Waiting for services to be removed... | |
DEBUG:runner:call ['/tmp/bundletester-lTllTc/squid-reverseproxy/tests/14-listening-port.py'] | |
DEBUG:runner:2015-03-10 15:12:22 Starting deployment of ec2-or | |
DEBUG:runner:2015-03-10 15:12:23 Deploying services... | |
DEBUG:runner:2015-03-10 15:12:24 Deploying service apache2 using cs:trusty/apache2-11 | |
DEBUG:runner:2015-03-10 15:12:31 Deploying service squid-reverseproxy using local:trusty/squid-reverseproxy | |
DEBUG:runner:2015-03-10 15:14:19 The following units had errors: | |
DEBUG:runner: unit: squid-reverseproxy/0: machine: 25 agent-state: error details: hook failed: "install" | |
DEBUG:runner:2015-03-10 15:14:20 Deployment stopped. run time: 117.99 | |
DEBUG:runner:Traceback (most recent call last): | |
DEBUG:runner: File "/tmp/bundletester-lTllTc/squid-reverseproxy/tests/14-listening-port.py", line 23, in <module> | |
DEBUG:runner: d.setup(timeout=seconds) | |
DEBUG:runner: File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 315, in setup | |
DEBUG:runner: ], cwd=self.deployer_dir) | |
DEBUG:runner: File "/usr/lib/python3.4/subprocess.py", line 557, in check_call | |
DEBUG:runner: raise CalledProcessError(retcode, cmd) | |
DEBUG:runner:subprocess.CalledProcessError: Command '['juju-deployer', '-W', '-L', '-c', '/tmp/amulet-juju-deployer-ofd4mnay.json', '-e', 'ec2-or', '-t', '20100', 'ec2-or']' returned non-zero exit status 1 | |
DEBUG:runner:Exit Code: 1 | |
DEBUG:deployer.env: Destroying service squid-reverseproxy | |
DEBUG:deployer.env: Destroying service apache2 | |
DEBUG:deployer.env: Resolving error on squid-reverseproxy/0 | |
DEBUG:deployer.env: Resolving error on squid-reverseproxy/0 | |
DEBUG:deployer.env: Resolving error on squid-reverseproxy/0 | |
DEBUG:deployer.env: Resolving error on squid-reverseproxy/0 | |
DEBUG:deployer.env: No more unit errors found. | |
DEBUG:deployer.env: Terminating machines | |
DEBUG:deployer.env: Terminating machine 24 | |
ERROR:deployer.env:Error terminating machine u'24' | |
ERROR:deployer.env:Command (juju terminate-machine -e ec2-or 24) Output: | |
ERROR no machines were destroyed: machine 24 does not exist | |
DEBUG:deployer.env: Terminating machine 25 | |
ERROR:deployer.env:Error terminating machine u'25' | |
ERROR:deployer.env:Command (juju terminate-machine -e ec2-or 25) Output: | |
ERROR no machines were destroyed: machine 25 does not exist | |
DEBUG:root:Waiting for services to be removed... | |
DEBUG:runner:call ['/tmp/bundletester-lTllTc/squid-reverseproxy/tests/15-port-options.py'] | |
DEBUG:runner:2015-03-10 15:14:49 Starting deployment of ec2-or | |
DEBUG:runner:2015-03-10 15:14:50 Deploying services... | |
DEBUG:runner:2015-03-10 15:14:51 Deploying service elasticsearch using cs:trusty/elasticsearch-8 | |
DEBUG:runner:2015-03-10 15:15:10 Deploying service kibana using cs:trusty/kibana-3 | |
DEBUG:runner:2015-03-10 15:15:18 Deploying service logstash-indexer using cs:precise/logstash-indexer-4 | |
DEBUG:runner:2015-03-10 15:18:35 Adding relations... | |
DEBUG:runner:2015-03-10 15:18:36 Adding relation logstash-indexer:cluster <-> elasticsearch:client | |
DEBUG:runner:2015-03-10 15:18:37 Adding relation kibana:rest <-> elasticsearch:client | |
DEBUG:runner:2015-03-10 15:19:38 Exposing service 'kibana' | |
DEBUG:runner:2015-03-10 15:19:38 Deployment complete in 289.30 seconds | |
DEBUG:runner:Traceback (most recent call last): | |
DEBUG:runner: File "/tmp/bundletester-lTllTc/squid-reverseproxy/tests/15-port-options.py", line 71, in <module> | |
DEBUG:runner: test_web_interface() | |
DEBUG:runner: File "/tmp/bundletester-lTllTc/squid-reverseproxy/tests/15-port-options.py", line 54, in test_web_interface | |
DEBUG:runner: data=json.load(open('11-scale-elastic-query.json'))) | |
DEBUG:runner:FileNotFoundError: [Errno 2] No such file or directory: '11-scale-elastic-query.json' | |
DEBUG:runner:Exit Code: 1 | |
DEBUG:deployer.env: Destroying service elasticsearch | |
DEBUG:deployer.env: Destroying service kibana | |
DEBUG:deployer.env: Destroying service logstash-indexer | |
DEBUG:deployer.env: No unit errors found. | |
DEBUG:deployer.env: Terminating machines | |
DEBUG:deployer.env: Terminating machine 26 | |
DEBUG:deployer.env: Terminating machine 27 | |
DEBUG:deployer.env: Terminating machine 28 | |
DEBUG:deployer.env: Terminating machine 29 | |
ERROR:deployer.env:Error terminating machine u'29' | |
ERROR:deployer.env:Command (juju terminate-machine -e ec2-or 29) Output: | |
ERROR no machines were destroyed: machine 29 does not exist | |
DEBUG:deployer.env: Terminating machine 30 | |
ERROR:deployer.env:Error terminating machine u'30' | |
ERROR:deployer.env:Command (juju terminate-machine -e ec2-or 30) Output: | |
ERROR no machines were destroyed: machine 30 does not exist | |
DEBUG:root:Waiting for services to be removed... | |
DEBUG:runner:call ['/tmp/bundletester-lTllTc/squid-reverseproxy/tests/16-https.py'] | |
DEBUG:runner:Traceback (most recent call last): | |
DEBUG:runner: File "/tmp/bundletester-lTllTc/squid-reverseproxy/tests/16-https.py", line 16, in <module> | |
DEBUG:runner: 'ssl_key': b64encode(open('cert.key').read()), | |
DEBUG:runner:FileNotFoundError: [Errno 2] No such file or directory: 'cert.key' | |
DEBUG:runner:Exit Code: 1 | |
DEBUG:deployer.env: Terminating machines | |
DEBUG:root:Waiting for services to be removed... | |
DEBUG:runner:call ['/tmp/bundletester-lTllTc/squid-reverseproxy/tests/17-via.py'] | |
DEBUG:runner:2015-03-10 15:21:47 Starting deployment of ec2-or | |
DEBUG:runner:2015-03-10 15:21:48 Deploying services... | |
DEBUG:runner:2015-03-10 15:21:49 Deploying service apache2 using cs:trusty/apache2-11 | |
DEBUG:runner:2015-03-10 15:21:56 Deploying service squid-reverseproxy using local:trusty/squid-reverseproxy | |
DEBUG:runner:2015-03-10 15:23:49 The following units had errors: | |
DEBUG:runner: unit: squid-reverseproxy/0: machine: 32 agent-state: error details: hook failed: "install" | |
DEBUG:runner:2015-03-10 15:23:49 Deployment stopped. run time: 122.79 | |
DEBUG:runner:Traceback (most recent call last): | |
DEBUG:runner: File "/tmp/bundletester-lTllTc/squid-reverseproxy/tests/17-via.py", line 18, in <module> | |
DEBUG:runner: d.setup(timeout=seconds) | |
DEBUG:runner: File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 315, in setup | |
DEBUG:runner: ], cwd=self.deployer_dir) | |
DEBUG:runner: File "/usr/lib/python3.4/subprocess.py", line 557, in check_call | |
DEBUG:runner: raise CalledProcessError(retcode, cmd) | |
DEBUG:runner:subprocess.CalledProcessError: Command '['juju-deployer', '-W', '-L', '-c', '/tmp/amulet-juju-deployer-9dt7xwus.json', '-e', 'ec2-or', '-t', '20100', 'ec2-or']' returned non-zero exit status 1 | |
DEBUG:runner:Exit Code: 1 | |
DEBUG:deployer.env: Destroying service squid-reverseproxy | |
DEBUG:deployer.env: Destroying service apache2 | |
DEBUG:deployer.env: Resolving error on squid-reverseproxy/0 | |
DEBUG:deployer.env: Resolving error on squid-reverseproxy/0 | |
DEBUG:deployer.env: Resolving error on squid-reverseproxy/0 | |
DEBUG:deployer.env: Resolving error on squid-reverseproxy/0 | |
DEBUG:deployer.env: No more unit errors found. | |
DEBUG:deployer.env: Terminating machines | |
DEBUG:deployer.env: Terminating machine 31 | |
ERROR:deployer.env:Error terminating machine u'31' | |
ERROR:deployer.env:Command (juju terminate-machine -e ec2-or 31) Output: | |
ERROR no machines were destroyed: machine 31 does not exist | |
DEBUG:deployer.env: Terminating machine 32 | |
DEBUG:root:Waiting for services to be removed... | |
DEBUG:runner:call ['/tmp/bundletester-lTllTc/squid-reverseproxy/tests/19-snmp.py'] | |
DEBUG:runner:2015-03-10 15:24:24 Starting deployment of ec2-or | |
DEBUG:runner:2015-03-10 15:24:25 Deploying services... | |
DEBUG:runner:2015-03-10 15:24:26 Deploying service apache2 using cs:trusty/apache2-11 | |
DEBUG:runner:2015-03-10 15:24:33 Deploying service squid-reverseproxy using local:trusty/squid-reverseproxy | |
DEBUG:runner:2015-03-10 15:26:19 The following units had errors: | |
DEBUG:runner: unit: squid-reverseproxy/0: machine: 34 agent-state: error details: hook failed: "install" | |
DEBUG:runner:2015-03-10 15:26:20 Deployment stopped. run time: 116.20 | |
DEBUG:runner:Traceback (most recent call last): | |
DEBUG:runner: File "/tmp/bundletester-lTllTc/squid-reverseproxy/tests/19-snmp.py", line 23, in <module> | |
DEBUG:runner: d.setup(timeout=seconds) | |
DEBUG:runner: File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 315, in setup | |
DEBUG:runner: ], cwd=self.deployer_dir) | |
DEBUG:runner: File "/usr/lib/python3.4/subprocess.py", line 557, in check_call | |
DEBUG:runner: raise CalledProcessError(retcode, cmd) | |
DEBUG:runner:subprocess.CalledProcessError: Command '['juju-deployer', '-W', '-L', '-c', '/tmp/amulet-juju-deployer-foqsq4po.json', '-e', 'ec2-or', '-t', '20100', 'ec2-or']' returned non-zero exit status 1 | |
DEBUG:runner:Exit Code: 1 | |
DEBUG:bundletester.utils:Updating JUJU_ENV: "ec2-or" -> "" | |
squid-reverseproxy | |
charm-proof PASS | |
make lint FAIL | |
make test FAIL | |
00-setup PASS | |
12-nagios.py ERROR | |
13-squid-apache.py ERROR | |
14-listening-port.py ERROR | |
15-port-options.py ERROR | |
16-https.py ERROR | |
17-via.py ERROR | |
19-snmp.py ERROR | |
------------------------------------------------------------------------------ | |
FAIL: squid-reverseproxy::make lint | |
[/usr/bin/make -s lint exit 2] | |
Checking for Python syntax... | |
/bin/sh: 1: flake8: not found | |
make: *** [lint] Error 127 | |
------------------------------------------------------------------------------ | |
FAIL: squid-reverseproxy::make test | |
[/usr/bin/make -s test exit 2] | |
Starting tests... | |
Requirement already satisfied (use --upgrade to upgrade): nose in /home/ubuntu/.virtualenvs/charm-review/lib/python2.7/site-packages | |
Downloading/unpacking testtools | |
Requirement already satisfied (use --upgrade to upgrade): mock in /home/ubuntu/.virtualenvs/charm-review/lib/python2.7/site-packages | |
Requirement already satisfied (use --upgrade to upgrade): pyyaml in /home/ubuntu/.virtualenvs/charm-review/lib/python2.7/site-packages | |
Downloading/unpacking python-mimeparse (from testtools) | |
Downloading python-mimeparse-0.1.4.tar.gz | |
Running setup.py (path:/home/ubuntu/.virtualenvs/charm-review/build/python-mimeparse/setup.py) egg_info for package python-mimeparse | |
Downloading/unpacking extras (from testtools) | |
Downloading extras-0.0.3.tar.gz | |
Running setup.py (path:/home/ubuntu/.virtualenvs/charm-review/build/extras/setup.py) egg_info for package extras | |
Downloading/unpacking traceback2 (from testtools) | |
Downloading traceback2-1.4.0-py2.py3-none-any.whl | |
Downloading/unpacking unittest2>=1.0.0 (from testtools) | |
Downloading/unpacking linecache2 (from traceback2->testtools) | |
Downloading linecache2-1.0.0-py2.py3-none-any.whl | |
Requirement already satisfied (use --upgrade to upgrade): six in /home/ubuntu/.virtualenvs/charm-review/lib/python2.7/site-packages (from unittest2>=1.0.0->testtools) | |
Requirement already satisfied (use --upgrade to upgrade): argparse in /usr/lib/python2.7 (from unittest2>=1.0.0->testtools) | |
Installing collected packages: testtools, python-mimeparse, extras, traceback2, unittest2, linecache2 | |
Running setup.py install for python-mimeparse | |
Running setup.py install for extras | |
Compiling /home/ubuntu/.virtualenvs/charm-review/build/linecache2/linecache2/tests/inspect_fodder2.py ... | |
File "/home/ubuntu/.virtualenvs/charm-review/build/linecache2/linecache2/tests/inspect_fodder2.py", line 102 | |
def keyworded(*arg1, arg2=1): | |
^ | |
SyntaxError: invalid syntax | |
Successfully installed testtools python-mimeparse extras traceback2 unittest2 linecache2 | |
Cleaning up... | |
EEEEEE | |
====================================================================== | |
ERROR: Failure: ImportError (No module named apt_pkg) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName | |
addr.filename, addr.module) | |
File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath | |
return self.importFromDir(dir_path, fqname) | |
File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir | |
mod = load_module(part_fqname, fh, filename, desc) | |
File "/tmp/bundletester-lTllTc/squid-reverseproxy/hooks/tests/test_cached_website_hooks.py", line 4, in <module> | |
import hooks | |
File "/tmp/bundletester-lTllTc/squid-reverseproxy/hooks/hooks.py", line 14, in <module> | |
import apt_pkg | |
ImportError: No module named apt_pkg | |
====================================================================== | |
ERROR: Failure: ImportError (No module named apt_pkg) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName | |
addr.filename, addr.module) | |
File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath | |
return self.importFromDir(dir_path, fqname) | |
File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir | |
mod = load_module(part_fqname, fh, filename, desc) | |
File "/tmp/bundletester-lTllTc/squid-reverseproxy/hooks/tests/test_config_changed_hooks.py", line 4, in <module> | |
import hooks | |
File "/tmp/bundletester-lTllTc/squid-reverseproxy/hooks/hooks.py", line 14, in <module> | |
import apt_pkg | |
ImportError: No module named apt_pkg | |
====================================================================== | |
ERROR: Failure: ImportError (No module named apt_pkg) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName | |
addr.filename, addr.module) | |
File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath | |
return self.importFromDir(dir_path, fqname) | |
File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir | |
mod = load_module(part_fqname, fh, filename, desc) | |
File "/tmp/bundletester-lTllTc/squid-reverseproxy/hooks/tests/test_helpers.py", line 11, in <module> | |
import hooks | |
File "/tmp/bundletester-lTllTc/squid-reverseproxy/hooks/hooks.py", line 14, in <module> | |
import apt_pkg | |
ImportError: No module named apt_pkg | |
====================================================================== | |
ERROR: Failure: ImportError (No module named apt_pkg) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName | |
addr.filename, addr.module) | |
File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath | |
return self.importFromDir(dir_path, fqname) | |
File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir | |
mod = load_module(part_fqname, fh, filename, desc) | |
File "/tmp/bundletester-lTllTc/squid-reverseproxy/hooks/tests/test_metrics.py", line 8, in <module> | |
import hooks | |
File "/tmp/bundletester-lTllTc/squid-reverseproxy/hooks/hooks.py", line 14, in <module> | |
import apt_pkg | |
ImportError: No module named apt_pkg | |
====================================================================== | |
ERROR: Failure: ImportError (No module named apt_pkg) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName | |
addr.filename, addr.module) | |
File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath | |
return self.importFromDir(dir_path, fqname) | |
File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir | |
mod = load_module(part_fqname, fh, filename, desc) | |
File "/tmp/bundletester-lTllTc/squid-reverseproxy/hooks/tests/test_nrpe_hooks.py", line 9, in <module> | |
import hooks | |
File "/tmp/bundletester-lTllTc/squid-reverseproxy/hooks/hooks.py", line 14, in <module> | |
import apt_pkg | |
ImportError: No module named apt_pkg | |
====================================================================== | |
ERROR: Failure: ImportError (No module named apt_pkg) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName | |
addr.filename, addr.module) | |
File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath | |
return self.importFromDir(dir_path, fqname) | |
File "/home/ubuntu/.virtualenvs/charm-review/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir | |
mod = load_module(part_fqname, fh, filename, desc) | |
File "/tmp/bundletester-lTllTc/squid-reverseproxy/hooks/tests/test_website_hooks.py", line 6, in <module> | |
import hooks | |
File "/tmp/bundletester-lTllTc/squid-reverseproxy/hooks/hooks.py", line 14, in <module> | |
import apt_pkg | |
ImportError: No module named apt_pkg | |
Name Stmts Miss Cover Missing | |
-------------------------------------------------------------------------------- | |
hooks/charmhelpers/__init__ 0 0 100% | |
hooks/charmhelpers/contrib/__init__ 0 0 100% | |
hooks/charmhelpers/contrib/charmsupport/__init__ 0 0 100% | |
hooks/charmhelpers/contrib/charmsupport/nrpe 83 83 0% 7-218 | |
hooks/charmhelpers/contrib/charmsupport/volumes 74 74 0% 42-156 | |
hooks/charmhelpers/core/__init__ 0 0 100% | |
hooks/charmhelpers/core/hookenv 218 218 0% 7-340 | |
hooks/charmhelpers/core/host 140 140 0% 8-239 | |
hooks/charmhelpers/fetch/__init__ 116 116 0% 1-209 | |
hooks/charmhelpers/fetch/archiveurl 35 35 0% 1-48 | |
hooks/charmhelpers/fetch/bzrurl 33 33 0% 1-43 | |
hooks/hooks 349 337 3% 16-601 | |
hooks/tests/__init__ 0 0 100% | |
hooks/tests/test_cached_website_hooks 67 64 4% 7-102 | |
hooks/tests/test_config_changed_hooks 36 33 8% 7-61 | |
hooks/tests/test_helpers 142 134 6% 12-508 | |
hooks/tests/test_metrics 82 76 7% 11-196 | |
hooks/tests/test_nrpe_hooks 131 124 5% 11-317 | |
hooks/tests/test_website_hooks 76 72 5% 7-267 | |
-------------------------------------------------------------------------------- | |
TOTAL 1582 1539 3% | |
---------------------------------------------------------------------- | |
Ran 6 tests in 0.002s | |
FAILED (errors=6) | |
make: *** [test] Error 1 | |
------------------------------------------------------------------------------ | |
ERROR: squid-reverseproxy::12-nagios.py | |
[/tmp/bundletester-lTllTc/squid-reverseproxy/tests/12-nagios.py exit 1] | |
Traceback (most recent call last): | |
File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 39, in fetch | |
return super(CharmCache, self).__getitem__(service) | |
KeyError: 'nrpe-external-master' | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/usr/lib/python3/dist-packages/charmworldlib/charm.py", line 158, in _fetch | |
revision=revision)) | |
File "/usr/lib/python3/dist-packages/charmworldlib/api.py", line 18, in get | |
return self.fetch_json(endpoint, params, 'get') | |
File "/usr/lib/python3/dist-packages/charmworldlib/api.py", line 26, in fetch_json | |
raise Exception('Request failed with: %s' % r.status_code) | |
Exception: Request failed with: 404 | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/tmp/bundletester-lTllTc/squid-reverseproxy/tests/12-nagios.py", line 11, in <module> | |
d.add('nrpe-external-master') | |
File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 96, in add | |
c = self.charm_cache.fetch(service, charm, self.series) | |
File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 44, in fetch | |
series=series, | |
File "/usr/lib/python3/dist-packages/amulet/charm.py", line 28, in get_charm | |
return Charm(with_series(charm_path)) | |
File "/usr/lib/python3/dist-packages/charmworldlib/charm.py", line 131, in __init__ | |
self._fetch(charm_id) | |
File "/usr/lib/python3/dist-packages/charmworldlib/charm.py", line 161, in _fetch | |
raise CharmNotFound('API request failed: %s' % str(e)) | |
charmworldlib.charm.CharmNotFound: API request failed: Request failed with: 404 | |
------------------------------------------------------------------------------ | |
ERROR: squid-reverseproxy::13-squid-apache.py | |
[/tmp/bundletester-lTllTc/squid-reverseproxy/tests/13-squid-apache.py exit 1] | |
2015-03-10 15:09:40 Starting deployment of ec2-or | |
2015-03-10 15:09:42 Deploying services... | |
2015-03-10 15:09:43 Deploying service apache2 using cs:trusty/apache2-11 | |
2015-03-10 15:09:54 Deploying service squid-reverseproxy using local:trusty/squid-reverseproxy | |
2015-03-10 15:11:44 The following units had errors: | |
unit: squid-reverseproxy/0: machine: 23 agent-state: error details: hook failed: "install" | |
2015-03-10 15:11:44 Deployment stopped. run time: 124.13 | |
Traceback (most recent call last): | |
File "/tmp/bundletester-lTllTc/squid-reverseproxy/tests/13-squid-apache.py", line 18, in <module> | |
d.setup(timeout=seconds) | |
File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 315, in setup | |
], cwd=self.deployer_dir) | |
File "/usr/lib/python3.4/subprocess.py", line 557, in check_call | |
raise CalledProcessError(retcode, cmd) | |
subprocess.CalledProcessError: Command '['juju-deployer', '-W', '-L', '-c', '/tmp/amulet-juju-deployer-1b9nwszc.json', '-e', 'ec2-or', '-t', '20100', 'ec2-or']' returned non-zero exit status 1 | |
------------------------------------------------------------------------------ | |
ERROR: squid-reverseproxy::14-listening-port.py | |
[/tmp/bundletester-lTllTc/squid-reverseproxy/tests/14-listening-port.py exit 1] | |
2015-03-10 15:12:22 Starting deployment of ec2-or | |
2015-03-10 15:12:23 Deploying services... | |
2015-03-10 15:12:24 Deploying service apache2 using cs:trusty/apache2-11 | |
2015-03-10 15:12:31 Deploying service squid-reverseproxy using local:trusty/squid-reverseproxy | |
2015-03-10 15:14:19 The following units had errors: | |
unit: squid-reverseproxy/0: machine: 25 agent-state: error details: hook failed: "install" | |
2015-03-10 15:14:20 Deployment stopped. run time: 117.99 | |
Traceback (most recent call last): | |
File "/tmp/bundletester-lTllTc/squid-reverseproxy/tests/14-listening-port.py", line 23, in <module> | |
d.setup(timeout=seconds) | |
File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 315, in setup | |
], cwd=self.deployer_dir) | |
File "/usr/lib/python3.4/subprocess.py", line 557, in check_call | |
raise CalledProcessError(retcode, cmd) | |
subprocess.CalledProcessError: Command '['juju-deployer', '-W', '-L', '-c', '/tmp/amulet-juju-deployer-ofd4mnay.json', '-e', 'ec2-or', '-t', '20100', 'ec2-or']' returned non-zero exit status 1 | |
------------------------------------------------------------------------------ | |
ERROR: squid-reverseproxy::15-port-options.py | |
[/tmp/bundletester-lTllTc/squid-reverseproxy/tests/15-port-options.py exit 1] | |
2015-03-10 15:14:49 Starting deployment of ec2-or | |
2015-03-10 15:14:50 Deploying services... | |
2015-03-10 15:14:51 Deploying service elasticsearch using cs:trusty/elasticsearch-8 | |
2015-03-10 15:15:10 Deploying service kibana using cs:trusty/kibana-3 | |
2015-03-10 15:15:18 Deploying service logstash-indexer using cs:precise/logstash-indexer-4 | |
2015-03-10 15:18:35 Adding relations... | |
2015-03-10 15:18:36 Adding relation logstash-indexer:cluster <-> elasticsearch:client | |
2015-03-10 15:18:37 Adding relation kibana:rest <-> elasticsearch:client | |
2015-03-10 15:19:38 Exposing service 'kibana' | |
2015-03-10 15:19:38 Deployment complete in 289.30 seconds | |
Traceback (most recent call last): | |
File "/tmp/bundletester-lTllTc/squid-reverseproxy/tests/15-port-options.py", line 71, in <module> | |
test_web_interface() | |
File "/tmp/bundletester-lTllTc/squid-reverseproxy/tests/15-port-options.py", line 54, in test_web_interface | |
data=json.load(open('11-scale-elastic-query.json'))) | |
FileNotFoundError: [Errno 2] No such file or directory: '11-scale-elastic-query.json' | |
------------------------------------------------------------------------------ | |
ERROR: squid-reverseproxy::16-https.py | |
[/tmp/bundletester-lTllTc/squid-reverseproxy/tests/16-https.py exit 1] | |
Traceback (most recent call last): | |
File "/tmp/bundletester-lTllTc/squid-reverseproxy/tests/16-https.py", line 16, in <module> | |
'ssl_key': b64encode(open('cert.key').read()), | |
FileNotFoundError: [Errno 2] No such file or directory: 'cert.key' | |
------------------------------------------------------------------------------ | |
ERROR: squid-reverseproxy::17-via.py | |
[/tmp/bundletester-lTllTc/squid-reverseproxy/tests/17-via.py exit 1] | |
2015-03-10 15:21:47 Starting deployment of ec2-or | |
2015-03-10 15:21:48 Deploying services... | |
2015-03-10 15:21:49 Deploying service apache2 using cs:trusty/apache2-11 | |
2015-03-10 15:21:56 Deploying service squid-reverseproxy using local:trusty/squid-reverseproxy | |
2015-03-10 15:23:49 The following units had errors: | |
unit: squid-reverseproxy/0: machine: 32 agent-state: error details: hook failed: "install" | |
2015-03-10 15:23:49 Deployment stopped. run time: 122.79 | |
Traceback (most recent call last): | |
File "/tmp/bundletester-lTllTc/squid-reverseproxy/tests/17-via.py", line 18, in <module> | |
d.setup(timeout=seconds) | |
File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 315, in setup | |
], cwd=self.deployer_dir) | |
File "/usr/lib/python3.4/subprocess.py", line 557, in check_call | |
raise CalledProcessError(retcode, cmd) | |
subprocess.CalledProcessError: Command '['juju-deployer', '-W', '-L', '-c', '/tmp/amulet-juju-deployer-9dt7xwus.json', '-e', 'ec2-or', '-t', '20100', 'ec2-or']' returned non-zero exit status 1 | |
------------------------------------------------------------------------------ | |
ERROR: squid-reverseproxy::19-snmp.py | |
[/tmp/bundletester-lTllTc/squid-reverseproxy/tests/19-snmp.py exit 1] | |
2015-03-10 15:24:24 Starting deployment of ec2-or | |
2015-03-10 15:24:25 Deploying services... | |
2015-03-10 15:24:26 Deploying service apache2 using cs:trusty/apache2-11 | |
2015-03-10 15:24:33 Deploying service squid-reverseproxy using local:trusty/squid-reverseproxy | |
2015-03-10 15:26:19 The following units had errors: | |
unit: squid-reverseproxy/0: machine: 34 agent-state: error details: hook failed: "install" | |
2015-03-10 15:26:20 Deployment stopped. run time: 116.20 | |
Traceback (most recent call last): | |
File "/tmp/bundletester-lTllTc/squid-reverseproxy/tests/19-snmp.py", line 23, in <module> | |
d.setup(timeout=seconds) | |
File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 315, in setup | |
], cwd=self.deployer_dir) | |
File "/usr/lib/python3.4/subprocess.py", line 557, in check_call | |
raise CalledProcessError(retcode, cmd) | |
subprocess.CalledProcessError: Command '['juju-deployer', '-W', '-L', '-c', '/tmp/amulet-juju-deployer-foqsq4po.json', '-e', 'ec2-or', '-t', '20100', 'ec2-or']' returned non-zero exit status 1 | |
PASS: 2 ERROR: 7 FAIL: 2 Total: 11 (865.06113 sec) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment