Added task to list tempest plugins

* In tempest, we install tempest plugins from source or from distro
  but there is no visiability that tempest plugins once installed
  got discovered by tempest itself. Listing tempest plugins will
  help to debug tempest plugin related issues easily.

* Added openstack-tempest-all subpackage to install all the tempest
  plugins. The test runs can be controlled through whitelist-file.

Change-Id: If85e5e8ffe769b29d3cbe25ac23210d935b86d08
This commit is contained in:
Chandan Kumar 2018-11-06 17:06:07 +05:30
parent 74f49fc12f
commit 2dbd375b44
2 changed files with 12 additions and 4 deletions

View File

@ -58,6 +58,17 @@
# don't trigger ANSIBLE0013
- skip_ansible_lint
- name: List installed tempest plugins
shell: |
set -e
if [ -d {{ tempest_venv_bin }} ]; then
. {{ tempest_venv_bin }}/activate
fi
tempest list-plugins
args:
executable: /bin/bash
when: "debug | bool"
- name: Generate tempest test whitelist
copy:
content: |

View File

@ -18,9 +18,6 @@ tempest_distro_packages:
- git
tempest_service_distro_packages:
- openstack-tempest
- python-tempestconf
- openstack-tempest-all
- python-subunit
- python-keystone-tests-tempest
- python-sahara-tests-tempest
- subunit-filters