Merge lp:~1chb1n/charms/trusty/glance/next-amulet-debug-and-makefile into lp:~openstack-charmers-archive/charms/trusty/glance/next

Proposed by Liam Young
Status: Merged
Merged at revision: 108
Proposed branch: lp:~1chb1n/charms/trusty/glance/next-amulet-debug-and-makefile
Merge into: lp:~openstack-charmers-archive/charms/trusty/glance/next
Diff against target: 82 lines (+35/-4)
5 files modified
Makefile (+1/-4)
hooks/charmhelpers/contrib/openstack/context.py (+5/-0)
tests/017-basic-trusty-kilo (+11/-0)
tests/018-basic-utopic-juno (+9/-0)
tests/019-basic-vivid-kilo (+9/-0)
To merge this branch: bzr merge lp:~1chb1n/charms/trusty/glance/next-amulet-debug-and-makefile
Reviewer Review Type Date Requested Status
OpenStack Charmers Pending
Review via email: mp+256690@code.launchpad.net

This proposal supersedes a proposal from 2015-04-16.

Description of the change

auto normalize amulet test definitions and amulet make targets; charm-helper sync.

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

charm_lint_check #3538 glance for 1chb1n mp256581
    LINT OK: passed

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

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote : Posted in a previous version of this proposal

charm_unit_test #3326 glance for 1chb1n mp256581
    UNIT OK: passed

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

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote : Posted in a previous version of this proposal

charm_amulet_test #3293 glance for 1chb1n mp256581
    AMULET FAIL: amulet-test failed

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

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

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote : Posted in a previous version of this proposal

charm_lint_check #3577 glance for 1chb1n mp256581
    LINT OK: passed

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

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote : Posted in a previous version of this proposal

charm_unit_test #3365 glance for 1chb1n mp256581
    UNIT OK: passed

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

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote : Posted in a previous version of this proposal

charm_amulet_test #3334 glance for 1chb1n mp256581
    AMULET OK: passed

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

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'Makefile'
--- Makefile 2015-03-21 01:36:16 +0000
+++ Makefile 2015-04-17 15:52:01 +0000
@@ -26,10 +26,7 @@
26 # /!\ Note: The -v should only be temporary until Amulet sends26 # /!\ Note: The -v should only be temporary until Amulet sends
27 # raise_status() messages to stderr:27 # raise_status() messages to stderr:
28 # https://bugs.launchpad.net/amulet/+bug/132035728 # https://bugs.launchpad.net/amulet/+bug/1320357
29 @juju test -v -p AMULET_HTTP_PROXY --timeout 900 \29 @juju test -v -p AMULET_HTTP_PROXY,AMULET_OS_VIP --timeout 2700
30 00-setup 14-basic-precise-icehouse 15-basic-trusty-icehouse \
31 16-basic-trusty-icehouse-git 17-basic-trusty-juno \
32 18-basic-trusty-juno-git
3330
34publish: lint unit_test31publish: lint unit_test
35 bzr push lp:charms/glance32 bzr push lp:charms/glance
3633
=== modified file 'hooks/charmhelpers/contrib/openstack/context.py'
--- hooks/charmhelpers/contrib/openstack/context.py 2015-04-16 19:53:49 +0000
+++ hooks/charmhelpers/contrib/openstack/context.py 2015-04-17 15:52:01 +0000
@@ -459,6 +459,11 @@
459459
460 ctxt['rabbitmq_hosts'] = ','.join(sorted(rabbitmq_hosts))460 ctxt['rabbitmq_hosts'] = ','.join(sorted(rabbitmq_hosts))
461461
462 oslo_messaging_flags = conf.get('oslo-messaging-flags', None)
463 if oslo_messaging_flags:
464 ctxt['oslo_messaging_flags'] = config_flags_parser(
465 oslo_messaging_flags)
466
462 if not context_complete(ctxt):467 if not context_complete(ctxt):
463 return {}468 return {}
464469
465470
=== renamed file 'tests/14-basic-precise-icehouse' => 'tests/014-basic-precise-icehouse'
=== renamed file 'tests/15-basic-trusty-icehouse' => 'tests/015-basic-trusty-icehouse'
=== renamed file 'tests/17-basic-trusty-juno' => 'tests/016-basic-trusty-juno'
=== 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-04-17 15:52:01 +0000
@@ -0,0 +1,11 @@
1#!/usr/bin/python
2
3"""Amulet tests on a basic glance deployment on trusty-kilo."""
4
5from basic_deployment import GlanceBasicDeployment
6
7if __name__ == '__main__':
8 deployment = GlanceBasicDeployment(series='trusty',
9 openstack='cloud:trusty-kilo',
10 source='cloud:trusty-updates/kilo')
11 deployment.run_tests()
012
=== added file 'tests/018-basic-utopic-juno'
--- tests/018-basic-utopic-juno 1970-01-01 00:00:00 +0000
+++ tests/018-basic-utopic-juno 2015-04-17 15:52:01 +0000
@@ -0,0 +1,9 @@
1#!/usr/bin/python
2
3"""Amulet tests on a basic Glance deployment on utopic-juno."""
4
5from basic_deployment import GlanceBasicDeployment
6
7if __name__ == '__main__':
8 deployment = GlanceBasicDeployment(series='utopic')
9 deployment.run_tests()
010
=== 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-04-17 15:52:01 +0000
@@ -0,0 +1,9 @@
1#!/usr/bin/python
2
3"""Amulet tests on a basic Glance deployment on vivid-kilo."""
4
5from basic_deployment import GlanceBasicDeployment
6
7if __name__ == '__main__':
8 deployment = GlanceBasicDeployment(series='vivid')
9 deployment.run_tests()
010
=== renamed file 'tests/16-basic-trusty-icehouse-git' => 'tests/050-basic-trusty-icehouse-git'
=== renamed file 'tests/18-basic-trusty-juno-git' => 'tests/051-basic-trusty-juno-git'
=== modified file 'tests/basic_deployment.py' (properties changed: +x to -x)

Subscribers

People subscribed via source and target branches