Testing OpenStack upgrades
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Eduardo Olivares 739f6e5ab7 [test_0_vlan_ip_addresses] Fix error message when IPs are missing
Change-Id: I88680c9d2c4cad5fe4ed7da40c5950e93c785d7f
1 day ago
doc Add upper-constraints file to the RTD requirements file 2 weeks ago
etc Update tobiko.conf documentation page 1 year ago
infrared_plugin Update latest stable tag to 0.6.10 2 weeks ago
playbooks Download ubuntu images prior to pytest execution 4 months ago
releasenotes Create module to capture output of ss command 9 months ago
roles Allow custom ubuntu timeouts 3 weeks ago
tobiko [test_0_vlan_ip_addresses] Fix error message when IPs are missing 1 day ago
tools Add script which helps abandon old patches in gerrit 4 months ago
zuul.d Add designate upstream job 2 months ago
.ansible-lint Spliting infrared plugin into roles 3 years ago
.coveragerc Relax low coverage trealdshold 4 years ago
.dockerignore Refactor container files 2 years ago
.gitignore Move TripleO ansible inventory file to .ansible/inventory folder 1 year ago
.gitreview OpenDev Migration Patch 4 years ago
.pre-commit-config.yaml Update URL for flake8 from gitlab to github 7 months ago
.pylintrc Add .pylintrc file and disable dict-values-not-iterating check 1 year ago
.readthedocs.yaml Add readthedocs.yaml configuration file 2 weeks ago
.stestr.conf Fix requirements and use ReadTheDocs HTML documentation theme 4 years ago
Dockerfile Update OpenStack jobs 11 months ago
LICENSE Introduce pre-commit hooks for linters verifications 3 years ago
Pipfile Add tobiko-fault command 4 years ago
README.rst Remove version from the README file 1 year ago
ansible.cfg Rewrite Vagrant file using ansible and Centos 8 3 years ago
bindep.txt Update OpenStack jobs 11 months ago
docker-compose.yml Update OpenStack jobs 11 months ago
extra-requirements.txt Add pytest-subtests plugin 11 months ago
linters-requirements.txt Update pre-commit hooks configuration 1 year ago
lower-constraints.txt Use Subnet pools to avoid cidr concurrency issues 2 months ago
mypy.ini Make Actor class generic type 1 year ago
pytest.ini Don't run some of the stateless SG tests in ovn migration workflow 1 month ago
requirements.txt Use Subnet pools to avoid cidr concurrency issues 2 months ago
setup.cfg Mark Python 3.9 and 3.10 as supported runtime 1 year ago
setup.py Add initial structure 5 years ago
test-requirements.txt Update lower constraints file 1 year ago
tobiko.conf.example Update tobiko.conf documentation page 1 year ago
tox.ini Skip some more tests related to ovn-migration 1 month ago
upper-constraints.txt Add pytest-subtests plugin 11 months ago



Test Big Cloud Operations

Tobiko is an OpenStack testing framework focusing on areas mostly complementary to Tempest. While Tempest main focus has been testing OpenStack rest APIs, the main Tobiko focus is to test OpenStack system operations while "simulating" the use of the cloud as the final user would.

Tobiko's test cases populate the cloud with workloads such as Nova instances; they execute disruption operations such as services/nodes restart; finally they run test cases to validate that the cloud workloads are still functional.

Tobiko's test cases can also be used, for example, for testing that previously created workloads are working right after OpenStack services update/upgrade operation.

Project Requirements

Tobiko Python framework is being automatically tested with below Python versions:

  • Python 3.6
  • Python 3.8
  • Python 3.9
  • Python 3.10 (new)

and below Linux distributions:

  • CentOS 7 / RHEL 7 (with Python 3.6)
  • CentOS 8 / RHEL 8 (with Python 3.6)
  • CentOS 9 / RHEL 8 (with Python 3.9) (new)
  • Fedora 34 (with Python 3.9)
  • Fedora 35 (with Python 3.10)
  • Ubuntu Focal (with Python 3.8)

Tobiko has also been tested for development purposes with below OSes:

  • OSX (with Python 3.6 to 3.10)
  • Ubuntu Bionic (with Python 3.6)

The Tobiko Python framework is being used to implement test cases. As Tobiko can be executed on nodes that are not part of the cloud to test against, this doesn't mean Tobiko requires cloud nodes have to run with one of above Python versions or Linux distributions.

There is also a Docker file that can be used to create a container for running test cases from any node that do support containers execution.

Main Project Goals

  • To test OpenStack and Red Hat OpenStack Platform projects before they are released.

  • To provide a Python framework to write system scenario test cases (create and test workloads).

  • To verify previously created workloads are working fine after executing OpenStack nodes update/upgrade.

  • To write white boxing test cases (to log to cloud nodes for internal inspection purpose).

  • To write disruptive test cases (to simulate service disruptions like for example rebooting/interrupting a service to verify cloud reliability).

  • To provide Ansible roles implementing a workflow designed to run an ordered sequence of test suites. For example a workflow could do below steps:

    • creates workloads;
    • run disruptive test cases (IE reboot OpenStack nodes or services);
    • verify workloads are still working.

    The main use of these roles is writing continuous integration jobs for Zuul or other services like Jenkins (IE by using the Tobiko InfraRed plug-in).

  • To provide tools to monitor and recollect the healthy status of the cloud as seen from user perspective (black-box testing) or from an inside point of view (white-box testing built around SSH client).