Skip to content

Commit

Permalink
Added task to list tempest plugins
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
chkumar246 committed Nov 6, 2018
1 parent 74f49fc commit 2dbd375
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
11 changes: 11 additions & 0 deletions tasks/tempest_post_install.yml
Expand Up @@ -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: |
Expand Down
5 changes: 1 addition & 4 deletions vars/redhat-7.yml
Expand Up @@ -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

0 comments on commit 2dbd375

Please sign in to comment.