Ubuntu Pastebin

Paste from beisner at Wed, 5 Aug 2015 16:46:38 +0000

Download as text
  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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
INFO:root:Workspace dir: /var/lib/jenkins/workspace/charm_amulet_test
INFO:root:Reading file: Makefile
INFO:root:Searching for: ['@juju test', '.venv/bin/bundletester']
INFO:root:command:  make -f Makefile functional_test
Starting amulet tests...
juju-test INFO    : Starting test run on osci-sv05 using Juju 1.24.3
juju-test DEBUG   : Loading configuration options from testplan YAML
juju-test DEBUG   : Creating a new Conductor
juju-test.conductor DEBUG   : Starting a bootstrap for osci-sv05, kill after 300
juju-test.conductor DEBUG   : Running the following: juju bootstrap -e osci-sv05
Bootstrapping environment "osci-sv05"
Starting new instance for initial state server
Launching instance
 - ed02ef78-98b7-4a18-8047-4c8fcd2e4703
Installing Juju agent on bootstrap instance
Waiting for address
Attempting to connect to 172.17.105.122:22
Logging to /var/log/cloud-init-output.log on remote host
Running apt-get update
Running apt-get upgrade
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Installing package: cloud-utils
Installing package: cloud-image-utils
Installing package: tmux
Fetching tools: curl -sSfw 'tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' --retry 10 -o $bin/tools.tar.gz <[https://streams.canonical.com/juju/tools/releases/juju-1.24.3-trusty-amd64.tgz]>
Bootstrapping Juju machine agent
Starting Juju machine agent (jujud-machine-0)
Bootstrap agent installed
Bootstrap complete
juju-test.conductor DEBUG   : Waiting for bootstrap
juju-test.conductor DEBUG   : Still not bootstrapped
juju-test.conductor DEBUG   : Running the following: juju status -e osci-sv05
juju-test.conductor DEBUG   : State for 1.24.3: started
juju-test.conductor.00_setup.sh DEBUG   : Running 00_setup.sh (tests/00_setup.sh)
+ dpkg -s amulet
+ [ 0 -ne 0 ]
+ sudo apt-get install -y python python-pika python3-requests python3-setuptools
+ [[ -n http://squid.internal:3128/ ]]
tests/00_setup.sh: 19: tests/00_setup.sh: [[: not found
+ sudo easy_install3 python3-pika
juju-test.conductor.00_setup.sh DEBUG   : Package: amulet
Status: install ok installed
Priority: optional
Section: python
Installed-Size: 26
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: all
Version: 1.10.1-0ubuntu1~ubuntu14.04.1~ppa1
Depends: python3-amulet (>= 1.10.0), python-amulet (>= 1.10.0)
Description: Testing harness for Juju Charms
Original-Maintainer: Marco Ceppi <marco@ceppi.net>
Reading package lists...
Building dependency tree...
Reading state information...
python is already the newest version.
python-pika is already the newest version.
python3-requests is already the newest version.
python3-setuptools is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 125 not upgraded.
Searching for python3-pika
Best match: python3-pika 0.9.14
Processing python3_pika-0.9.14-py3.4.egg
python3-pika 0.9.14 is already the active version in easy-install.pth

Using /usr/local/lib/python3.4/dist-packages/python3_pika-0.9.14-py3.4.egg
Processing dependencies for python3-pika
Finished processing dependencies for python3-pika

juju-test.conductor.00_setup.sh RESULT  : PASS
juju-test.conductor DEBUG   : Tearing down osci-sv05 juju environment
juju-test.conductor DEBUG   : Calling "juju destroy-environment -y osci-sv05"
juju-test.conductor DEBUG   : Starting a bootstrap for osci-sv05, kill after 300
juju-test.conductor DEBUG   : Running the following: juju bootstrap -e osci-sv05
Bootstrapping environment "osci-sv05"
Starting new instance for initial state server
Launching instance
 - 2732a09e-89fd-43fe-a3a7-e69a00f18551
Installing Juju agent on bootstrap instance
Waiting for address
Attempting to connect to 172.17.105.123:22
Logging to /var/log/cloud-init-output.log on remote host
Running apt-get update
Running apt-get upgrade
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Installing package: cloud-utils
Installing package: cloud-image-utils
Installing package: tmux
Fetching tools: curl -sSfw 'tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' --retry 10 -o $bin/tools.tar.gz <[https://streams.canonical.com/juju/tools/releases/juju-1.24.3-trusty-amd64.tgz]>
Bootstrapping Juju machine agent
Starting Juju machine agent (jujud-machine-0)
Bootstrap agent installed
Bootstrap complete
juju-test.conductor DEBUG   : Waiting for bootstrap
juju-test.conductor DEBUG   : Still not bootstrapped
juju-test.conductor DEBUG   : Running the following: juju status -e osci-sv05
juju-test.conductor DEBUG   : State for 1.24.3: started
juju-test.conductor.10-outofthebox-testing DEBUG   : Running 10-outofthebox-testing (tests/10-outofthebox-testing)
2015-08-04 18:19:20 Starting deployment of osci-sv05
2015-08-04 18:19:27 Deploying services...
2015-08-04 18:19:27  Deploying service rabbitmq-server using local:trusty/rabbitmq-server
2015-08-04 18:21:59 Adding relations...
2015-08-04 18:21:59  Exposing service 'rabbitmq-server'
2015-08-04 18:21:59 Deployment complete in 159.13 seconds
juju-test.conductor.10-outofthebox-testing DEBUG   : 
juju-test.conductor.10-outofthebox-testing RESULT  : PASS
juju-test.conductor DEBUG   : Tearing down osci-sv05 juju environment
juju-test.conductor DEBUG   : Calling "juju destroy-environment -y osci-sv05"
juju-test.conductor DEBUG   : Starting a bootstrap for osci-sv05, kill after 300
juju-test.conductor DEBUG   : Running the following: juju bootstrap -e osci-sv05
Bootstrapping environment "osci-sv05"
Starting new instance for initial state server
Launching instance
 - 4bff950a-51a0-430f-aacd-6b2f2aae675a
Installing Juju agent on bootstrap instance
Waiting for address
Attempting to connect to 172.17.105.125:22
Logging to /var/log/cloud-init-output.log on remote host
Running apt-get update
Running apt-get upgrade
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Installing package: cloud-utils
Installing package: cloud-image-utils
Installing package: tmux
Fetching tools: curl -sSfw 'tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' --retry 10 -o $bin/tools.tar.gz <[https://streams.canonical.com/juju/tools/releases/juju-1.24.3-trusty-amd64.tgz]>
Bootstrapping Juju machine agent
Starting Juju machine agent (jujud-machine-0)
Bootstrap agent installed
Bootstrap complete
juju-test.conductor DEBUG   : Waiting for bootstrap
juju-test.conductor DEBUG   : Still not bootstrapped
juju-test.conductor DEBUG   : Running the following: juju status -e osci-sv05
juju-test.conductor DEBUG   : State for 1.24.3: started
juju-test.conductor.10_basic_deploy_test.py DEBUG   : Running 10_basic_deploy_test.py (tests/10_basic_deploy_test.py)
2015-08-04 18:24:28 Starting deployment of osci-sv05
2015-08-04 18:24:29 Deploying services...
2015-08-04 18:24:29  Deploying service rabbitmq-server using local:trusty/rabbitmq-server
2015-08-04 18:27:03 Adding relations...
2015-08-04 18:27:04  Exposing service 'rabbitmq-server'
2015-08-04 18:27:04 Deployment complete in 155.82 seconds
juju-log: DEBUG: initializing service ca
juju-test.conductor.10_basic_deploy_test.py DEBUG   : The rabbitmq-server has been successfully deployed.
rabbitmqctl status
Status of node 'rabbit@juju-osci-sv05-machine-1' ...
[{pid,19854},
 {running_applications,[{rabbit,"RabbitMQ","3.2.4"},
                        {ssl,"Erlang/OTP SSL application","5.3.2"},
                        {public_key,"Public key infrastructure","0.21"},
                        {crypto,"CRYPTO version 2","3.2"},
                        {asn1,"The Erlang ASN1 compiler version 2.0.4",
                              "2.0.4"},
                        {os_mon,"CPO  CXC 138 46","2.2.14"},
                        {xmerl,"XML parser","1.3.5"},
                        {mnesia,"MNESIA  CXC 138 12","4.11"},
                        {sasl,"SASL  CXC 138 11","2.3.4"},
                        {stdlib,"ERTS  CXC 138 10","1.19.4"},
                        {kernel,"ERTS  CXC 138 10","2.16.4"}]},
 {os,{unix,linux}},
 {erlang_version,"Erlang R16B03 (erts-5.10.4) [source] [64-bit] [async-threads:30] [kernel-poll:true]\n"},
 {memory,[{total,40119576},
          {connection_procs,2632},
          {queue_procs,5264},
          {plugins,0},
          {other_proc,13972288},
          {mnesia,64064},
          {mgmt_db,0},
          {msg_index,23240},
          {other_ets,764848},
          {binary,11440},
          {code,16582727},
          {atom,602729},
          {other_system,8090344}]},
 {vm_memory_high_watermark,0.4},
 {vm_memory_limit,628308377},
 {disk_free_limit,50000000},
 {disk_free,8852365312},
 {file_descriptors,[{total_limit,65436},
                    {total_used,4},
                    {sockets_limit,58890},
                    {sockets_used,2}]},
 {processes,[{limit,1048576},{used,135}]},
 {run_queue,0},
 {uptime,14}]
...done.
The rabbitmq-server is running on 172.17.105.126
Testing ssl connection to rabbitmq-server.
Connected to the rabbitmq-server 172.17.105.126:5671 using ssl!
The rabbitmq-server passed the basic deploy test!

juju-test.conductor.10_basic_deploy_test.py RESULT  : PASS
juju-test.conductor DEBUG   : Tearing down osci-sv05 juju environment
juju-test.conductor DEBUG   : Calling "juju destroy-environment -y osci-sv05"
juju-test.conductor DEBUG   : Starting a bootstrap for osci-sv05, kill after 300
juju-test.conductor DEBUG   : Running the following: juju bootstrap -e osci-sv05
Bootstrapping environment "osci-sv05"
Starting new instance for initial state server
Launching instance
 - eb751c9e-6f32-4996-8503-fb3c9d052df5
Installing Juju agent on bootstrap instance
Waiting for address
Attempting to connect to 172.17.105.127:22
Logging to /var/log/cloud-init-output.log on remote host
Running apt-get update
Running apt-get upgrade
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Installing package: cloud-utils
Installing package: cloud-image-utils
Installing package: tmux
Fetching tools: curl -sSfw 'tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' --retry 10 -o $bin/tools.tar.gz <[https://streams.canonical.com/juju/tools/releases/juju-1.24.3-trusty-amd64.tgz]>
Bootstrapping Juju machine agent
Starting Juju machine agent (jujud-machine-0)
Bootstrap agent installed
Bootstrap complete
juju-test.conductor DEBUG   : Waiting for bootstrap
juju-test.conductor DEBUG   : Still not bootstrapped
juju-test.conductor DEBUG   : Running the following: juju status -e osci-sv05
juju-test.conductor DEBUG   : State for 1.24.3: started
juju-test.conductor.20_deploy_relations_test.py DEBUG   : Running 20_deploy_relations_test.py (tests/20_deploy_relations_test.py)
2015-08-04 18:30:04 Starting deployment of osci-sv05
2015-08-04 18:30:54 Deploying services...
2015-08-04 18:30:54  Deploying service ceph using local:trusty/ceph
2015-08-04 18:30:59  Deploying service cinder using local:trusty/cinder
2015-08-04 18:31:04  Deploying service hacluster using local:trusty/hacluster
2015-08-04 18:31:07  Deploying service rabbitmq-server using local:trusty/rabbitmq-server
2015-08-04 18:31:18 Config specifies num units for subordinate: hacluster
2015-08-04 18:35:04 Adding relations...
2015-08-04 18:35:04  Adding relation rabbitmq-server:ceph <-> ceph:client
2015-08-04 18:35:05  Adding relation rabbitmq-server:amqp <-> cinder:amqp
2015-08-04 18:35:05  Adding relation rabbitmq-server:ha <-> hacluster:ha
2015-08-04 18:36:05  Exposing service 'rabbitmq-server'
2015-08-04 18:36:06 Deployment complete in 361.38 seconds
juju-test.conductor.20_deploy_relations_test.py DEBUG   : The environment successfully deployed.
rabbit relation to ceph:
private-address 172.17.105.130
rabbit relation to amqp:
private-address 172.17.105.130
password phdyspYfWqNbpZFPLcxhPH3FjxbFHmN9pJShzW5CgCZCjkGxTfFpgfdKMkw2mbp4
hostname 172.17.105.130
ceph relation to rabbitmq-server:
private-address 172.17.105.128
cinder relation to rabbitmq-server:
private-address 172.17.105.129
vhost openstack
username cinder
['/usr/bin/python', '/var/lib/jenkins/checkout/rabbitmq-server/tests/amqp_tester.py', '172.17.105.130', '5672', 'Message #1 to send using the AMPQ protocol 2015-08-04 06:37:12 PM']
['/usr/bin/python', '/var/lib/jenkins/checkout/rabbitmq-server/tests/amqp_tester.py', '172.17.105.130', '5672']
The AMQP test to 172.17.105.130:5672 completed successfully.
rabbitmqctl cluster_status
Cluster status of node 'rabbit@juju-osci-sv05-machine-3' ...
[{nodes,[{disc,['rabbit@juju-osci-sv05-machine-3']}]},
 {running_nodes,['rabbit@juju-osci-sv05-machine-3']},
 {partitions,[]}]
...done.
The rabbitmq-server cluster status is OK.
rabbit relation to ceph:
private-address 172.17.105.131
rabbit relation to amqp:
private-address 172.17.105.131
password phdyspYfWqNbpZFPLcxhPH3FjxbFHmN9pJShzW5CgCZCjkGxTfFpgfdKMkw2mbp4
hostname 172.17.105.131
ceph relation to rabbitmq-server:
private-address 172.17.105.128
cinder relation to rabbitmq-server:
private-address 172.17.105.129
vhost openstack
username cinder
['/usr/bin/python', '/var/lib/jenkins/checkout/rabbitmq-server/tests/amqp_tester.py', '172.17.105.131', '5672', 'Message #2 to send using the AMPQ protocol 2015-08-04 06:37:36 PM']
['/usr/bin/python', '/var/lib/jenkins/checkout/rabbitmq-server/tests/amqp_tester.py', '172.17.105.131', '5672']
The AMQP test to 172.17.105.131:5672 completed successfully.
rabbitmqctl cluster_status
Cluster status of node 'rabbit@juju-osci-sv05-machine-4' ...
[{nodes,[{disc,['rabbit@juju-osci-sv05-machine-4']}]},
 {running_nodes,['rabbit@juju-osci-sv05-machine-4']},
 {partitions,[]}]
...done.
The rabbitmq-server cluster status is OK.
['/usr/bin/python', '/var/lib/jenkins/checkout/rabbitmq-server/tests/amqp_tester.py', '172.17.105.130', '5672', 'Message #3 sent from 172.17.105.130 using the AMQP protocol.']
['/usr/bin/python', '/var/lib/jenkins/checkout/rabbitmq-server/tests/amqp_tester.py', '172.17.105.131', '5672']
b''
Server 172.17.105.131 did not receive the AMQP message "Message #3 sent from 172.17.105.130 using the AMQP protocol."

juju-test.conductor.20_deploy_relations_test.py DEBUG   : Got exit code: 1
juju-test.conductor.20_deploy_relations_test.py RESULT  : FAIL
juju-test.conductor INFO    : Breaking here as requested by --set-e
juju-test INFO    : Results: 3 passed, 1 failed, 0 errored
ERROR subprocess encountered error code 1
make: *** [functional_test] Error 1
ERROR:root:Make target returned non-zero.
Download as text