314 Commits

Author SHA1 Message Date
Eduardo Olivares
7b67ccba2e Replace Ubuntu guest images with Fedora
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
2025-01-22 15:24:08 +00:00
Eduardo Olivares
b73f595bad Cleanup of infrared zuul jobs
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
2025-01-22 16:13:14 +01:00
Eduardo Olivares
e3e10d1747 Cleanup tobiko jobs
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
2025-01-17 13:57:42 +01:00
Omer
c05790657e Remove docker-tobiko jobs from check pipeline
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
2024-05-29 10:49:07 +02:00
Eduardo Olivares
b32c3a5f6e Dropping python3.6 and python3.7 support
Depends-On: I4a5ac77948ddb65944b0852b03122190a659269b

Change-Id: If126f32a301c5bd0a2c50b6b9c6b0d8ef2cdf7ca
2023-08-25 15:39:07 +02:00
Eduardo Olivares
10e18bb48f Remove tobiko-infrared-fedora jobs
Removing fedora jobs voting because fedora36 is EOL and there is no
fedora>36 nodeset label available yet on upstream CI.

Change-Id: I74ce35027ba554176801781d974bf352b9344785
2023-08-04 10:55:13 +02:00
Omer
5f5bc07288 Add designate upstream job
This patch tries out the upstream designate job we have in tobiko.

Change-Id: Ide94ca0118b77c2c9a1fda1331c898272a5fce9b
2023-04-12 08:35:15 +00:00
Eduardo Olivares
31e3e4719d Update github host key
Change-Id: I4c5ee7059240ce2c7fdbb41d6ec03afc3debe15c
2023-04-04 15:50:11 +02:00
Takashi Kajinami
609c5b8c92 Remove TripleO jobs
We are tearing down TripleO master because of project removal.

Change-Id: Ic6ce10de86727536110d1d5bb4f0e02930633eb5
2023-03-15 23:51:35 +09:00
Slawek Kaplonski
cb85f23589 Update private key which should be used to sync github mirror
Change-Id: I8b65b2ba270f4916ac36a012d670a7b04f278110
2022-10-13 09:57:03 +02:00
Slawek Kaplonski
ae6deb883f Update github's deploy SSH secrets
Change-Id: I65e9e210d84f2aa9d9209a04fcf468841364d3f6
2022-10-06 11:09:41 +02:00
Slawek Kaplonski
d804e704bc Add tobiko-upload-git-mirror job
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
2022-09-06 12:01:35 +02:00
Ian Wienand
9f356a69f8 Update testing nodes to Fedora 36
This updates the nodes to the latest released Fedora

Change-Id: If62cf502dbbb0144cda159a60730c9496af3143c
2022-08-24 14:41:20 +10:00
Federico Ressi
b303fa415e Run nested test cases as sub-tests
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
2022-07-27 10:14:37 +00:00
Zuul
648f963227 Merge "Remove Docker Infrared job" 2022-07-21 21:57:00 +00:00
Zuul
05c42400ec Merge "Update Infrared jobs" 2022-07-21 20:05:38 +00:00
Federico Ressi
5475af5dc9 Remove Docker Infrared job
Change-Id: I8d782f3f92f17f15748fa64864f059d935d52b6d
2022-07-21 18:59:44 +00:00
Federico Ressi
3aeb7c1132 Update OpenStack jobs
- Add OpenStack Zed jobs
- Remove lower-constrains job

Change-Id: Id20d140a49f3fed18c7f0c9c3ee4497314862456
2022-07-21 16:22:12 +00:00
Federico Ressi
3210c9c8eb Update Infrared jobs
Change-Id: Ib89466d4d718a24e8c5ed03eefd65aa46d02f820
2022-07-21 16:21:56 +00:00
Federico Ressi
f27c8572d7 Workaround multiuser git issue in Tobiko containers
Change-Id: Ie527566e3b6f24e7b1393c0c9847c1be0db60325
2022-05-17 16:10:37 +02:00
Federico Ressi
b6a986d977 Increase Ubuntu Nova servers boot timeout
Change-Id: If126e5409cf1f79eb1e2b6f4addb6436bfbc81cc
2022-05-17 16:10:02 +02:00
Federico Ressi
4142a4780e Set irrelevant files for docker-* jobs
Change-Id: Ie8c6256315531cde109a4782f5b570d21d634c5d
2022-05-03 06:54:53 +02:00
Federico Ressi
df5c26df8e Remove tobiko-infrared-centos-9 job for investigation
Change-Id: I2b13c37e373bf2dc1a4dbc060ef6a2c65ac752de
2022-03-31 16:36:35 +02:00
Federico Ressi
627f7e5f5e Use nesterd virtualization nodes for tripleo-ci jobs
Change-Id: I663b31c3598c358b99b3cba9c88a5f33e1ff6292
2022-03-23 21:27:49 +00:00
Federico Ressi
5f45086265 Temporarily remove voting flag from Docker py310 job
Change-Id: I4399875eca9655eea76cd7470bb9f41dd4287f00
2022-03-10 16:15:09 +01:00
Federico Ressi
50476440e3 Use CentOS 9 on tobiko-tripleo jobs
Change-Id: Id360c437cdf4395a6f4a29521541bbd113085b55
2022-02-22 13:53:41 +00:00
Federico Ressi
f4491aa833 Replave tobiko-tripleo-faults with tobiko-tripleo-minimal
Change-Id: Ic62c9f12b730bbcd11152a505b67d5b4ceb6db75
2022-02-16 17:49:06 +01:00
Zuul
1738ea48e7 Merge "Run only minimal test cases with Tripleo jobs" 2022-02-16 12:10:22 +00:00
Federico Ressi
18e097ecf3 Run only minimal test cases with Tripleo jobs
Change-Id: I804a73858fc3bf454e33feba3fd81810299e354b
2022-02-16 09:13:25 +00:00
Federico Ressi
19f1109f7d Use nested virtualization for tobiko-tripleo jobs
Change-Id: I094b68aea8713dbca09a735a89da2a8e80ef450c
2022-02-16 08:07:40 +00:00
Federico Ressi
71ab051ab4 Remove fedora 34 job
Change-Id: I96ef8ab59c22d8ddce63423031237495a491d891
2022-02-13 01:19:53 +01:00
Zuul
d2574ba6c6 Merge "Migrate some test cases from scenario to sanity test suite" 2022-02-09 14:53:02 +00:00
Federico Ressi
b35fba7ed4 Migrate some test cases from scenario to sanity test suite
Change-Id: I346dfc66c2f40076bf681112dad76933434f675a
2022-02-09 12:18:43 +01:00
Federico Ressi
59d6c0fb42 Remove obsolete devstack-tobiko-ceph template
Change-Id: If715f4cfdde8a43db81905d2125a4b637d08d1cd
2022-02-09 10:10:15 +01:00
Federico Ressi
339d5b6cb8 Run os_tempest role to create missing resources
Change-Id: Ic2931e49c986ac030499535cfa04b49196468f86
2022-02-09 01:59:11 +00:00
Federico Ressi
60537c06e3 Update lower constraints file
Test Tobiko IR plugin with Fedora 35

Change-Id: I37742b3142ed29fd874db40b9e76a5622e89e711
2022-02-04 12:58:17 +00:00
Zuul
206052e14f Merge "Move TripleO job implementation to zuul.d/tripleo.yaml" 2022-02-04 11:07:29 +00:00
Federico Ressi
bad452edbd Move TripleO job implementation to zuul.d/tripleo.yaml
Change-Id: I5991f41855a3bb28d1feaeac6ee89fa35329d35b
2022-02-04 09:36:21 +01:00
Zuul
69afc3aa87 Merge "Add voting to tobiko-infrared-centos-9 job" 2022-02-03 20:48:20 +00:00
Federico Ressi
36c976596d Fix infrared-centos-8 job
Change-Id: Ia691a55cb769e0494ab752f410923f7abead53d2
2022-02-03 18:12:01 +01:00
Federico Ressi
1d12e4adc7 Add voting to tobiko-infrared-centos-9 job
Change-Id: Ib8d619da32bd09db6f4643e0f8ef9e00a993486a
2022-02-03 15:48:06 +01:00
Federico Ressi
6eeba70e7b Test Tobiko IR plugin with CentOS 9
Change-Id: I2ce6f604b6da84dffeeab8cf42765c419b0744af
2022-02-03 15:18:36 +01:00
Federico Ressi
270839755a Revert "Drop CentOS support for InfraRed plugin"
This reverts commit 9e02ef0760d29dbddfb937f17a85c58293ea29e3.

Reason for revert: We need this jobs to test support for RHEL 7, 8 and 9

Change-Id: Ia94a9c5947c01af4451f9d9d8d665e531f344bc9
2022-02-03 15:11:44 +01:00
Zuul
f76767c318 Merge "Remove obsolete jobs definitions" 2022-02-01 16:20:35 +00:00
Federico Ressi
9e02ef0760 Drop CentOS support for InfraRed plugin
Change-Id: I23798bc288d1adc1560fb20ce7032f07ab80b827
2022-02-01 13:04:59 +00:00
Federico Ressi
cecdbb461e Remove obsolete jobs definitions
Change-Id: I5e2a1e36bb6b2ae5a079ed43a56bf95fb12a4e33
2022-02-01 13:03:54 +00:00
Federico Ressi
e86f973003 Check project using basic ARM64 functional job
This reverts commit 913a28308db24753e056ee30979c6fc963c3b199.

Change-Id: I3f95425ae3618aea3967d049c94fa092196b42b5
2022-01-26 09:52:01 +01:00
Federico Ressi
913a28308d Revert "Gate project using basic ARM64 functional job"
This reverts commit 7550237e7355c74ffae470d235a22a9fb8a9048d.

Reason for revert: test_url is failing due a problem with CirrOS image URL

Change-Id: I8113e36920ba4478a3335aa300f10db6b3eeb1af
2022-01-26 08:45:01 +00:00
Federico Ressi
55b3a256ab Run the tobiko-docker-py3 job only on gate pipeline
Change-Id: I1a7e9916723f04f201da4a5e4dea6cf400050c99
2022-01-25 11:52:41 +00:00
Federico Ressi
7550237e73 Gate project using basic ARM64 functional job
Change-Id: Ib34d9a548eee6759636a5782779499569ea398c1
2022-01-24 08:47:16 +00:00