1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171 | 2016-08-26 17:02:35 DEBUG 2016-08-26 17:02:35 Adding relation topbeat:beats-host <-> kubernetes:juju-info
2016-08-26 17:02:36 DEBUG 2016-08-26 17:02:36 Adding relation filebeat:beats-host <-> kubernetes:juju-info
2016-08-26 17:02:37 DEBUG 2016-08-26 17:02:37 Adding relation filebeat:beats-host <-> etcd:juju-info
2016-08-26 17:02:37 DEBUG 2016-08-26 17:02:37 Adding relation topbeat:beats-host <-> etcd:juju-info
2016-08-26 17:07:54 DEBUG 2016-08-26 17:07:54 Exposing application 'kibana'
2016-08-26 17:07:54 DEBUG 2016-08-26 17:07:54 Exposing application 'kubernetes'
2016-08-26 17:07:55 DEBUG 2016-08-26 17:07:55 Deployment complete in 816.35 seconds
2016-08-26 17:07:55 DEBUG Destroying application filebeat
2016-08-26 17:07:56 DEBUG Destroying application elasticsearch
2016-08-26 17:07:57 DEBUG Destroying application etcd
2016-08-26 17:07:57 DEBUG Destroying application kubernetes
2016-08-26 17:07:58 DEBUG Destroying application topbeat
2016-08-26 17:07:58 DEBUG Destroying application kibana
2016-08-26 17:08:00 DEBUG No unit errors found.
2016-08-26 17:08:00 DEBUG Terminating machines forcefully
2016-08-26 17:08:00 DEBUG Terminating machine 1
2016-08-26 17:08:01 DEBUG Terminating machine 2
2016-08-26 17:08:03 DEBUG Terminating machine 3
2016-08-26 17:08:04 DEBUG Terminating machine 4
2016-08-26 17:08:06 DEBUG Terminating machine 5
2016-08-26 17:08:07 DEBUG Terminating machine 6
2016-08-26 17:08:09 DEBUG Terminating machine 7
2016-08-26 17:08:10 DEBUG Terminating machine 8
2016-08-26 17:08:12 DEBUG Terminating machine 9
2016-08-26 17:08:13 INFO Waiting for machine termination
2016-08-26 17:08:15 ERROR signal only works in main thread
Traceback (most recent call last):
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/bundletester/builder.py", line 104, in reset
force_terminate=True
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/deployer/env/go.py", line 135, in reset
status, watch, terminate_delay, force_terminate)
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/deployer/env/go.py", line 182, in _terminate_machines
self.client.wait_for_no_machines(terminate_wait, callback)
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/jujuclient/environment.py", line 297, in wait_for_no_machines
return self.watch_module().WaitForNoMachines(watch).run(callback)
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/jujuclient/watch.py", line 162, in run
for change_set in self.watch:
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/jujuclient/watch.py", line 123, in next
with self._set_alarm(self.time_remaining()):
File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/jujuclient/watch.py", line 147, in _set_alarm
signal.signal(signal.SIGALRM, signal.SIG_DFL)
ValueError: signal only works in main thread
2016-08-26 17:08:16 DEBUG Retrying environment reset...
2016-08-26 17:08:16 DEBUG Destroying application filebeat
2016-08-26 17:08:16 DEBUG Destroying application elasticsearch
2016-08-26 17:08:17 DEBUG Destroying application etcd
2016-08-26 17:08:17 DEBUG Destroying application kubernetes
2016-08-26 17:08:17 DEBUG Destroying application topbeat
2016-08-26 17:08:17 DEBUG Destroying application kibana
2016-08-26 17:08:18 DEBUG No unit errors found.
2016-08-26 17:08:18 DEBUG Terminating machines forcefully
2016-08-26 17:08:18 DEBUG Terminating machine 1
2016-08-26 17:08:19 DEBUG Terminating machine 2
2016-08-26 17:08:21 DEBUG Terminating machine 3
2016-08-26 17:08:22 DEBUG Terminating machine 4
2016-08-26 17:08:24 DEBUG Terminating machine 5
2016-08-26 17:08:25 DEBUG Terminating machine 6
2016-08-26 17:08:27 DEBUG Terminating machine 7
2016-08-26 17:08:28 DEBUG Terminating machine 8
2016-08-26 17:08:30 DEBUG Terminating machine 9
2016-08-26 17:08:31 INFO Waiting for machine termination
2016-08-26 17:08:34 ERROR signal only works in main thread
Traceback (most recent call last):
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/bundletester/builder.py", line 104, in reset
force_terminate=True
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/deployer/env/go.py", line 135, in reset
status, watch, terminate_delay, force_terminate)
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/deployer/env/go.py", line 182, in _terminate_machines
self.client.wait_for_no_machines(terminate_wait, callback)
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/jujuclient/environment.py", line 297, in wait_for_no_machines
return self.watch_module().WaitForNoMachines(watch).run(callback)
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/jujuclient/watch.py", line 162, in run
for change_set in self.watch:
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/jujuclient/watch.py", line 123, in next
with self._set_alarm(self.time_remaining()):
File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/jujuclient/watch.py", line 147, in _set_alarm
signal.signal(signal.SIGALRM, signal.SIG_DFL)
ValueError: signal only works in main thread
2016-08-26 17:08:35 DEBUG Retrying environment reset...
2016-08-26 17:08:36 DEBUG Destroying application filebeat
2016-08-26 17:08:36 DEBUG Destroying application elasticsearch
2016-08-26 17:08:37 DEBUG Destroying application etcd
2016-08-26 17:08:37 DEBUG Destroying application kubernetes
2016-08-26 17:08:38 DEBUG Destroying application topbeat
2016-08-26 17:08:38 DEBUG Destroying application kibana
2016-08-26 17:08:38 DEBUG No unit errors found.
2016-08-26 17:08:38 DEBUG Terminating machines forcefully
2016-08-26 17:08:38 DEBUG Terminating machine 4
2016-08-26 17:08:41 DEBUG Terminating machine 5
2016-08-26 17:08:43 DEBUG Terminating machine 6
2016-08-26 17:08:45 DEBUG Terminating machine 7
2016-08-26 17:08:48 DEBUG Terminating machine 8
2016-08-26 17:08:49 DEBUG Terminating machine 9
2016-08-26 17:08:51 INFO Waiting for machine termination
2016-08-26 17:08:53 ERROR signal only works in main thread
Traceback (most recent call last):
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/bundletester/builder.py", line 104, in reset
force_terminate=True
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/deployer/env/go.py", line 135, in reset
status, watch, terminate_delay, force_terminate)
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/deployer/env/go.py", line 182, in _terminate_machines
self.client.wait_for_no_machines(terminate_wait, callback)
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/jujuclient/environment.py", line 297, in wait_for_no_machines
return self.watch_module().WaitForNoMachines(watch).run(callback)
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/jujuclient/watch.py", line 162, in run
for change_set in self.watch:
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/jujuclient/watch.py", line 123, in next
with self._set_alarm(self.time_remaining()):
File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/jujuclient/watch.py", line 147, in _set_alarm
signal.signal(signal.SIGALRM, signal.SIG_DFL)
ValueError: signal only works in main thread
2016-08-26 17:08:54 DEBUG Retrying environment reset...
2016-08-26 17:08:54 DEBUG Destroying application topbeat
2016-08-26 17:08:54 DEBUG Destroying application etcd
2016-08-26 17:08:55 DEBUG Destroying application elasticsearch
2016-08-26 17:08:55 DEBUG Destroying application filebeat
2016-08-26 17:08:55 DEBUG Destroying application kubernetes
2016-08-26 17:08:55 DEBUG No unit errors found.
2016-08-26 17:08:55 DEBUG Terminating machines forcefully
2016-08-26 17:08:55 DEBUG Terminating machine 8
2016-08-26 17:08:57 ERROR Error terminating machine u'8'
2016-08-26 17:08:57 ERROR Command (juju terminate-machine -e aws 8 --force) Output:
ERROR no machines were destroyed: machine 8 does not exist
2016-08-26 17:08:57 DEBUG Terminating machine 9
2016-08-26 17:08:58 INFO Waiting for machine termination
2016-08-26 17:09:00 ERROR signal only works in main thread
Traceback (most recent call last):
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/bundletester/builder.py", line 104, in reset
force_terminate=True
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/deployer/env/go.py", line 135, in reset
status, watch, terminate_delay, force_terminate)
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/deployer/env/go.py", line 182, in _terminate_machines
self.client.wait_for_no_machines(terminate_wait, callback)
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/jujuclient/environment.py", line 297, in wait_for_no_machines
return self.watch_module().WaitForNoMachines(watch).run(callback)
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/jujuclient/watch.py", line 162, in run
for change_set in self.watch:
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/jujuclient/watch.py", line 123, in next
with self._set_alarm(self.time_remaining()):
File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/jujuclient/watch.py", line 147, in _set_alarm
signal.signal(signal.SIGALRM, signal.SIG_DFL)
ValueError: signal only works in main thread
2016-08-26 17:09:00 ERROR Timeout exceeded. Failed to reset environment in 60 seconds.
Traceback (most recent call last):
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/bundletester/runner.py", line 179, in _run_test
self.builder.reset()
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/bundletester/builder.py", line 119, in reset
' in %s seconds.' % timeout)
RuntimeError: Timeout exceeded. Failed to reset environment in 60 seconds.
2016-08-26 17:09:00 DEBUG Updating JUJU_ENV: "aws" -> ""
2016-08-26 17:09:00 INFO Starting new HTTPS connection (1): api.jujucharms.com
2016-08-26 17:09:00 DEBUG "GET /charmstore/v4/observable-kubernetes/meta/id-revision HTTP/1.1" 200 14
2016-08-26 17:09:00 ERROR Exception (aws):
Traceback (most recent call last):
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/cloudweatherreport/run.py", line 124, in run_plan
test_result = self.run_tests(test_plan, env)
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/cloudweatherreport/run.py", line 176, in run_tests
bundletester_output.getvalue())
File "/home/jackal/workspace/charms/cloud-weather-report/myvenv/local/lib/python2.7/site-packages/cloudweatherreport/model.py", line 512, in from_bundletester_output
name=test['test'],
KeyError: 'test'
|