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

Proposed by Ryan Beisner
Status: Merged
Merged at revision: 54
Proposed branch: lp:~1chb1n/charms/trusty/hacluster/amulet-extend
Merge into: lp:~openstack-charmers/charms/trusty/hacluster/next
Diff against target: 58 lines (+9/-11)
3 files modified
Makefile (+7/-9)
metadata.yaml (+1/-1)
tests/basic_deployment.py (+1/-1)
To merge this branch: bzr merge lp:~1chb1n/charms/trusty/hacluster/amulet-extend
Reviewer Review Type Date Requested Status
Corey Bryant (community) Approve
Review via email: mp+266355@code.launchpad.net

Description of the change

amulet test update: switch vip env var name to be consistent with other os-charm tests; change make target names to be consistent with other os-charm tests and bundletester expectations.

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

charm_unit_test #6718 hacluster-next for 1chb1n mp266355
    UNIT OK: passed

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

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

charm_lint_check #7258 hacluster-next for 1chb1n mp266355
    LINT OK: passed

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

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

charm_amulet_test #5491 hacluster-next for 1chb1n mp266355
    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/11964448/
Build: http://10.245.162.77:8080/job/charm_amulet_test/5491/

54. By Ryan Beisner

remove t-j, t-k test targets, charm does not support openstack-origin.

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

charm_unit_test #6719 hacluster-next for 1chb1n mp266355
    UNIT OK: passed

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

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

charm_lint_check #7260 hacluster-next for 1chb1n mp266355
    LINT OK: passed

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

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

charm_amulet_test #5494 hacluster-next for 1chb1n mp266355
    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/11964755/
Build: http://10.245.162.77:8080/job/charm_amulet_test/5494/

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

Bahh. Punting. Let's just unblock tests for Trusty for now.

55. By Ryan Beisner

remove vivid test re: bug 1479661

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

charm_lint_check #7261 hacluster-next for 1chb1n mp266355
    LINT OK: passed

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

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

charm_unit_test #6721 hacluster-next for 1chb1n mp266355
    UNIT OK: passed

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

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

charm_amulet_test #5496 hacluster-next for 1chb1n mp266355
    AMULET OK: passed

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

Revision history for this message
Corey Bryant (corey.bryant) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Makefile'
2--- Makefile 2015-03-31 11:12:57 +0000
3+++ Makefile 2015-07-30 07:49:17 +0000
4@@ -5,20 +5,18 @@
5 @flake8 --exclude hooks/charmhelpers hooks unit_tests tests
6 @charm proof
7
8-unit_test:
9+test:
10+ @# Bundletester expects unit tests here.
11 @echo Starting unit tests...
12 @$(PYTHON) /usr/bin/nosetests --nologcapture --with-coverage unit_tests
13
14-test:
15+functional_test:
16 @echo Starting Amulet tests...
17-ifndef OS_CHARMS_AMULET_VIP
18- @echo "WARNING: HA tests require OS_CHARMS_AMULET_VIP set to usable vip address"
19+ifndef AMULET_OS_VIP
20+ @echo "ERROR: HA tests require AMULET_OS_VIP set to usable vip address"
21+ @exit 1
22 endif
23- # coreycb note: The -v should only be temporary until Amulet sends
24- # raise_status() messages to stderr:
25- # https://bugs.launchpad.net/amulet/+bug/1320357
26- @juju test -v -p AMULET_HTTP_PROXY,OS_CHARMS_AMULET_VIP --timeout 900 \
27- 00-setup 15-basic-trusty-icehouse
28+ @juju test -v -p AMULET_HTTP_PROXY,AMULET_OS_VIP --timeout 2700
29
30 bin/charm_helpers_sync.py:
31 @mkdir -p bin
32
33=== modified file 'metadata.yaml'
34--- metadata.yaml 2015-02-11 23:49:44 +0000
35+++ metadata.yaml 2015-07-30 07:49:17 +0000
36@@ -4,7 +4,7 @@
37 subordinate: true
38 description: |
39 Corosync/Pacemaker
40-categories:
41+tags:
42 - misc
43 requires:
44 juju-info:
45
46=== renamed file 'tests/15-basic-trusty-icehouse' => 'tests/015-basic-trusty-icehouse'
47=== modified file 'tests/basic_deployment.py'
48--- tests/basic_deployment.py 2015-07-29 17:23:39 +0000
49+++ tests/basic_deployment.py 2015-07-30 07:49:17 +0000
50@@ -24,7 +24,7 @@
51 """Deploy the entire test environment."""
52 super(HAClusterBasicDeployment, self).__init__(series, openstack,
53 source, stable)
54- env_var = 'OS_CHARMS_AMULET_VIP'
55+ env_var = 'AMULET_OS_VIP'
56 self._vip = os.getenv(env_var, None)
57 if not self._vip:
58 amulet.raise_status(amulet.SKIP, msg="No vip provided with '%s' - "

Subscribers

People subscribed via source and target branches