Runs Tempest tests against an OpenStack cloud.
--openstack-installer: The installer used to deploy OpenStack.
- Enables extra configuration steps for certain installers. Supported installers are:
--openstack-version: The version of the OpenStack installed.
- Enables additional configuration steps when version <= 7.
--tests: The list of test suites to execute. For example:
- The complete list of the available suites can be found by running
ir tempest --help
--openstackrc: The OpenStack RC file.
- The absolute and relative paths to the file are supported. When this option is not provided, infrared will try to use the keystonerc file from the active workspace. The openstackrc file is copied to the tester station and used to configure and run Tempest.
The following useful arguments can be provided to tune tempest tester. Complete list of arguments can be found by running
ir tempest --help.
--setup: The setup type for the tempest.
rpmor pip. Default tempest git repository is https://git.openstack.org/openstack/tempest.git. This value can be overridden with the
ir tempest -e setup.repo=my.custom.repo [...]
--revision: Specifies the revision for the case when tempest is installing from the git repository.
Default value is
--deployer-input-file: The deployer input file to use for Tempest configuration.
The absolute and relative paths to the file are supported. When this option is not provided infrared will try to use the deployer-input-file.conf file from active workspace folder.
For some OpenStack versions(kilo, juno, liberty) Tempest provides predefined deployer files. Those files can be downloaded from the git repo and passed to the Tempest tester:
BRANCH=liberty wget https://raw.githubusercontent.com/redhat-openstack/tempest/$BRANCH/etc/deployer-input-$BRANCH.conf ir tempest --tests=sanity \ --openstack-version=8 \ --openstack-installer=tripleo \ --deployer-input-file=deployer-input-$BRANCH.conf
--image: Image to be uploaded to glance and used for testing. Path have to be a url.
If image is not provided, tempest config will use the default.
You can specify image ssh user with