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
1=== modified file 'tests/019-basic-trusty-mitaka' (properties changed: -x to +x)
2=== modified file 'tests/basic_deployment.py'
3--- tests/basic_deployment.py 2015-10-20 08:50:45 +0000
4+++ tests/basic_deployment.py 2016-01-22 04:36:56 +0000
5@@ -1,6 +1,5 @@
6 import amulet
7 import os
8-import time
9 import yaml
10
11 from neutronclient.v2_0 import client as neutronclient
12@@ -32,6 +31,11 @@
13 self._add_relations()
14 self._configure_services()
15 self._deploy()
16+
17+ u.log.info('Waiting on extended status checks...')
18+ exclude_services = ['mysql']
19+ self._auto_wait_for_status(exclude_services=exclude_services)
20+
21 self._initialize_tests()
22
23 def _add_services(self):
24@@ -154,9 +158,6 @@
25 self.neutron_gateway_sentry = self.d.sentry.unit['neutron-gateway/0']
26 self.neutron_api_sentry = self.d.sentry.unit['neutron-api/0']
27
28- # Let things settle a bit before moving forward
29- time.sleep(30)
30-
31 # Authenticate admin with keystone
32 self.keystone = u.authenticate_keystone_admin(self.keystone_sentry,
33 user='admin',
34@@ -253,7 +254,7 @@
35 'tenantId': u.not_null,
36 'id': u.not_null,
37 'email': 'juju@localhost'},
38- {'name': 'quantum',
39+ {'name': 'neutron',
40 'enabled': True,
41 'tenantId': u.not_null,
42 'id': u.not_null,
43@@ -485,11 +486,11 @@
44 api_endpoint = 'http://{}:9696'.format(api_ip)
45 expected = {
46 'private-address': u.valid_ip,
47- 'quantum_region': 'RegionOne',
48- 'quantum_service': 'quantum',
49- 'quantum_admin_url': api_endpoint,
50- 'quantum_internal_url': api_endpoint,
51- 'quantum_public_url': api_endpoint,
52+ 'neutron_region': 'RegionOne',
53+ 'neutron_service': 'neutron',
54+ 'neutron_admin_url': api_endpoint,
55+ 'neutron_internal_url': api_endpoint,
56+ 'neutron_public_url': api_endpoint,
57 }
58
59 ret = u.validate_relation_data(unit, relation, expected)

Subscribers

People subscribed via source and target branches