Merge lp:~james-page/charms/trusty/cinder/tox into lp:~openstack-charmers-archive/charms/trusty/cinder/next
| Status: | Merged |
|---|---|
| Merged at revision: | 134 |
| Proposed branch: | lp:~james-page/charms/trusty/cinder/tox |
| Merge into: | lp:~openstack-charmers-archive/charms/trusty/cinder/next |
| Diff against target: |
266 lines (+98/-64) 9 files modified
.bzrignore (+2/-0) .testr.conf (+8/-0) requirements.txt (+11/-0) test-requirements.txt (+8/-0) tox.ini (+29/-0) unit_tests/test_actions_git_reinstall.py (+6/-17) unit_tests/test_actions_openstack_upgrade.py (+7/-4) unit_tests/test_cinder_hooks.py (+17/-25) unit_tests/test_cluster_hooks.py (+10/-18) |
| To merge this branch: | bzr merge lp:~james-page/charms/trusty/cinder/tox |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Corey Bryant | Approve on 2015-11-03 | ||
| James Page | 2015-07-29 | Resubmit on 2015-11-03 | |
| Billy Olsen | 2015-07-16 | Needs Information on 2015-07-29 | |
|
Review via email:
|
|||
Description of the Change
Support for execution of lint and tests using tox
- 102. By James Page on 2015-07-16
-
Fixup lint target
charm_unit_test #5913 cinder-next for james-page mp265008
UNIT OK: passed
- 103. By James Page on 2015-07-16
-
Switchover to using tox executing unit and lint tests
charm_unit_test #5914 cinder-next for james-page mp265008
UNIT FAIL: unit-test missing
UNIT Results (max last 2 lines):
INFO:root:Search string not found in makefile target commands.
ERROR:root:No make target was executed.
Full unit test output: http://
Build: http://
charm_lint_check #6282 cinder-next for james-page mp265008
LINT FAIL: lint-test missing
LINT Results (max last 2 lines):
INFO:root:Search string not found in makefile target commands.
ERROR:root:No make target was executed.
Full lint test output: http://
Build: http://
charm_amulet_test #5135 cinder-next for james-page mp265008
AMULET OK: passed
Build: http://
charm_amulet_test #5136 cinder-next for james-page mp265008
AMULET OK: passed
Build: http://
| Billy Olsen (billy-olsen) wrote : | # |
Code changes lgtm and I'd like to give it a thumbs up, but on my recently-reinstaled (aka cleanish) vivid system I get this --> http://
I suspect one of the dependencies might be slightly off ?? I'll spend more time looking at it next week since I don't think this is required for 15.07 release.
- 104. By James Page on 2015-09-10
-
Rebase
- 105. By James Page on 2015-09-14
-
Add a bit more patching when loading openstack_upgrade
charm_lint_check #9930 cinder-next for james-page mp265008
LINT OK: passed
charm_unit_test #9149 cinder-next for james-page mp265008
UNIT FAIL: unit-test failed
UNIT Results (max last 2 lines):
make: *** [test] Error 1
ERROR:root:Make target returned non-zero.
Full unit test output: http://
Build: http://
- 106. By James Page on 2015-09-14
-
Tidy, fixup failing tests
charm_lint_check #9933 cinder-next for james-page mp265008
LINT OK: passed
charm_unit_test #9152 cinder-next for james-page mp265008
UNIT OK: passed
- 107. By James Page on 2015-09-14
-
Use context helpers throughout
- 108. By James Page on 2015-09-14
-
Tidy lint
| James Page (james-page) wrote : | # |
I still see:
=======
Failed 1 tests - output below:
=======
unit_tests.
-------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/home/
return func(*args, **keywargs)
File "/home/
File "/usr/lib/
File "/usr/lib/
raise self.failureExc
AssertionError: [call('stop', 'cinder-api'), call('stop', 'cinder-volume'), call('stop', 'cinder-
When run under tox (ok under make test); for the life of me I can't figure out how its working in the current codebase.
- 109. By James Page on 2015-09-14
-
Make sure that RESTART_MAP is patched consistently
| James Page (james-page) wrote : | # |
OK - figured that out - cinder_
I don't really like the cross test implications of doing this outside of the test class.
charm_amulet_test #6415 cinder-next for james-page mp265008
AMULET OK: passed
Build: http://
charm_lint_check #9935 cinder-next for james-page mp265008
LINT OK: passed
charm_unit_test #9153 cinder-next for james-page mp265008
UNIT OK: passed
charm_amulet_test #6417 cinder-next for james-page mp265008
AMULET OK: passed
Build: http://
charm_amulet_test #6418 cinder-next for james-page mp265008
AMULET OK: passed
Build: http://
- 110. By James Page on 2015-10-29
-
Rebase
charm_lint_check #12852 cinder-next for james-page mp265008
LINT OK: passed
Build: http://
charm_unit_test #11932 cinder-next for james-page mp265008
UNIT OK: passed
charm_amulet_test #7645 cinder-next for james-page mp265008
AMULET OK: passed
Build: http://
- 111. By James Page on 2015-10-30
-
resync tox bits
charm_lint_check #12917 cinder-next for james-page mp265008
LINT OK: passed
Build: http://
charm_unit_test #11997 cinder-next for james-page mp265008
UNIT OK: passed
charm_amulet_test #7660 cinder-next for james-page mp265008
AMULET OK: passed
Build: http://
| Corey Bryant (corey.bryant) wrote : | # |
It looks like this mp is missing (test-)
| Corey Bryant (corey.bryant) wrote : | # |
We probably want to also run flake8 against the actions/ directory.
- 112. By James Page on 2015-11-03
-
Add missing files, lint actions
| James Page (james-page) wrote : | # |
Missing files added and actions now being lint'ed

charm_lint_check #6281 cinder-next for james-page mp265008
LINT OK: passed
Build: http:// 10.245. 162.77: 8080/job/ charm_lint_ check/6281/