Merge lp:~1chb1n/charms/trusty/neutron-gateway/next-amulet-mitaka-1601 into lp:~openstack-charmers-archive/charms/trusty/neutron-gateway/next

Proposed by Ryan Beisner
Status: Merged
Merged at revision: 162
Proposed branch: lp:~1chb1n/charms/trusty/neutron-gateway/next-amulet-mitaka-1601
Merge into: lp:~openstack-charmers-archive/charms/trusty/neutron-gateway/next
Diff against target: 59 lines (+11/-10)
1 file modified
tests/basic_deployment.py (+11/-10)
To merge this branch: bzr merge lp:~1chb1n/charms/trusty/neutron-gateway/next-amulet-mitaka-1601
Reviewer Review Type Date Requested Status
David Ames (community) Approve
Review via email: mp+282836@code.launchpad.net

Description of the change

Enable Mitaka amulet tests. Wait for unit status instead of sleeping. Update test (failing after last wk's quantum->nova move).

To post a comment you must log in.
Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #17458 neutron-gateway-next for 1chb1n mp282836
    LINT OK: passed

Build: http://10.245.162.77:8080/job/charm_lint_check/17458/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_unit_test #16310 neutron-gateway-next for 1chb1n mp282836
    UNIT OK: passed

Build: http://10.245.162.77:8080/job/charm_unit_test/16310/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #8820 neutron-gateway-next for 1chb1n mp282836
    AMULET FAIL: amulet-test failed

AMULET Results (max last 2 lines):
make: *** [functional_test] Error 1
ERROR:root:Make target returned non-zero.

Full amulet test output: http://paste.ubuntu.com/14515289/
Build: http://10.245.162.77:8080/job/charm_amulet_test/8820/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #17687 neutron-gateway-next for 1chb1n mp282836
    LINT OK: passed

Build: http://10.245.162.77:8080/job/charm_lint_check/17687/

162. By Ryan Beisner

rebase

163. By Ryan Beisner

update test for neutron catalog names (lp1535410)

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #17785 neutron-gateway-next for 1chb1n mp282836
    LINT OK: passed

Build: http://10.245.162.77:8080/job/charm_lint_check/17785/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #8918 neutron-gateway-next for 1chb1n mp282836
    AMULET FAIL: amulet-test failed

AMULET Results (max last 2 lines):
make: *** [functional_test] Error 1
ERROR:root:Make target returned non-zero.

Full amulet test output: http://paste.ubuntu.com/14586969/
Build: http://10.245.162.77:8080/job/charm_amulet_test/8918/

164. By Ryan Beisner

really wait for unit status instead of sleeping before amulet tests

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #17933 neutron-gateway-next for 1chb1n mp282836
    LINT OK: passed

Build: http://10.245.162.77:8080/job/charm_lint_check/17933/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_unit_test #16758 neutron-gateway-next for 1chb1n mp282836
    UNIT OK: passed

Build: http://10.245.162.77:8080/job/charm_unit_test/16758/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #8951 neutron-gateway-next for 1chb1n mp282836
    AMULET OK: passed

Build: http://10.245.162.77:8080/job/charm_amulet_test/8951/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #8956 neutron-gateway-next for 1chb1n mp282836
    AMULET FAIL: amulet-test failed

AMULET Results (max last 2 lines):
make: *** [functional_test] Error 1
ERROR:root:Make target returned non-zero.

Full amulet test output: http://paste.ubuntu.com/14596474/
Build: http://10.245.162.77:8080/job/charm_amulet_test/8956/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #8962 neutron-gateway-next for 1chb1n mp282836
    AMULET OK: passed

Build: http://10.245.162.77:8080/job/charm_amulet_test/8962/

Revision history for this message
Ryan Beisner (1chb1n) wrote :

#8956 failure was an undercloud timeout.

Revision history for this message
David Ames (thedac) wrote :

Looks good. Merging.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'tests/019-basic-trusty-mitaka' (properties changed: -x to +x)
=== modified file 'tests/basic_deployment.py'
--- tests/basic_deployment.py 2015-10-20 08:50:45 +0000
+++ tests/basic_deployment.py 2016-01-22 04:36:56 +0000
@@ -1,6 +1,5 @@
1import amulet1import amulet
2import os2import os
3import time
4import yaml3import yaml
54
6from neutronclient.v2_0 import client as neutronclient5from neutronclient.v2_0 import client as neutronclient
@@ -32,6 +31,11 @@
32 self._add_relations()31 self._add_relations()
33 self._configure_services()32 self._configure_services()
34 self._deploy()33 self._deploy()
34
35 u.log.info('Waiting on extended status checks...')
36 exclude_services = ['mysql']
37 self._auto_wait_for_status(exclude_services=exclude_services)
38
35 self._initialize_tests()39 self._initialize_tests()
3640
37 def _add_services(self):41 def _add_services(self):
@@ -154,9 +158,6 @@
154 self.neutron_gateway_sentry = self.d.sentry.unit['neutron-gateway/0']158 self.neutron_gateway_sentry = self.d.sentry.unit['neutron-gateway/0']
155 self.neutron_api_sentry = self.d.sentry.unit['neutron-api/0']159 self.neutron_api_sentry = self.d.sentry.unit['neutron-api/0']
156160
157 # Let things settle a bit before moving forward
158 time.sleep(30)
159
160 # Authenticate admin with keystone161 # Authenticate admin with keystone
161 self.keystone = u.authenticate_keystone_admin(self.keystone_sentry,162 self.keystone = u.authenticate_keystone_admin(self.keystone_sentry,
162 user='admin',163 user='admin',
@@ -253,7 +254,7 @@
253 'tenantId': u.not_null,254 'tenantId': u.not_null,
254 'id': u.not_null,255 'id': u.not_null,
255 'email': 'juju@localhost'},256 'email': 'juju@localhost'},
256 {'name': 'quantum',257 {'name': 'neutron',
257 'enabled': True,258 'enabled': True,
258 'tenantId': u.not_null,259 'tenantId': u.not_null,
259 'id': u.not_null,260 'id': u.not_null,
@@ -485,11 +486,11 @@
485 api_endpoint = 'http://{}:9696'.format(api_ip)486 api_endpoint = 'http://{}:9696'.format(api_ip)
486 expected = {487 expected = {
487 'private-address': u.valid_ip,488 'private-address': u.valid_ip,
488 'quantum_region': 'RegionOne',489 'neutron_region': 'RegionOne',
489 'quantum_service': 'quantum',490 'neutron_service': 'neutron',
490 'quantum_admin_url': api_endpoint,491 'neutron_admin_url': api_endpoint,
491 'quantum_internal_url': api_endpoint,492 'neutron_internal_url': api_endpoint,
492 'quantum_public_url': api_endpoint,493 'neutron_public_url': api_endpoint,
493 }494 }
494495
495 ret = u.validate_relation_data(unit, relation, expected)496 ret = u.validate_relation_data(unit, relation, expected)

Subscribers

People subscribed via source and target branches