Tobiko has always used Ubuntu images as advanced guest images to create
VM instances during its tests.
This patch replaces the Ubuntu image with a Fedora image that is
customized to work with Tobiko tests properly.
The different files, config parameters, classes and attributes are
renamed to use the generic "advanced_vm" and "Advanced" prefixes to make
it easier in case another change of guest images is done in the future.
Depends-On: I6015af347dba6b8a587fa3b3811ca4c8cdd41b7a
Change-Id: Ie4ed523eb9646b6e79553341500c2e3314af8c3d
tobiko-infrared-ubuntu is removed. It always fails because infrared is
not compatible with ubuntu-focal.
Former tobiko-infrared is removed. It did not really test anything
because there was no "primary" host in the inventory and essential
ansible plays from this job need to be run on the "primary" host.
Former tobiko-infrared-centos-9 is renamed to tobiko-infrared and it
will only use one node. The aim of this job is just to validate the the
tobiko infrared plugin works (it just executes tobiko unit and
functional tests).
Existing tobiko-check-collected-files ansible role has been removed. It
was only used to test that results where properly generated when the
tobiko infrared plugin was used, but it only work when no workflow was
specify.
Change-Id: I6e334014420757aafa436f42b189c932ed02ae56
Removed devstack-tobiko-minimal, as it was just the same as
devstack-tobiko, but on setups with lower requirements, and this caused
some inestabilities recently.
Removed devstack-tobiko-heat which tested functional tests
(devstack-tobiko-functional already covers this) and create-resources
tests, which are covered in many other jobs.
Removed devstack-tobiko-sanity, because the sanity tests are run by many
other jobs (those running the faults workflow, for example).
Removed devstack-tobiko-designate jobs because designate tests are
included into devstack-tobiko and devstack-tobiko-ovs.
Change-Id: Id8ee0323ad09297c08685ce19a60df469ae16826
docker-tobiko jobs are failing persistently. They should be removed from
the check-pipeline and be replaced by podman ones.
This patch removes them from the check pipeline.
Change-Id: Ic8f9fe002f498fc60c7893e1d55cf5372f0e477f
Removing fedora jobs voting because fedora36 is EOL and there is no
fedora>36 nodeset label available yet on upstream CI.
Change-Id: I74ce35027ba554176801781d974bf352b9344785
This job will be run in the post, release and pre-release queues
in zuul and will mirror or opendev.org/x/tobiko repository to the
redhat-openstack/tobiko project on github.
Change-Id: Ie657db33295ca8b70579203a5806889ddbef6237
Allow to run all test cases in a folder that is on the PYTHONPATH.
The function tobiko.run.run_tests will perform below operations:
- recursively look for all python modules matching 'test_*.py'
in a given directory
- create a TestSuite out of all subclasses of unittest.TestCase
found on discovered modules
- run the test suite, recording the result in on a TestResult class
instance
- eventually (if check parameter is not False as by default) it also
forward test errors and failures to the test case that called it
Example of use:
import unittest
from tobiko import run
class MyFaultsTest(unittest.TestCase):
def run(result):
result_before = run_tests('tobiko/tests/sanity')
try:
super().run(result)
finally:
result_after = run_tests('tobiko/tests/sanity')
# ... eventually compare errors and failures between
# result_before and result_after
def test_some_failure(self):
...
Change-Id: I22b14a40ed6b02d62e486e138f6d0172bbc9f92c
This reverts commit 9e02ef0760d29dbddfb937f17a85c58293ea29e3.
Reason for revert: We need this jobs to test support for RHEL 7, 8 and 9
Change-Id: Ia94a9c5947c01af4451f9d9d8d665e531f344bc9
This reverts commit 7550237e7355c74ffae470d235a22a9fb8a9048d.
Reason for revert: test_url is failing due a problem with CirrOS image URL
Change-Id: I8113e36920ba4478a3335aa300f10db6b3eeb1af