Merge lp:~1chb1n/charms/trusty/hacluster/next-amulet-update-15.12b into lp:~openstack-charmers/charms/trusty/hacluster/next

Proposed by Ryan Beisner
Status: Merged
Merged at revision: 61
Proposed branch: lp:~1chb1n/charms/trusty/hacluster/next-amulet-update-15.12b
Merge into: lp:~openstack-charmers/charms/trusty/hacluster/next
Diff against target: 92 lines (+55/-0)
6 files modified
tests/016-basic-trusty-juno (+11/-0)
tests/017-basic-trusty-kilo (+11/-0)
tests/019-basic-vivid-kilo (+9/-0)
tests/020-basic-trusty-liberty (+11/-0)
tests/021-basic-wily-liberty (+9/-0)
tests/basic_deployment.py (+4/-0)
To merge this branch: bzr merge lp:~1chb1n/charms/trusty/hacluster/next-amulet-update-15.12b
Reviewer Review Type Date Requested Status
David Ames (community) Approve
Review via email: mp+280854@code.launchpad.net

Commit message

Amulet tests: add and enable known-passing U:OS targets (all but systemd-based); enable debug/verbose on deployed services to improve failure troubleshooting.

Description of the change

Amulet tests: add and enable known-passing U:OS targets (all but systemd-based); enable debug/verbose on deployed services to improve failure troubleshooting.

I'd be all for landing this proposal as-is, for the improvements to the hacluster (& haproxy) test coverage. The systemd-based combo issues shall be addressed separately.

Vivid-Kilo and Wily-Liberty are not enabled due to:
https://bugs.launchpad.net/charms/+source/hacluster/+bug/1527403

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

charm_unit_test #14515 hacluster-next for 1chb1n mp280854
    UNIT OK: passed

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

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

charm_lint_check #15555 hacluster-next for 1chb1n mp280854
    LINT OK: passed

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

67. By Ryan Beisner

amulet tests: disable W-L in this proposal, address separately

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

charm_lint_check #15556 hacluster-next for 1chb1n mp280854
    LINT OK: passed

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

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

charm_unit_test #14516 hacluster-next for 1chb1n mp280854
    UNIT OK: passed

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

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

charm_amulet_test #8326 hacluster-next for 1chb1n mp280854
    AMULET OK: passed

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

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

Agreed this can land now.

Merging.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file 'tests/016-basic-trusty-juno'
--- tests/016-basic-trusty-juno 1970-01-01 00:00:00 +0000
+++ tests/016-basic-trusty-juno 2015-12-17 15:26:54 +0000
@@ -0,0 +1,11 @@
1#!/usr/bin/python
2
3"""Amulet tests on a basic hacluster deployment on trusty-juno."""
4
5from basic_deployment import HAClusterBasicDeployment
6
7if __name__ == '__main__':
8 deployment = HAClusterBasicDeployment(series='trusty',
9 openstack='cloud:trusty-juno',
10 source='cloud:trusty-updates/juno')
11 deployment.run_tests()
012
=== added file 'tests/017-basic-trusty-kilo'
--- tests/017-basic-trusty-kilo 1970-01-01 00:00:00 +0000
+++ tests/017-basic-trusty-kilo 2015-12-17 15:26:54 +0000
@@ -0,0 +1,11 @@
1#!/usr/bin/python
2
3"""Amulet tests on a basic hacluster deployment on trusty-kilo."""
4
5from basic_deployment import HAClusterBasicDeployment
6
7if __name__ == '__main__':
8 deployment = HAClusterBasicDeployment(series='trusty',
9 openstack='cloud:trusty-kilo',
10 source='cloud:trusty-updates/kilo')
11 deployment.run_tests()
012
=== added file 'tests/019-basic-vivid-kilo'
--- tests/019-basic-vivid-kilo 1970-01-01 00:00:00 +0000
+++ tests/019-basic-vivid-kilo 2015-12-17 15:26:54 +0000
@@ -0,0 +1,9 @@
1#!/usr/bin/python
2
3"""Amulet tests on a basic hacluster deployment on vivid-kilo."""
4
5from basic_deployment import HAClusterBasicDeployment
6
7if __name__ == '__main__':
8 deployment = HAClusterBasicDeployment(series='vivid')
9 deployment.run_tests()
010
=== added file 'tests/020-basic-trusty-liberty'
--- tests/020-basic-trusty-liberty 1970-01-01 00:00:00 +0000
+++ tests/020-basic-trusty-liberty 2015-12-17 15:26:54 +0000
@@ -0,0 +1,11 @@
1#!/usr/bin/python
2
3"""Amulet tests on a basic hacluster deployment on trusty-liberty."""
4
5from basic_deployment import HAClusterBasicDeployment
6
7if __name__ == '__main__':
8 deployment = HAClusterBasicDeployment(series='trusty',
9 openstack='cloud:trusty-liberty',
10 source='cloud:trusty-updates/liberty')
11 deployment.run_tests()
012
=== added file 'tests/021-basic-wily-liberty'
--- tests/021-basic-wily-liberty 1970-01-01 00:00:00 +0000
+++ tests/021-basic-wily-liberty 2015-12-17 15:26:54 +0000
@@ -0,0 +1,9 @@
1#!/usr/bin/python
2
3"""Amulet tests on a basic hacluster deployment on wily-liberty."""
4
5from basic_deployment import HAClusterBasicDeployment
6
7if __name__ == '__main__':
8 deployment = HAClusterBasicDeployment(series='wily')
9 deployment.run_tests()
010
=== modified file 'tests/basic_deployment.py'
--- tests/basic_deployment.py 2015-12-16 15:18:35 +0000
+++ tests/basic_deployment.py 2015-12-17 15:26:54 +0000
@@ -58,9 +58,13 @@
58 def _configure_services(self):58 def _configure_services(self):
59 keystone_config = {'admin-password': 'openstack',59 keystone_config = {'admin-password': 'openstack',
60 'admin-token': 'ubuntutesting',60 'admin-token': 'ubuntutesting',
61 'debug': 'true',
62 'verbose': 'true',
61 'vip': self._vip}63 'vip': self._vip}
62 mysql_config = {'dataset-size': '50%'}64 mysql_config = {'dataset-size': '50%'}
65 hacluster_config = {'debug': 'true'}
63 configs = {'keystone': keystone_config,66 configs = {'keystone': keystone_config,
67 'hacluster': hacluster_config,
64 'mysql': mysql_config}68 'mysql': mysql_config}
65 super(HAClusterBasicDeployment, self)._configure_services(configs)69 super(HAClusterBasicDeployment, self)._configure_services(configs)
6670

Subscribers

People subscribed via source and target branches