Skip to content

Instantly share code, notes, and snippets.

@whitmo
Created March 10, 2015 15:10
Show Gist options
  • Save whitmo/ceadd4bbd8d5d1036c02 to your computer and use it in GitHub Desktop.
Save whitmo/ceadd4bbd8d5d1036c02 to your computer and use it in GitHub Desktop.
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: Terminating machines
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:root:Waiting for services to be removed...
DEBUG:runner:call ['/tmp/bundletester-8pZLOX/logstash-agent/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
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: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-8pZLOX/logstash-agent/tests/10-bundles-test.py']
DEBUG:runner:2015-03-09 18:27:13 Starting deployment of ec2-or
DEBUG:runner:2015-03-09 18:27:15 Deploying services...
DEBUG:runner:2015-03-09 18:27:16 Deploying service logstash-agent using local:trusty/logstash-agent
DEBUG:runner:2015-03-09 18:27:22 Deploying service ubuntu using cs:trusty/ubuntu-1
DEBUG:runner:2015-03-09 18:29:15 Adding relations...
DEBUG:runner:2015-03-09 18:29:16 Adding relation logstash-agent:juju-info <-> ubuntu:juju-info
DEBUG:runner:2015-03-09 18:30:18 Deployment complete in 185.05 seconds
DEBUG:runner:/usr/lib/python3/dist-packages/charmworldlib/api.py:18: ResourceWarning: unclosed <ssl.SSLSocket fd=6, family=AddressFamily.AF_INET, type=SocketType.SOCK_STREAM, proto=6, laddr=('172.17.0.5', 41024), raddr=('91.189.92.34', 443)>
DEBUG:runner: return self.fetch_json(endpoint, params, 'get')
DEBUG:runner:.
DEBUG:runner:----------------------------------------------------------------------
DEBUG:runner:Ran 1 test in 211.084s
DEBUG:runner:
DEBUG:runner:OK
DEBUG:runner:Exit Code: 0
DEBUG:deployer.env: Destroying service ubuntu
DEBUG:deployer.env: Destroying service logstash-agent
DEBUG:deployer.env: No unit errors found.
DEBUG:deployer.env: Terminating machines
DEBUG:deployer.env: Terminating machine 5
DEBUG:root:Waiting for services to be removed...
DEBUG:runner:call ['/tmp/bundletester-8pZLOX/logstash-agent/tests/11-install-without-indexer.py']
DEBUG:runner:2015-03-09 18:31:18 Starting deployment of ec2-or
DEBUG:runner:2015-03-09 18:31:20 Deploying services...
DEBUG:runner:2015-03-09 18:31:21 Deploying service logstash-agent using local:trusty/logstash-agent
DEBUG:runner:2015-03-09 18:31:26 Deploying service mysql using cs:trusty/mysql-23
DEBUG:runner:2015-03-09 18:31:41 Config specifies num units for subordinate: logstash-agent
DEBUG:runner:2015-03-09 18:34:15 Adding relations...
DEBUG:runner:2015-03-09 18:34:17 Adding relation mysql:juju-info <-> logstash-agent:juju-info
DEBUG:runner:2015-03-09 18:35:19 Deployment complete in 240.80 seconds
DEBUG:runner:Exit Code: 0
DEBUG:deployer.env: Destroying service mysql
DEBUG:deployer.env: Destroying service logstash-agent
DEBUG:deployer.env: No unit errors found.
DEBUG:deployer.env: Terminating machines
DEBUG:deployer.env: Terminating machine 6
ERROR:deployer.env:Error terminating machine u'6'
ERROR:deployer.env:Command (juju terminate-machine -e ec2-or 6) Output:
ERROR no machines were destroyed: machine 6 does not exist
DEBUG:root:Waiting for services to be removed...
DEBUG:runner:call ['/tmp/bundletester-8pZLOX/logstash-agent/tests/13-basic-logstash-indexer-stack.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: 'logstash-indexer'
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-8pZLOX/logstash-agent/tests/13-basic-logstash-indexer-stack.py", line 12, in <module>
DEBUG:runner: d.add('logstash-indexer')
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-8pZLOX/logstash-agent/tests/14-log-twitter-mentions.py']
DEBUG:runner:2015-03-09 18:36:19 Starting deployment of ec2-or
DEBUG:runner:2015-03-09 18:36:20 Deploying services...
DEBUG:runner:2015-03-09 18:36:22 Deploying service logstash-agent using local:trusty/logstash-agent
DEBUG:runner:2015-03-09 18:36:27 Deploying service ubuntu using cs:trusty/ubuntu-1
DEBUG:runner:2015-03-09 18:36:42 Config specifies num units for subordinate: logstash-agent
DEBUG:runner:2015-03-09 18:38:10 Adding relations...
DEBUG:runner:2015-03-09 18:38:11 Adding relation ubuntu:juju-info <-> logstash-agent:juju-info
DEBUG:runner:2015-03-09 18:39:13 Deployment complete in 174.17 seconds
DEBUG:runner:Traceback (most recent call last):
DEBUG:runner: File "/tmp/bundletester-8pZLOX/logstash-agent/tests/14-log-twitter-mentions.py", line 31, in <module>
DEBUG:runner: logstash_indexer_agent = d.sentry.unit['logstash-indexer/0']
DEBUG:runner:KeyError: 'logstash-indexer/0'
DEBUG:runner:Exit Code: 1
DEBUG:deployer.env: Destroying service ubuntu
DEBUG:deployer.env: Destroying service logstash-agent
DEBUG:deployer.env: No unit errors found.
DEBUG:deployer.env: Terminating machines
DEBUG:deployer.env: Terminating machine 7
DEBUG:root:Waiting for services to be removed...
DEBUG:runner:call ['/tmp/bundletester-8pZLOX/logstash-agent/tests/15-apt-packager-log-files.py']
DEBUG:runner:2015-03-09 18:40:08 Starting deployment of ec2-or
DEBUG:runner:2015-03-09 18:40:09 Deploying services...
DEBUG:runner:2015-03-09 18:40:11 Deploying service logstash-agent using local:trusty/logstash-agent
DEBUG:runner:2015-03-09 18:40:16 Deploying service ubuntu using cs:trusty/ubuntu-1
DEBUG:runner:2015-03-09 18:40:30 Config specifies num units for subordinate: logstash-agent
DEBUG:runner:2015-03-09 18:42:00 Adding relations...
DEBUG:runner:2015-03-09 18:42:01 Adding relation ubuntu:juju-info <-> logstash-agent:juju-info
DEBUG:runner:2015-03-09 18:43:03 Deployment complete in 175.47 seconds
DEBUG:runner:Traceback (most recent call last):
DEBUG:runner: File "/tmp/bundletester-8pZLOX/logstash-agent/tests/15-apt-packager-log-files.py", line 29, in <module>
DEBUG:runner: logstash_indexer_agent = d.sentry.unit['logstash-indexer/0']
DEBUG:runner:KeyError: 'logstash-indexer/0'
DEBUG:runner:Exit Code: 1
DEBUG:bundletester.utils:Updating JUJU_ENV: "ec2-or" -> ""
logstash-agent
charm-proof PASS
00-setup PASS
10-bundles-test.py PASS
11-install-without-indexer.py PASS
13-basic-logstash-indexer-stack.py ERROR
14-log-twitter-mentions.py ERROR
15-apt-packager-log-files.py ERROR
------------------------------------------------------------------------------
ERROR: logstash-agent::13-basic-logstash-indexer-stack.py
[/tmp/bundletester-8pZLOX/logstash-agent/tests/13-basic-logstash-indexer-stack.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: 'logstash-indexer'
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-8pZLOX/logstash-agent/tests/13-basic-logstash-indexer-stack.py", line 12, in <module>
d.add('logstash-indexer')
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: logstash-agent::14-log-twitter-mentions.py
[/tmp/bundletester-8pZLOX/logstash-agent/tests/14-log-twitter-mentions.py exit 1]
2015-03-09 18:36:19 Starting deployment of ec2-or
2015-03-09 18:36:20 Deploying services...
2015-03-09 18:36:22 Deploying service logstash-agent using local:trusty/logstash-agent
2015-03-09 18:36:27 Deploying service ubuntu using cs:trusty/ubuntu-1
2015-03-09 18:36:42 Config specifies num units for subordinate: logstash-agent
2015-03-09 18:38:10 Adding relations...
2015-03-09 18:38:11 Adding relation ubuntu:juju-info <-> logstash-agent:juju-info
2015-03-09 18:39:13 Deployment complete in 174.17 seconds
Traceback (most recent call last):
File "/tmp/bundletester-8pZLOX/logstash-agent/tests/14-log-twitter-mentions.py", line 31, in <module>
logstash_indexer_agent = d.sentry.unit['logstash-indexer/0']
KeyError: 'logstash-indexer/0'
------------------------------------------------------------------------------
ERROR: logstash-agent::15-apt-packager-log-files.py
[/tmp/bundletester-8pZLOX/logstash-agent/tests/15-apt-packager-log-files.py exit 1]
2015-03-09 18:40:08 Starting deployment of ec2-or
2015-03-09 18:40:09 Deploying services...
2015-03-09 18:40:11 Deploying service logstash-agent using local:trusty/logstash-agent
2015-03-09 18:40:16 Deploying service ubuntu using cs:trusty/ubuntu-1
2015-03-09 18:40:30 Config specifies num units for subordinate: logstash-agent
2015-03-09 18:42:00 Adding relations...
2015-03-09 18:42:01 Adding relation ubuntu:juju-info <-> logstash-agent:juju-info
2015-03-09 18:43:03 Deployment complete in 175.47 seconds
Traceback (most recent call last):
File "/tmp/bundletester-8pZLOX/logstash-agent/tests/15-apt-packager-log-files.py", line 29, in <module>
logstash_indexer_agent = d.sentry.unit['logstash-indexer/0']
KeyError: 'logstash-indexer/0'
PASS: 4 ERROR: 3 Total: 7 (874.817002 sec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment