Slawek Kaplonski 0e133d8060 Implement way to run iperf3 client in the POD
This patch implements functions necessary to start and stop iperf3
client in the POD on OpenShift. It also implements function to convert
logs from the iperf3 POD's stdout (json-stream), save them locally and
then check this log in the same ways as it is done for the iperf3
running on the guest VM or locally on the server where Tobiko runs.

This patch also adds new config option "iperf3_image" which can be used
to specify container image to run iperf3 client. By default it is the
Tobiko image which have installed iperf3. But currently Tobiko image is
based on Centos9 stream and have too old version of iperf3 (3.17 is
requried at least as this version provides "--json-stream" option).
Because of that it is recommended to use different image for now, like
e.g. [1] which is not official but works fine.

[1] https://quay.io/repository/skaplons/iperf3

Related: #TOBIKO-131
Change-Id: I440c9438954ea8e9e6159d7a1df472539e471988
2025-03-07 10:04:12 +00:00
2022-01-21 11:23:52 +00:00
2025-01-22 16:13:14 +01:00
2019-10-16 12:51:55 +02:00
2021-11-12 13:40:42 +00:00
2019-04-19 19:51:27 +00:00
2024-09-30 17:55:47 +02:00
2022-07-21 16:22:12 +00:00
2022-07-21 16:22:12 +00:00
2022-03-01 13:01:53 +01:00
2024-11-21 11:44:06 +01:00
2024-12-02 15:59:32 +01:00
2018-08-13 12:58:24 +00:00
2025-01-21 13:01:15 +00:00
2025-01-22 16:13:14 +01:00

Tobiko

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.8
  • Python 3.9
  • Python 3.10 (new)

and below Linux distributions:

  • CentOS 9 / RHEL 8 (with Python 3.9)
  • Ubuntu Focal (with Python 3.8)
  • Ubuntu Jammy (with Python 3.10)

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

  • OSX (with Python 3.6 to 3.10)

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).

References

Description
Testing OpenStack upgrades
Readme 42 MiB
Languages
Python 99.5%
Shell 0.2%
Dockerfile 0.2%