We need to update the tempest documentation for RHOS-13 * The names of tempest plugins got changed: -> Here is the updated tempest plugins names: https://git.openstack.org/cgit/openstack/tripleo-docs/tree/doc/source/install/basic_deployment/tempest_plugins.rst?h=refs/changes/61/565161/5 * We have added tempest-container in Tech Preview. Here is the blog post on how to use it: https://blogs.rdoproject.org/2018/05/consuming-kolla-tempest-container-image-for-running-tempest-tests/ Please let us know if more help is needed.
Updated doc still under review but could be ready for 13 https://review.openstack.org/#/c/565161/
There are also some plugins mentioned that do not exists, glance for example. I have some notes below: There are a few issues with the OSP 13 integration test suite guide: https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/13/html-single/openstack_integration_test_suite_guide 3.3.3 has # yum install python-glance-tests python-keystone-tests python-horizon-tests-tempest python-neutron-tests python-cinder-tests python-nova-tests python-swift-tests python-ceilometer-tests python-gnocchi-tests python-aodh-tests This command has a few issues. The following packages do not exist at all: sudo yum install python-neutron-tests python-cinder-tests python-ceilometer-tests Loaded plugins: product-id, search-disabled-repos, subscription-manager No package python-neutron-tests available. No package python-cinder-tests available. No package python-ceilometer-tests available. The following packages exist but they are not tempest plugin packages but unit and functional test packages: python-glance-tests python-nova-tests python-swift-tests python-gnocchi-tests python-aodh-tests python-keystone-tests A tempest plugin must follow the convention that there is a setup.cfg in the root of the repo, and it has an entry point that looks something like the horizon pluigin for example: [entry_points] tempest.test_plugins = horizon = tempest_horizon.plugin:HorizonTempestPlugin In the case of keystone there actually IS a tempest plugin and it is package python-keystone-tests-tempest. So there are two packages, a keystone unit test package (python-keystone-tests), and a tempest plugin (python-keystone-tests-tempest), the OSP 13 documentation is referring to the wrong package, the unit test package (python-keystone-tests). Basically the only tests that will be discovered when ostestr runs are in the tempest tree or in the plugins discovered. The upstream tempest plugin registry can be found here: https://docs.openstack.org/tempest/latest/plugin-registry.html After adjusting the command in 3.3.3 to: sudo yum install python-neutron-tests-tempest python-cinder-tests-tempest python-telemetry-tests-tempest python-heat-tests-tempest python-keystone-tests-tempest python-horizon-tests-tempest The list of tempest plugins now looks better: $ tempest list-plugins +-----------------+--------------------------------------------------------+ | Name | EntryPoint | +-----------------+--------------------------------------------------------+ | telemetry_tests | telemetry_tempest_plugin.plugin:TelemetryTempestPlugin | | heat | heat_tempest_plugin.plugin:HeatTempestPlugin | | keystone_tests | keystone_tempest_plugin.plugin:KeystoneTempestPlugin | | horizon | tempest_horizon.plugin:HorizonTempestPlugin | | neutron_tests | neutron_tempest_plugin.plugin:NeutronTempestPlugin | | cinder_tests | cinder_tempest_plugin.plugin:CinderTempestPlugin | +-----------------+--------------------------------------------------------+ Before correcting the yum install command listed in the OSP 13 doc the only plugin listed was the horizon one. This also means the tempest plugin table (https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/13/html-single/openstack_integration_test_suite_guide/index#sec-list-of-plugins) in the OSP 13 docs is pretty wrong. All the package names should end in "-tempest" I believe. Also the tempest plugin packages table should align with the actual tempest plugins (again see: https://docs.openstack.org/tempest/latest/plugin-registry.html). For instance, glance, nova, swift, gnocchi or aodh, don't have tempest plugins at all, yet they are referenced in the OSP 13 doc as tempest plugins. I presume there may be others listed in the plugin package table that are also not tempest plugins, but unit test packages, and the table should be reconciled and corrected.
To find the tempest test package names for our RHOSP13 install, I've resorted to: for service in $(openstack service list -c Name -f value) \ ; do yum search ${service} 2>/dev/null \ | grep tests ; done | awk '{print $1}' python-octavia-tests-golang.x86_64 python-octavia-tests-tempest-golang.x86_64 python2-octavia-tests-tempest.noarch python-nova-tests.noarch python2-novajoin-tests-tempest.noarch python2-barbican-tests-tempest.noarch python-neutron-fwaas-tests.noarch python-neutron-lbaas-tests.noarch python2-neutron-lib-tests.noarch python2-neutron-tests-tempest.noarch python2-networking-l2gw-tests-tempest.noarch python-panko-tests.noarch python2-cinder-tests-tempest.noarch python-glance-tests.noarch python-aodh-tests.noarch python2-keystone-tests-tempest.noarch python2-heat-tests-tempest.noarch python-gnocchi-tests.noarch python2-ironic-tests-tempest.noarch Note that some package names begin with python2, some are suffixed by tempest, and some have neither of those things. While the naming remains messy like this, perhaps a dynamic means of discovery like the one I used above, could be documented.
Or more succinctly: yum search $(openstack service list -c Name -f value) 2>/dev/null | grep test | awk '{print $1}' :)
Clearing needinfo flag.