Tempest plugin for the Zun project.
Go to file
Ghanshyam Mann 069b9efbeb Update stable branch jobs on master gate
As 2023.2, 2024.1, and 2024.2 is released, we should add
its job on master gate to keep branchless tempest plugins
compatible to stable branch.

Removing Yoga, zed, and 2023.1 job as that is in unmaintained phase.

Ref: Tempest plugins guide for stable branch testing:
- https://docs.openstack.org/tempest/latest/stable_branch_testing_policy.html

In addition, use 'block-storage' service type to detect cinder.

Change-Id: I9b2e2ba2336d285cf6ac35fb1ebeb78cf576a872
2024-12-05 11:33:00 +00:00
doc Add doc/requirements 2021-01-07 17:32:29 +01:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-01 16:27:45 +02:00
zun_tempest_plugin Update stable branch jobs on master gate 2024-12-05 11:33:00 +00:00
.coveragerc Apply cookiecutter to newly split project 2017-09-07 16:17:22 -04:00
.gitignore Migrate from testr to stestr 2021-07-01 16:08:49 +05:30
.gitreview OpenDev Migration Patch 2019-04-19 19:31:48 +00:00
.mailmap Apply cookiecutter to newly split project 2017-09-07 16:17:22 -04:00
.stestr.conf Migrate from testr to stestr 2021-07-01 16:08:49 +05:30
.zuul.yaml Update stable branch jobs on master gate 2024-12-05 11:33:00 +00:00
babel.cfg Apply cookiecutter to newly split project 2017-09-07 16:17:22 -04:00
CONTRIBUTING.rst Apply cookiecutter to newly split project 2017-09-07 16:17:22 -04:00
HACKING.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-26 10:03:46 +08:00
LICENSE Apply cookiecutter to newly split project 2017-09-07 16:17:22 -04:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-26 10:03:46 +08:00
requirements.txt Remove six 2020-05-05 12:30:42 +08:00
setup.cfg setup.cfg: Replace dashes with underscores 2021-04-27 11:51:53 +08:00
setup.py Updated from global requirements 2018-01-27 18:52:29 +00:00
test-requirements.txt Migrate from testr to stestr 2021-07-01 16:08:49 +05:30
tox.ini Allow executable "rm" in docs job. 2023-01-31 02:40:11 +00:00

Team and repository tags

image

Tempest Integration of Zun

This directory contains Tempest tests to cover the Zun project, as well as a plugin to automatically load these tests into tempest.

See the Tempest plugin docs for information on using it: https://docs.openstack.org/tempest/latest/#using-plugins

Running the tests

Edit /opt/stack/tempest/etc/tempest.conf:

  • Add the [container_service] section, configure min_microversion and max_microversion:

    [container_service]
    min_microversion=1.32
    max_microversion=1.32

Note

You might need to modify the min/max microversion based on your test environment.

To run all tests from this plugin, install Zun into your environment and navigate to tempest directory:

$ cd /opt/stack/tempest

Run this command:

$ tempest run --regex zun_tempest_plugin.tests.tempest.api

To run a single test case, run with the test case name, for example:

$ tempest run --regex zun_tempest_plugin.tests.tempest.api.test_containers.TestContainer.test_list_containers