Ubuntu Pastebin

Paste from gnuoy at Mon, 28 Sep 2015 10:44:10 +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
t$ tox
lint create: /home/liam/branches/merges/glance-next/.tox/lint
lint installdeps: -r/home/liam/branches/merges/glance-next/requirements/requirements-trusty.txt, -r/home/liam/branches/merges/glance-next/requirements/test-requirements.txt
lint runtests: commands[0] | flake8 actions hooks unit_tests tests
lint runtests: commands[1] | charm proof
I: metadata name (glance) must match directory name (glance-next) exactly for local deployment.
I: config.yaml: option ssl_key has no default value
I: config.yaml: option os-admin-network has no default value
I: config.yaml: option haproxy-server-timeout has no default value
I: config.yaml: option vip has no default value
I: config.yaml: option ssl_ca has no default value
I: config.yaml: option os-public-network has no default value
I: config.yaml: option haproxy-client-timeout has no default value
I: config.yaml: option os-public-hostname has no default value
I: config.yaml: option registry-config-flags has no default value
I: config.yaml: option api-config-flags has no default value
I: config.yaml: option ssl_cert has no default value
I: config.yaml: option os-internal-network has no default value
I: config.yaml: option openstack-origin-git has no default value
py27-trusty create: /home/liam/branches/merges/glance-next/.tox/py27-trusty
py27-trusty installdeps: -r/home/liam/branches/merges/glance-next/requirements/requirements-trusty.txt, -r/home/liam/branches/merges/glance-next/requirements/test-requirements.txt
py27-trusty runtests: commands[0] | ostestr
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
${PYTHON:-python} -m subunit.run discover -t ./ ./unit_tests --list 
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
${PYTHON:-python} -m subunit.run discover -t ./ ./unit_tests  --load-list /tmp/tmpFvhc9Q
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
${PYTHON:-python} -m subunit.run discover -t ./ ./unit_tests  --load-list /tmp/tmpiG7Tyr
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
${PYTHON:-python} -m subunit.run discover -t ./ ./unit_tests  --load-list /tmp/tmpLEPuF1
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
${PYTHON:-python} -m subunit.run discover -t ./ ./unit_tests  --load-list /tmp/tmpJvP8YY
{1} unit_tests.test_actions.MainTestCase.test_failing_action [0.040883s] ... ok
{1} unit_tests.test_actions_git_reinstall.TestGlanceActions.test_git_reinstall [0.046178s] ... ok
{0} unit_tests.test_actions.MainTestCase.test_unknown_action [0.049770s] ... ok
juju-log: Upgrading OpenStack release
{1} unit_tests.test_actions_openstack_upgrade.TestGlanceUpgradeActions.test_openstack_upgrade_exception [0.074978s] ... ok
{3} unit_tests.test_actions.PauseTestCase.test_pauses_services [0.096674s] ... ok
{2} unit_tests.test_actions.MainTestCase.test_invokes_action [0.069219s] ... ok
{0} unit_tests.test_actions.PauseTestCase.test_status_message [0.052559s] ... ok
{1} unit_tests.test_glance_contexts.TestGlanceContexts.test_swift_related [0.058294s] ... ok
{3} unit_tests.test_actions.ResumeTestCase.test_resumes_services [0.047484s] ... ok
{2} unit_tests.test_actions.PauseTestCase.test_bails_out_early_on_error [0.060095s] ... ok
{0} unit_tests.test_actions.PauseTestCase.test_status_mode [0.064573s] ... ok
{3} unit_tests.test_actions_git_reinstall.TestGlanceActions.test_git_reinstall_exception [0.041049s] ... ok
{2} unit_tests.test_actions.ResumeTestCase.test_bails_out_early_on_error [0.040428s] ... ok
{3} unit_tests.test_actions_git_reinstall.TestGlanceActions.test_git_reinstall_not_configured [0.045389s] ... ok
{1} unit_tests.test_glance_relations.GlanceRelationTests.test_amqp_changed_missing_relation_data [0.104425s] ... ok
{2} unit_tests.test_glance_contexts.TestGlanceContexts.test_ceph_related [0.041435s] ... ok
{0} unit_tests.test_actions.ResumeTestCase.test_status_message [0.091906s] ... ok
juju-log: Upgrading OpenStack release
{3} unit_tests.test_actions_openstack_upgrade.TestGlanceUpgradeActions.test_openstack_upgrade [0.064511s] ... ok
{2} unit_tests.test_glance_contexts.TestGlanceContexts.test_glance_ipv6_context_service_disabled [0.042049s] ... FAILED
{0} unit_tests.test_actions.ResumeTestCase.test_status_mode [0.052275s] ... ok
{1} unit_tests.test_glance_relations.GlanceRelationTests.test_config_changed_with_openstack_upgrade_action [0.097249s] ... ok
{3} unit_tests.test_actions_openstack_upgrade.TestGlanceUpgradeActions.test_openstack_upgrade_git_install [0.068476s] ... ok
{0} unit_tests.test_glance_contexts.TestGlanceContexts.test_glance_ipv6_context_service_enabled [0.052884s] ... ok
{2} unit_tests.test_glance_contexts.TestGlanceContexts.test_swift_not_related [0.091914s] ... ok
{3} unit_tests.test_actions_openstack_upgrade.TestGlanceUpgradeActions.test_openstack_upgrade_not_configured [0.057163s] ... ok
{1} unit_tests.test_glance_relations.GlanceRelationTests.test_db_changed_no_acls [0.077500s] ... ok
{2} unit_tests.test_glance_relations.GlanceRelationTests.test_ceph_broken [0.072322s] ... ok
{0} unit_tests.test_glance_relations.GlanceRelationTests.test_amqp_changed_relation_data [0.098288s] ... ok
{1} unit_tests.test_glance_relations.GlanceRelationTests.test_db_changed_with_essex_setting_version_control [0.057426s] ... ok
{3} unit_tests.test_glance_contexts.TestGlanceContexts.test_apache_ssl_context_service_enabled [0.070837s] ... ok
{2} unit_tests.test_glance_relations.GlanceRelationTests.test_ceph_changed_broker_send_rq [0.050393s] ... ok
{3} unit_tests.test_glance_contexts.TestGlanceContexts.test_ceph_not_related [0.043066s] ... ok
{1} unit_tests.test_glance_relations.GlanceRelationTests.test_ha_relation_changed [0.059842s] ... ok
{0} unit_tests.test_glance_relations.GlanceRelationTests.test_amqp_joined [0.070637s] ... ok
{2} unit_tests.test_glance_relations.GlanceRelationTests.test_ceph_changed_key_and_relation_data [0.051283s] ... ok
{3} unit_tests.test_glance_contexts.TestGlanceContexts.test_multistore [0.045648s] ... ok
{0} unit_tests.test_glance_relations.GlanceRelationTests.test_ceph_changed_missing_relation_data [0.056028s] ... ok
{1} unit_tests.test_glance_relations.GlanceRelationTests.test_image_service_joined_specified_interface [0.076637s] ... ok
{2} unit_tests.test_glance_relations.GlanceRelationTests.test_ceph_joined [0.047789s] ... ok
{3} unit_tests.test_glance_contexts.TestGlanceContexts.test_multistore_defaults [0.050698s] ... ok
{0} unit_tests.test_glance_relations.GlanceRelationTests.test_cluster_changed [0.059744s] ... ok
{2} unit_tests.test_glance_relations.GlanceRelationTests.test_config_changed_with_openstack_upgrade [0.050508s] ... ok
{1} unit_tests.test_glance_relations.GlanceRelationTests.test_install_hook [0.064738s] ... ok
{3} unit_tests.test_glance_relations.GlanceRelationTests.test_ceph_changed_no_keyring [0.064548s] ... ok
{0} unit_tests.test_glance_relations.GlanceRelationTests.test_cluster_changed_with_ipv6 [0.062815s] ... ok
{2} unit_tests.test_glance_relations.GlanceRelationTests.test_configure_https_enable_with_image_service [0.055570s] ... ok
{1} unit_tests.test_glance_relations.GlanceRelationTests.test_keystone_changed_no_object_store_relation [0.067321s] ... ok
{3} unit_tests.test_glance_relations.GlanceRelationTests.test_config_changed_git_updated [0.066471s] ... ok
{0} unit_tests.test_glance_relations.GlanceRelationTests.test_config_changed_no_openstack_upgrade [0.054424s] ... ok
{1} unit_tests.test_glance_relations.GlanceRelationTests.test_keystone_changed_with_object_store_relation [0.049101s] ... ok
{2} unit_tests.test_glance_relations.GlanceRelationTests.test_db_changed_allowed [0.074675s] ... ok
{0} unit_tests.test_glance_relations.GlanceRelationTests.test_db_changed_missing_relation_data [0.052384s] ... ok
{3} unit_tests.test_glance_relations.GlanceRelationTests.test_configure_https_disable_with_image_service [0.065313s] ... ok
{1} unit_tests.test_glance_relations.GlanceRelationTests.test_keystone_joined_with_relation_id [0.048335s] ... ok
{2} unit_tests.test_glance_relations.GlanceRelationTests.test_db_changed_with_essex_not_setting_version_control [0.079744s] ... ok
{0} unit_tests.test_glance_relations.GlanceRelationTests.test_db_changed_not_allowed [0.055717s] ... ok
{3} unit_tests.test_glance_relations.GlanceRelationTests.test_configure_https_disable_with_keystone_joined [0.064831s] ... ok
{1} unit_tests.test_glance_relations.GlanceRelationTests.test_object_store_joined_with_identity_service_without_object_store [0.061391s] ... ok
{2} unit_tests.test_glance_relations.GlanceRelationTests.test_ha_relation_changed_not_clustered [0.049057s] ... ok
{0} unit_tests.test_glance_relations.GlanceRelationTests.test_db_joined [0.056796s] ... ok
{3} unit_tests.test_glance_relations.GlanceRelationTests.test_configure_https_enable_with_identity_service [0.058820s] ... ok
{2} unit_tests.test_glance_relations.GlanceRelationTests.test_ha_relation_joined_with_ipv6 [0.048177s] ... ok
{3} unit_tests.test_glance_relations.GlanceRelationTests.test_ha_relation_joined [0.051459s] ... ok
{0} unit_tests.test_glance_relations.GlanceRelationTests.test_db_joined_with_ipv6 [0.074832s] ... ok
{2} unit_tests.test_glance_relations.GlanceRelationTests.test_image_service_joined_leader [0.046634s] ... ok
{1} unit_tests.test_glance_relations.GlanceRelationTests.test_postgresql_db_changed_missing_relation_data [0.123834s] ... ok
{3} unit_tests.test_glance_relations.GlanceRelationTests.test_keystone_changes_incomplete [0.055162s] ... ok
{1} unit_tests.test_glance_relations.GlanceRelationTests.test_relation_broken [0.056060s] ... ok
{0} unit_tests.test_glance_relations.GlanceRelationTests.test_db_joined_with_postgresql [0.074292s] ... ok
{2} unit_tests.test_glance_relations.GlanceRelationTests.test_postgresql_db_changed_with_essex_not_setting_version_control [0.099046s] ... ok
{3} unit_tests.test_glance_relations.GlanceRelationTests.test_keystone_joined [0.056831s] ... ok
{1} unit_tests.test_glance_relations.GlanceRelationTests.test_upgrade_charm [0.059606s] ... ok
{2} unit_tests.test_glance_relations.GlanceRelationTests.test_postgresql_db_changed_with_essex_setting_version_control [0.052692s] ... ok
{3} unit_tests.test_glance_relations.GlanceRelationTests.test_object_store_joined_with_identity_service_with_object_store [0.052755s] ... ok
{0} unit_tests.test_glance_relations.GlanceRelationTests.test_ha_relation_joined_no_bound_ip [0.127784s] ... ok
{1} unit_tests.test_glance_utils.TestGlanceUtils.test_determine_packages [0.078771s] ... ok
{2} unit_tests.test_glance_utils.TestGlanceUtils.test_git_post_install [0.052508s] ... ok
{2} unit_tests.test_glance_utils.TestGlanceUtils.test_openstack_upgrade_leader [0.049479s] ... ok
{1} unit_tests.test_glance_utils.TestGlanceUtils.test_determine_packages_git [0.052533s] ... ok
{3} unit_tests.test_glance_relations.GlanceRelationTests.test_postgresql_db_changed_no_essex [0.103604s] ... ok
{0} unit_tests.test_glance_relations.GlanceRelationTests.test_install_hook_git [0.092207s] ... ok
{2} unit_tests.test_glance_utils.TestGlanceUtils.test_register_configs_ceph [0.045258s] ... ok
{1} unit_tests.test_glance_utils.TestGlanceUtils.test_git_pre_install [0.055502s] ... ok
{3} unit_tests.test_glance_relations.GlanceRelationTests.test_postgresql_joined_with_db [0.056125s] ... ok
{2} unit_tests.test_glance_utils.TestGlanceUtils.test_restart_map [0.044020s] ... ok
{0} unit_tests.test_glance_relations.GlanceRelationTests.test_install_hook_precise_distro [0.069213s] ... ok
{3} unit_tests.test_glance_utils.TestGlanceUtils.test_openstack_upgrade_not_leader [0.053666s] ... ok
{1} unit_tests.test_glance_utils.TestGlanceUtils.test_migrate_database [0.103650s] ... ok
{0} unit_tests.test_glance_relations.GlanceRelationTests.test_keystone_joined_public_endpoint [0.064090s] ... ok
{1} unit_tests.test_glance_utils.TestGlanceUtils.test_register_configs_apache [0.038048s] ... ok
{0} unit_tests.test_glance_relations.GlanceRelationTests.test_object_store_joined_without_identity_service [0.047861s] ... ok
{1} unit_tests.test_glance_utils.TestGlanceUtils.test_register_configs_apache24 [0.032529s] ... ok
{0} unit_tests.test_glance_relations.GlanceRelationTests.test_postgresql_db_joined [0.034653s] ... ok
{0} unit_tests.test_glance_utils.TestGlanceUtils.test_git_install [0.028155s] ... ok

==============================
Failed 1 tests - output below:
==============================

unit_tests.test_glance_contexts.TestGlanceContexts.test_glance_ipv6_context_service_disabled
--------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/home/liam/branches/merges/glance-next/.tox/py27-trusty/local/lib/python2.7/site-packages/mock.py", line 1201, in patched
        return func(*args, **keywargs)
      File "/home/liam/branches/merges/glance-next/unit_tests/test_glance_contexts.py", line 98, in test_glance_ipv6_context_service_disabled
        'registry_host': '0.0.0.0'})
      File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual
        assertion_func(first, second, msg=msg)
      File "/usr/lib/python2.7/unittest/case.py", line 835, in assertDictEqual
        self.fail(self._formatMessage(msg, standardMsg))
      File "/usr/lib/python2.7/unittest/case.py", line 410, in fail
        raise self.failureException(msg)
    AssertionError: {'registry_host': '0.0.0.0', 'bind_host': '::'} != {'registry_host': '0.0.0.0', 'bind_host': '0.0.0.0'}
    - {'bind_host': '::', 'registry_host': '0.0.0.0'}
    ?                ^^
    
    + {'bind_host': '0.0.0.0', 'registry_host': '0.0.0.0'}
    ?                ^^^^^^^
    
    


======
Totals
======
Ran: 94 tests in 3.0000 sec.
 - Passed: 93
 - Skipped: 0
 - Expected Fail: 0
 - Unexpected Success: 0
 - Failed: 1
Sum of execute time for each test: 5.8236 sec.

==============
Worker Balance
==============
 - Worker 0 (24 tests) => 0:00:01.550531
 - Worker 1 (24 tests) => 0:00:01.602406
 - Worker 2 (23 tests) => 0:00:01.335411
 - Worker 3 (23 tests) => 0:00:01.411661

Slowest Tests:

Test id                                                                                                                 Runtime (s)
----------------------------------------------------------------------------------------------------------------------  -----------
unit_tests.test_glance_relations.GlanceRelationTests.test_ha_relation_joined_no_bound_ip                                0.128
unit_tests.test_glance_relations.GlanceRelationTests.test_postgresql_db_changed_missing_relation_data                   0.124
unit_tests.test_glance_relations.GlanceRelationTests.test_amqp_changed_missing_relation_data                            0.104
unit_tests.test_glance_utils.TestGlanceUtils.test_migrate_database                                                      0.104
unit_tests.test_glance_relations.GlanceRelationTests.test_postgresql_db_changed_no_essex                                0.104
unit_tests.test_glance_relations.GlanceRelationTests.test_postgresql_db_changed_with_essex_not_setting_version_control  0.099
unit_tests.test_glance_relations.GlanceRelationTests.test_amqp_changed_relation_data                                    0.098
unit_tests.test_glance_relations.GlanceRelationTests.test_config_changed_with_openstack_upgrade_action                  0.097
unit_tests.test_actions.PauseTestCase.test_pauses_services                                                              0.097
unit_tests.test_glance_relations.GlanceRelationTests.test_install_hook_git                                              0.092
ERROR: InvocationError: '/home/liam/branches/merges/glance-next/.tox/py27-trusty/bin/ostestr'
___________________________________________________________________________________________________ summary ___________________________________________________________________________________________________
  lint: commands succeeded
ERROR:   py27-trusty: commands failed
Download as text