This test has no purpose now.
Kolla Ansible removed Ceph deployment support in Ussuri so it
failed CI.
This also drops py27 gating because it broke in Ussuri.
Change-Id: I09aac88e2552231b0c76c5bea112e692571151c4
1. Synchronize tox and ansible version from kolla-ansible
2. Remove the unnecessary space for zuul.yml
Change-Id: Ib48a0267da9b107dc6d306bcd82c65dcbb523514
1. This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.
2. Remove a unnecessary space
See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html
Change-Id: I89846e571cfabca4e6188be8a72337111bfa9bff
It seems that in newer ansible versions the error strings have
changed and we are no longer able to use the hard coded
"UNREACHABLE" string in our stop test. For now changing the
test to just skip the string investigation. Also updating some
package dependencies to match those in kolla-ansible.
We need the 3.5 to 3.6 migration along with the UNREACHABLE
string change together to clean up the test failures Neither
can be fixed without the other. Thanks zhulingjie!!
Co-Authored-By: zhulingjie <easyzlj@gmail.com>
Change-Id: I347cda4bbdc6ed7dc4857cb1865da578670235fb
As part of getting away from using calls to the shell in the
tests, we will need code coverage of the commands library which
will no longer be used when the shell is no longer called. This
change is the first of serveral to provide unnit test coverage
for commands/host.
As a result of writing these tests, I needed to tweak a few things,
some to make mocking possible, and fix some minor issues:
- move delete confirmation prompt to its own method so it can
be mocked.
- remove extra space from failed Host check message
- fix return code to 0 in Host setup, when the host is already setup.
- in shell, move inventory check to a method so it can be mocked.
Change-Id: I63cb1afd5313959a6fdda11e9c2b03317c60197a
This change sets up the functional tests to run on py35 in CI
testing. This change also:
- fixes some import problems only seen in py35.
- removes obsolete/broken code that was needed when ansible
didn't support py3.
Partially Implements: blueprint initial-testing
Change-Id: I3df34e266a8f64f4f963ded51adf8879a324be30
mypy was not working. This change:
- fixes mypy call in tox.ini and adds mypy job to zuul
- fix a couple of errors that mypy found
- add import typing as needed to files
Implements: blueprint initial-testing
Change-Id: I94719f7064c29168721dc37a2148638b927cd2e4
- move tests directory under kolla_cli
- create new functional directory and put all tests in there
- add empty unit test directory
- add "test_" as a prefix to all test files (so ostestr sees them)
- use ostestr (--serial) to run the tests
- add functional tests into tox and zuul configs
- update tests/common to rip out code that selected which cli
command to use. will now always use python kolla_cli/shell.py
No test files were modified.
Change-Id: Iec80f7546b0f4ff2a857b14f546fd299732c727d
Implements: blueprint initial-testing