Updated requirements and pre-commit-config files to support python3.12.
Tests from tobiko/tests/functional/run have been removed to avoid
failures on tobiko-infrared-centos-9 with multiprocessing.pool module:
https://github.com/dask/dask/issues/5806
These tests were going to be removed in any case at:
https://review.opendev.org/c/x/tobiko/+/936633
TODO: after updating ansible-lint version used to 6.21.1, due to the
big amount of failures, ansible-lint is mostly skipped (see
.ansible-lint file) - this will be fixed in a follow up patch.
Change-Id: I2768cd8d0c2b5f015f1beb0e42dae67dd24f97dd
Topology class can now discover EDPM nodes based on the
data from the OCP cluster.
There are also basic functional tests for new Topology class
implemented.
Unfortunately those tests can't be run in the upstream CI
as it required OCP (CRC at least) and OSP deployment on top of that
OCP cluster. And this requires too much resources for the upstream
CI infra.
Related-Jira: #OSP-22166
Change-Id: I60385f52f01ca0dc4742ed105b14338c1317075e
Tobiko tox virtual env creation fails with podman-py 4.8.0 due to
an issue with dependencies.
The new podman-py does not include any feature relevant for Tobiko, so
we can continue using 4.7.0.
Change-Id: I6003d5f7f36620a71e9ad31eab707edd7e81a041
tcpdump can be executed as a background process. A capture file,
a filter and an interface can be defined
Once the process is launched, traffic can be sent
After that, the process can be stopped and the capture file can be read
and verified if any packets have been captured
For the specific DSCP scenario, a filter is defined based on the DSCP
marking value configured for the QoS policy
Change-Id: I68a6529284aee27f162e7c27a322b83b767e2504
This allows to import old varlink based podman client
ase podman1 while keeping safe to install the new
client podman-py package as podman.
To archive such result it first temporarly rename existing podman
dir, then install podman package on its place, renames it as
podman1, and finally restore pre-existing podman directory
if any initially found.
Change-Id: If834cc383f11e656f17e49d5e6fa401ac8bee829
We need to test openstack client as it may differ from the openstack
API. Added some new openstack client tests together with the module
to execute openstack commands on the undercloud node.
Change-Id: Ia4960385c7f2b7565a5e9a5888a9cb5613f45520
Moving other requirements from extra-requirements.txt wasn't possible
because those requirements are not uficially considered an OpenStack
requirements and would be refused by openstack check-requirements
upstream job. We should thereofre thread those requirements as
still extras.
Change-Id: Idd3c7daf38cbcac4d3c0253f13034529aaeb5167
* tobiko-fault allows you to run different faults on different
nodes in your environment.
* If os-faults configuration not present, tobiko-fault will generate
it.
Change-Id: I428aebcbcdc3c9997a0c839e6a18564433e68ba8
Add basic structure file for supporting Tobiko run command.
The command will be used for generating configuration and run
the tests.
Change-Id: I046b3a85e2ad3d73f983d2be0c804ee863d56d9c
Added:
* Faults manager - a compnent for managing faults (load them,
connect os-faults to cloud, exdcute faults, etc.).
* Faults for test_floatingip test class
Also, modified test_floatingip tests to run faults
if faults manager set up properly (loaded configuration file,
managed to connect the nodes of the cloud, etc.).
Change-Id: I1dd48bc9a7cc385a46d9b3b2382000581a614b42
This will allow us to support resources creation by using
Ansible playbooks.
Also, updated the floatinip playbook to include tasks for removing
an istnace. As opposed to Heat, where we can just specify the stack
name to remove it, to remove Ansible resources we need
to specify their names (since there is no bundling of resources).
Also, updated pipfile with Ansible requirement and removed walk
assert since there is no need to test it, it doesn't tells us
anything about Tobiko funcionaility.
Change-Id: I7581818934fca635ddb9b037ecee7ceae7a02010