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 | ppa recreate: /home/bac/bzr/juju-quickstart/.tox/ppa
ppa installdeps: mock==1.0.1, nose==1.3.4, websocket-client==0.18.0, jujuclient==0.50.1, jujubundlelib==0.1.8, urwid==1.2.1
ppa inst: /home/bac/bzr/juju-quickstart/.tox/dist/juju-quickstart-2.2.0.zip
ppa runtests: PYTHONHASHSEED='2935067409'
ppa runtests: commands[0] | nosetests --quiet
======================================================================
FAIL: test_bundle_deployment (quickstart.tests.functional.test_functional.TestFunctional)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bac/bzr/juju-quickstart/quickstart/tests/functional/test_functional.py", line 169, in test_bundle_deployment
self._check_bundle('mediawiki-single/7')
File "/home/bac/bzr/juju-quickstart/quickstart/tests/functional/test_functional.py", line 180, in _check_bundle
self.assertEqual(0, retcode)
AssertionError: 0 != 1
-------------------- >> begin captured logging << --------------------
root: DEBUG: running the following: juju switch
root: DEBUG: retcode: 0 | output: 'local\n' | error: ''
root: DEBUG: running the following: /usr/bin/juju status -e local
root: DEBUG: retcode: 1 | output: '' | error: 'ERROR Unable to connect to environment "local".\nPlease check your credentials or use \'juju bootstrap\' to create a new environment.\n\nError details:\nmissing namespace, config not prepared\n\n'
root: DEBUG: running the following: /home/bac/bzr/juju-quickstart/juju-quickstart -e local --distro-only --no-browser
root: DEBUG: retcode: 1 | output: 'juju quickstart v2.2.0\nbootstrapping the local environment\nsudo privileges will be required to bootstrap the environment\nretrieving the environment status\nretrieving the Juju API address\nretrieving the Juju environment credentials\nconnecting to wss://localhost:17070/environment/b8353e5c-a682-42be-8d1e-edc9cce4790b/api\nenvironment type: local\nbootstrap node series: utopic\ncharm URL: cs:trusty/juju-gui-28\nrequesting juju-gui deployment\njuju-gui deployment request accepted\nexposing service juju-gui\nrequesting new unit deployment\njuju-gui/0 deployment request accepted\nmachine 1 provisioning is pending\nmachine 1 is started\nunit placed on 10.0.3.162\n' | error: 'juju-quickstart: error: juju-gui/0 is in an error state: error: hook failed: "install"\n'
root: DEBUG: running the following: /home/bac/bzr/juju-quickstart/juju-quickstart -e local --distro-only --no-browser mediawiki-single/7
root: DEBUG: retcode: 1 | output: 'juju quickstart v2.2.0\ncontents loaded for bundle mediawiki-single/7 (services: 2)\nreusing the already bootstrapped local environment\nretrieving the environment status\nretrieving the Juju environment credentials\nconnecting to wss://localhost:17070/environment/b8353e5c-a682-42be-8d1e-edc9cce4790b/api\nenvironment type: local\nbootstrap node series: utopic\ncharm URL: cs:trusty/juju-gui-28\nservice juju-gui already deployed\nreusing unit juju-gui/0\n' | error: 'juju-quickstart: error: juju-gui/0 is in an error state: error: hook failed: "install"\n'
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: test_executed (quickstart.tests.functional.test_functional.TestFunctional)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bac/bzr/juju-quickstart/quickstart/tests/functional/test_functional.py", line 133, in test_executed
self.assertEqual(0, self.retcode)
AssertionError: 0 != 1
======================================================================
FAIL: test_gui_started (quickstart.tests.functional.test_functional.TestFunctional)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bac/bzr/juju-quickstart/quickstart/tests/functional/test_functional.py", line 148, in test_gui_started
self.assertEqual('started', unit['agent-state'])
AssertionError: u'started' != u'error'
- started
+ error
-------------------- >> begin captured logging << --------------------
root: DEBUG: running the following: /usr/bin/juju status -e local --format json
root: DEBUG: retcode: 0 | output: '{"environment":"local","machines":{"0":{"agent-state":"started","agent-version":"1.23.3.1","dns-name":"localhost","instance-id":"localhost","series":"utopic","state-server-member-status":"has-vote"},"1":{"agent-state":"started","agent-version":"1.23.3.1","dns-name":"10.0.3.162","instance-id":"bac-local-machine-1","series":"trusty","hardware":"arch=amd64"}},"services":{"juju-gui":{"charm":"cs:trusty/juju-gui-28","exposed":true,"units":{"juju-gui/0":{"agent-state":"error","agent-state-info":"hook failed: \\"install\\"","agent-version":"1.23.3.1","machine":"1","public-address":"10.0.3.162"}}}}}\n' | error: ''
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: test_idempotent (quickstart.tests.functional.test_functional.TestFunctional)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bac/bzr/juju-quickstart/quickstart/tests/functional/test_functional.py", line 154, in test_idempotent
self.assertEqual(0, retcode)
AssertionError: 0 != 1
-------------------- >> begin captured logging << --------------------
root: DEBUG: running the following: /home/bac/bzr/juju-quickstart/juju-quickstart -e local --distro-only --no-browser
root: DEBUG: retcode: 1 | output: 'juju quickstart v2.2.0\nreusing the already bootstrapped local environment\nretrieving the environment status\nretrieving the Juju environment credentials\nconnecting to wss://localhost:17070/environment/b8353e5c-a682-42be-8d1e-edc9cce4790b/api\nenvironment type: local\nbootstrap node series: utopic\ncharm URL: cs:trusty/juju-gui-28\nservice juju-gui already deployed\nreusing unit juju-gui/0\n' | error: 'juju-quickstart: error: juju-gui/0 is in an error state: error: hook failed: "install"\n'
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: test_uncommitted_bundle_deployment (quickstart.tests.functional.test_functional.TestFunctional)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bac/bzr/juju-quickstart/quickstart/tests/functional/test_functional.py", line 188, in test_uncommitted_bundle_deployment
self.assertEqual(0, retcode)
AssertionError: 0 != 1
-------------------- >> begin captured logging << --------------------
root: DEBUG: running the following: /home/bac/bzr/juju-quickstart/juju-quickstart -e local --distro-only --no-browser -u u/openstack-charmers/openstack/25
root: DEBUG: retcode: 1 | output: 'juju quickstart v2.2.0\ncontents loaded for bundle u/openstack-charmers/openstack/25 (services: 15)\nreusing the already bootstrapped local environment\nretrieving the environment status\nretrieving the Juju environment credentials\nconnecting to wss://localhost:17070/environment/b8353e5c-a682-42be-8d1e-edc9cce4790b/api\nenvironment type: local\nbootstrap node series: utopic\ncharm URL: cs:trusty/juju-gui-28\nservice juju-gui already deployed\nreusing unit juju-gui/0\n' | error: 'juju-quickstart: error: juju-gui/0 is in an error state: error: hook failed: "install"\n'
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: test_user_owned_bundle_deployment (quickstart.tests.functional.test_functional.TestFunctional)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bac/bzr/juju-quickstart/quickstart/tests/functional/test_functional.py", line 175, in test_user_owned_bundle_deployment
self._check_bundle('u/kubernetes/kubernetes-cluster/3')
File "/home/bac/bzr/juju-quickstart/quickstart/tests/functional/test_functional.py", line 180, in _check_bundle
self.assertEqual(0, retcode)
AssertionError: 0 != 1
-------------------- >> begin captured logging << --------------------
root: DEBUG: running the following: /home/bac/bzr/juju-quickstart/juju-quickstart -e local --distro-only --no-browser u/kubernetes/kubernetes-cluster/3
root: DEBUG: retcode: 1 | output: 'juju quickstart v2.2.0\ncontents loaded for bundle u/kubernetes/kubernetes-cluster/3 (services: 5)\nreusing the already bootstrapped local environment\nretrieving the environment status\nretrieving the Juju environment credentials\nconnecting to wss://localhost:17070/environment/b8353e5c-a682-42be-8d1e-edc9cce4790b/api\nenvironment type: local\nbootstrap node series: utopic\ncharm URL: cs:trusty/juju-gui-28\nservice juju-gui already deployed\nreusing unit juju-gui/0\n' | error: 'juju-quickstart: error: juju-gui/0 is in an error state: error: hook failed: "install"\n'
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 849 tests in 281.245s
FAILED (failures=6)
ERROR: InvocationError: '/home/bac/bzr/juju-quickstart/.tox/ppa/bin/nosetests --quiet'
trusty recreate: /home/bac/bzr/juju-quickstart/.tox/trusty
trusty installdeps: mock==1.0.1, nose==1.3.4, websocket-client==0.12.0, jujuclient==0.17.5, jujubundlelib==0.1.8, PyYAML==3.10, urwid==1.1.1
trusty inst: /home/bac/bzr/juju-quickstart/.tox/dist/juju-quickstart-2.2.0.zip
trusty runtests: PYTHONHASHSEED='2935067409'
trusty runtests: commands[0] | nosetests --quiet
----------------------------------------------------------------------
Ran 849 tests in 417.619s
OK
utopic recreate: /home/bac/bzr/juju-quickstart/.tox/utopic
utopic installdeps: mock==1.0.1, nose==1.3.4, websocket-client==0.12.0, jujuclient==0.17.5, jujubundlelib==0.1.8, PyYAML==3.11, urwid==1.2.1
utopic inst: /home/bac/bzr/juju-quickstart/.tox/dist/juju-quickstart-2.2.0.zip
utopic runtests: PYTHONHASHSEED='2935067409'
utopic runtests: commands[0] | nosetests --quiet
----------------------------------------------------------------------
Ran 849 tests in 491.772s
OK
vivid recreate: /home/bac/bzr/juju-quickstart/.tox/vivid
vivid installdeps: mock==1.0.1, nose==1.3.4, websocket-client==0.18.0, jujuclient==0.18.5, jujubundlelib==0.1.8, PyYAML==3.11, urwid==1.2.1
vivid inst: /home/bac/bzr/juju-quickstart/.tox/dist/juju-quickstart-2.2.0.zip
vivid runtests: PYTHONHASHSEED='2935067409'
vivid runtests: commands[0] | nosetests --quiet
----------------------------------------------------------------------
Ran 849 tests in 685.660s
OK
___________________________________________________________ summary ____________________________________________________________
pypi: commands succeeded
ERROR: ppa: commands failed
trusty: commands succeeded
utopic: commands succeeded
vivid: commands succeeded
Makefile:49: recipe for target 'check' failed
make[1]: *** [check] Error 1
make[1]: Leaving directory '/home/bac/bzr/juju-quickstart'
Makefile:71: recipe for target 'fcheck' failed
make: *** [fcheck] Error 2
|