Skip to content

Instantly share code, notes, and snippets.

@whitmo
Last active August 29, 2015 14:09
Show Gist options
  • Save whitmo/551fb0c69d1bc7ff36b2 to your computer and use it in GitHub Desktop.
Save whitmo/551fb0c69d1bc7ff36b2 to your computer and use it in GitHub Desktop.
(reviewq)whit@JATO7:~/proj/reviewq/trusty/mongodb$ bundletester -F
mongodb
charm-proof PASS
00-setup PASS
01_test_write_log_rotate_config.py PASS
200_deploy.test PASS
ERROR:deployer.env:Error terminating machine u'4'
ERROR:deployer.env:Command (juju terminate-machine -e local 4) Output:
ERROR no machines were destroyed: machine 4 has unit "configsvr/0" assigned
ERROR:root:
Traceback (most recent call last):
File "/home/whit/dev/reviewq/local/lib/python2.7/site-packages/bundletester/builder.py", line 81, in reset
self.environment.reset(terminate_machines=True)
File "/home/whit/dev/reviewq/local/lib/python2.7/site-packages/deployer/env/go.py", line 90, in reset
self._terminate_machines(status, watch, terminate_delay)
File "/home/whit/dev/reviewq/local/lib/python2.7/site-packages/deployer/env/go.py", line 123, in _terminate_machines
self._terminate_machine(mid, container_hosts)
File "/home/whit/dev/reviewq/local/lib/python2.7/site-packages/deployer/env/go.py", line 144, in _terminate_machine
self.terminate_machine(mid)
File "/home/whit/dev/reviewq/local/lib/python2.7/site-packages/deployer/env/base.py", line 122, in terminate_machine
params, self.log, "Error terminating machine %r" % mid)
File "/home/whit/dev/reviewq/local/lib/python2.7/site-packages/deployer/env/base.py", line 21, in _check_call
return _check_call(*args, **kwargs)
File "/home/whit/dev/reviewq/local/lib/python2.7/site-packages/deployer/utils.py", line 265, in _check_call
raise ErrorExit(e)
ErrorExit
ERROR:runner:Timeout exceeded. Failed to reset environment in 60 seconds.
Traceback (most recent call last):
File "/home/whit/dev/reviewq/local/lib/python2.7/site-packages/bundletester/runner.py", line 165, in _run_test
self.builder.reset()
File "/home/whit/dev/reviewq/local/lib/python2.7/site-packages/bundletester/builder.py", line 94, in reset
' in %s seconds.' % timeout)
RuntimeError: Timeout exceeded. Failed to reset environment in 60 seconds.
Traceback (most recent call last):
File "/home/whit/dev/reviewq/bin/bundletester", line 9, in <module>
load_entry_point('bundletester==0.4.3', 'console_scripts', 'bundletester')()
File "/home/whit/dev/reviewq/local/lib/python2.7/site-packages/bundletester/tester.py", line 78, in main
[report.emit(result) for result in run()]
File "/home/whit/dev/reviewq/local/lib/python2.7/site-packages/bundletester/reporter.py", line 145, in emit
cmd = message.test
File "/home/whit/dev/reviewq/local/lib/python2.7/site-packages/bundletester/reporter.py", line 14, in __getattr__
return self[k]
KeyError: 'test'
[Machines]
ID STATE VERSION DNS INS-ID SERIES HARDWARE
0 started 1.21-beta2.2 localhost localhost trusty
4 started 1.21-beta2.2 10.0.3.247 whit-local-machine-4 trusty arch=amd64
5 started 1.21-beta2.2 10.0.3.211 whit-local-machine-5 trusty arch=amd64
6 started 1.21-beta2.2 10.0.3.80 whit-local-machine-6 trusty arch=amd64
7 started 1.21-beta2.2 10.0.3.144 whit-local-machine-7 trusty arch=amd64
8 started 1.21-beta2.2 10.0.3.190 whit-local-machine-8 trusty arch=amd64
[Services]
NAME EXPOSED CHARM
configsvr true local:trusty/mongodb-32
configsvr-sentry true local:trusty/configsvr-sentry-0
mongos true local:trusty/mongodb-33
mongos-sentry true local:trusty/mongos-sentry-0
relation-sentry true local:trusty/relation-sentry-1
shard1 false local:trusty/mongodb-34
shard1-sentry true local:trusty/shard1-sentry-0
shard2 false local:trusty/mongodb-35
shard2-sentry true local:trusty/shard2-sentry-0
[Units]
ID STATE VERSION MACHINE PORTS PUBLIC-ADDRESS
configsvr/0 stopped 1.21-beta2.2 4 27017/tcp,27021/tcp,28017/tcp 10.0.3.247
configsvr-sentry/0 error 1.21-beta2.2 9001/tcp 10.0.3.247
mongos/0 error 1.21-beta2.2 5 27017/tcp,27019/tcp,28017/tcp 10.0.3.211
mongos-sentry/0 error 1.21-beta2.2 9001/tcp 10.0.3.211
relation-sentry/0 error 1.21-beta2.2 6 9001/tcp 10.0.3.80
shard1/0 stopped 1.21-beta2.2 7 27017/tcp,27019/tcp,27021/tcp,28017/tcp 10.0.3.144
shard1-sentry/0 error 1.21-beta2.2 9001/tcp 10.0.3.144
shard2/0 stopped 1.21-beta2.2 8 27017/tcp,27019/tcp,27021/tcp,28017/tcp 10.0.3.190
shard2-sentry/0 error 1.21-beta2.2 9001/tcp 10.0.3.190
(reviewq)whit@JATO7:~/proj/reviewq/trusty/mongodb$ bundletester -F
mongodb
charm-proof PASS
[sudo] password for whit:
00-setup PASS
01_test_write_log_rotate_config.py PASS
200_deploy.test PASS
ERROR:deployer.env:Error terminating machine u'14'
ERROR:deployer.env:Command (juju terminate-machine -e local 14) Output:
ERROR no machines were destroyed: machine 14 has unit "configsvr/0" assigned
ERROR:root:
Traceback (most recent call last):
File "/home/whit/dev/reviewq/local/lib/python2.7/site-packages/bundletester/builder.py", line 81, in reset
self.environment.reset(terminate_machines=True)
File "/home/whit/dev/reviewq/local/lib/python2.7/site-packages/deployer/env/go.py", line 90, in reset
self._terminate_machines(status, watch, terminate_delay)
File "/home/whit/dev/reviewq/local/lib/python2.7/site-packages/deployer/env/go.py", line 123, in _terminate_machines
self._terminate_machine(mid, container_hosts)
File "/home/whit/dev/reviewq/local/lib/python2.7/site-packages/deployer/env/go.py", line 144, in _terminate_machine
self.terminate_machine(mid)
File "/home/whit/dev/reviewq/local/lib/python2.7/site-packages/deployer/env/base.py", line 122, in terminate_machine
params, self.log, "Error terminating machine %r" % mid)
File "/home/whit/dev/reviewq/local/lib/python2.7/site-packages/deployer/env/base.py", line 21, in _check_call
return _check_call(*args, **kwargs)
File "/home/whit/dev/reviewq/local/lib/python2.7/site-packages/deployer/utils.py", line 265, in _check_call
raise ErrorExit(e)
ErrorExit
ERROR:runner:Timeout exceeded. Failed to reset environment in 60 seconds.
Traceback (most recent call last):
File "/home/whit/dev/reviewq/local/lib/python2.7/site-packages/bundletester/runner.py", line 165, in _run_test
self.builder.reset()
File "/home/whit/dev/reviewq/local/lib/python2.7/site-packages/bundletester/builder.py", line 94, in reset
' in %s seconds.' % timeout)
RuntimeError: Timeout exceeded. Failed to reset environment in 60 seconds.
Traceback (most recent call last):
File "/home/whit/dev/reviewq/bin/bundletester", line 9, in <module>
load_entry_point('bundletester==0.4.3', 'console_scripts', 'bundletester')()
File "/home/whit/dev/reviewq/local/lib/python2.7/site-packages/bundletester/tester.py", line 78, in main
[report.emit(result) for result in run()]
File "/home/whit/dev/reviewq/local/lib/python2.7/site-packages/bundletester/reporter.py", line 145, in emit
cmd = message.test
File "/home/whit/dev/reviewq/local/lib/python2.7/site-packages/bundletester/reporter.py", line 14, in __getattr__
return self[k]
KeyError: 'test'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment