Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 1 | - project: |
Doug Hellmann | 4a63cd5 | 2018-09-09 05:49:23 -0400 | [diff] [blame] | 2 | templates: |
| 3 | - check-requirements |
| 4 | - tempest-plugin-jobs |
Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 5 | check: |
| 6 | jobs: |
Luigi Toscano | c6215bd | 2020-02-21 12:42:58 +0100 | [diff] [blame] | 7 | - cinder-tempest-plugin-lvm-lio-barbican |
Luigi Toscano | f144183 | 2020-05-01 19:33:21 +0200 | [diff] [blame] | 8 | - cinder-tempest-plugin-lvm-lio-barbican-centos-8: |
| 9 | voting: false |
Eric Harney | fb18e1a | 2018-01-24 16:14:13 -0500 | [diff] [blame] | 10 | - cinder-tempest-plugin-lvm-tgt-barbican |
Sofia Enriquez | f44ff14 | 2020-04-03 20:04:22 +0000 | [diff] [blame] | 11 | - cinder-tempest-plugin-cbak-ceph |
Luigi Toscano | 3f52f35 | 2021-01-05 22:09:29 +0100 | [diff] [blame] | 12 | - cinder-tempest-plugin-basic-victoria |
Ghanshyam Mann | 9362153 | 2020-05-05 18:47:12 -0500 | [diff] [blame] | 13 | - cinder-tempest-plugin-basic-ussuri |
| 14 | - cinder-tempest-plugin-basic-train |
Luigi Toscano | c6215bd | 2020-02-21 12:42:58 +0100 | [diff] [blame] | 15 | gate: |
| 16 | jobs: |
| 17 | - cinder-tempest-plugin-lvm-lio-barbican |
Eric Harney | fb18e1a | 2018-01-24 16:14:13 -0500 | [diff] [blame] | 18 | - cinder-tempest-plugin-lvm-tgt-barbican |
Sofia Enriquez | f44ff14 | 2020-04-03 20:04:22 +0000 | [diff] [blame] | 19 | - cinder-tempest-plugin-cbak-ceph |
Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 20 | |
| 21 | - job: |
Eric Harney | fb18e1a | 2018-01-24 16:14:13 -0500 | [diff] [blame] | 22 | name: cinder-tempest-plugin-lvm-barbican-base |
Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 23 | description: | |
Eric Harney | fb18e1a | 2018-01-24 16:14:13 -0500 | [diff] [blame] | 24 | This is a base job for lvm with lio & tgt targets |
Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 25 | parent: devstack-tempest |
Luigi Toscano | a571b39 | 2020-04-17 19:30:23 +0200 | [diff] [blame] | 26 | timeout: 10800 |
Luigi Toscano | c6215bd | 2020-02-21 12:42:58 +0100 | [diff] [blame] | 27 | roles: |
| 28 | - zuul: opendev.org/openstack/cinderlib |
Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 29 | required-projects: |
Luigi Toscano | c6215bd | 2020-02-21 12:42:58 +0100 | [diff] [blame] | 30 | - opendev.org/openstack/barbican |
| 31 | - opendev.org/openstack/tempest |
| 32 | - opendev.org/openstack/cinder-tempest-plugin |
| 33 | - opendev.org/openstack/cinder |
| 34 | - opendev.org/openstack/cinderlib |
| 35 | run: playbooks/tempest-and-cinderlib-run.yaml |
| 36 | # Required to collect the tox-based logs of the cinderlib functional tests |
| 37 | post-run: playbooks/post-cinderlib.yaml |
| 38 | host-vars: |
| 39 | controller: |
| 40 | devstack_plugins: |
| 41 | barbican: https://opendev.org/openstack/barbican |
Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 42 | vars: |
Sofia Enriquez | f44ff14 | 2020-04-03 20:04:22 +0000 | [diff] [blame] | 43 | tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))' |
| 44 | tempest_test_blacklist: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-blacklist.txt' |
Doug Hellmann | 4a63cd5 | 2018-09-09 05:49:23 -0400 | [diff] [blame] | 45 | tox_envlist: all |
Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 46 | devstack_localrc: |
Luigi Toscano | c6215bd | 2020-02-21 12:42:58 +0100 | [diff] [blame] | 47 | CINDER_LVM_TYPE: thin |
| 48 | CINDER_COORDINATION_URL: 'file://\$state_path' |
Luigi Toscano | a571b39 | 2020-04-17 19:30:23 +0200 | [diff] [blame] | 49 | devstack_local_conf: |
| 50 | test-config: |
| 51 | $TEMPEST_CONFIG: |
Luigi Toscano | 5d7847c | 2021-02-25 22:16:32 +0100 | [diff] [blame] | 52 | auth: |
| 53 | # FIXME: 'creator' should be re-added by the barbican devstack plugin |
| 54 | # but the value below override everything. |
| 55 | tempest_roles: member,creator |
Luigi Toscano | a571b39 | 2020-04-17 19:30:23 +0200 | [diff] [blame] | 56 | volume-feature-enabled: |
| 57 | volume_revert: True |
Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 58 | devstack_services: |
| 59 | barbican: true |
Luigi Toscano | c6215bd | 2020-02-21 12:42:58 +0100 | [diff] [blame] | 60 | tempest_plugins: |
| 61 | - cinder-tempest-plugin |
| 62 | fetch_subunit_output_additional_dirs: |
| 63 | - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}" |
Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 64 | irrelevant-files: |
| 65 | - ^.*\.rst$ |
| 66 | - ^doc/.*$ |
| 67 | - ^releasenotes/.*$ |
Sofia Enriquez | f44ff14 | 2020-04-03 20:04:22 +0000 | [diff] [blame] | 68 | |
| 69 | - job: |
| 70 | name: cinder-tempest-plugin-cbak-ceph |
| 71 | parent: devstack-plugin-ceph-tempest-py3 |
| 72 | description: | |
| 73 | Integration tests that runs with the ceph devstack plugin, py3 |
| 74 | and enable the backup service. |
| 75 | vars: |
Luigi Toscano | 9d626d0 | 2020-06-03 16:56:47 +0200 | [diff] [blame] | 76 | tempest_black_regex: '(VolumesBackupsTest.test_bootable_volume_backup_and_restore|TestVolumeBackupRestore.test_volume_backup_restore)' |
Luigi Toscano | a571b39 | 2020-04-17 19:30:23 +0200 | [diff] [blame] | 77 | devstack_local_conf: |
| 78 | test-config: |
| 79 | $TEMPEST_CONFIG: |
| 80 | volume-feature-enabled: |
| 81 | volume_revert: True |
Sofia Enriquez | f44ff14 | 2020-04-03 20:04:22 +0000 | [diff] [blame] | 82 | devstack_services: |
| 83 | c-bak: true |
Eric Harney | fb18e1a | 2018-01-24 16:14:13 -0500 | [diff] [blame] | 84 | |
Luigi Toscano | a571b39 | 2020-04-17 19:30:23 +0200 | [diff] [blame] | 85 | # variant for pre-Ussuri branches (no volume revert for Ceph), |
| 86 | # should this job be used on those branches |
| 87 | - job: |
| 88 | name: cinder-tempest-plugin-cbak-ceph |
| 89 | branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$ |
| 90 | vars: |
Luigi Toscano | 9d626d0 | 2020-06-03 16:56:47 +0200 | [diff] [blame] | 91 | tempest_black_regex: '' |
Luigi Toscano | a571b39 | 2020-04-17 19:30:23 +0200 | [diff] [blame] | 92 | devstack_local_conf: |
| 93 | test-config: |
| 94 | $TEMPEST_CONFIG: |
| 95 | volume-feature-enabled: |
| 96 | volume_revert: False |
| 97 | |
Eric Harney | fb18e1a | 2018-01-24 16:14:13 -0500 | [diff] [blame] | 98 | - job: |
| 99 | name: cinder-tempest-plugin-lvm-lio-barbican |
| 100 | description: | |
| 101 | This jobs configures Cinder with LVM, LIO, barbican and |
| 102 | runs tempest tests and cinderlib tests. |
| 103 | parent: cinder-tempest-plugin-lvm-barbican-base |
| 104 | vars: |
| 105 | devstack_localrc: |
| 106 | CINDER_ISCSI_HELPER: lioadm |
| 107 | |
| 108 | - job: |
Luigi Toscano | f144183 | 2020-05-01 19:33:21 +0200 | [diff] [blame] | 109 | name: cinder-tempest-plugin-lvm-lio-barbican-centos-8 |
| 110 | parent: cinder-tempest-plugin-lvm-lio-barbican |
| 111 | nodeset: devstack-single-node-centos-8 |
| 112 | description: | |
| 113 | This jobs configures Cinder with LVM, LIO, barbican and |
| 114 | runs tempest tests and cinderlib tests on CentOS 8. |
| 115 | |
| 116 | - job: |
Eric Harney | fb18e1a | 2018-01-24 16:14:13 -0500 | [diff] [blame] | 117 | name: cinder-tempest-plugin-lvm-tgt-barbican |
| 118 | description: | |
| 119 | This jobs configures Cinder with LVM, tgt, barbican and |
| 120 | runs tempest tests and cinderlib tests. |
| 121 | parent: cinder-tempest-plugin-lvm-barbican-base |
Lee Yarwood | 1ee1efc | 2021-03-10 09:34:31 +0000 | [diff] [blame^] | 122 | vars: |
| 123 | devstack_localrc: |
| 124 | CINDER_ISCSI_HELPER: tgtadm |
Ghanshyam Mann | 9362153 | 2020-05-05 18:47:12 -0500 | [diff] [blame] | 125 | |
| 126 | - job: |
| 127 | name: cinder-tempest-plugin-basic |
| 128 | parent: devstack-tempest |
| 129 | description: | |
| 130 | Cinder tempest plugin tests job which run only cinder-tempest-plugin |
| 131 | tests. |
| 132 | required-projects: |
| 133 | - opendev.org/openstack/cinder-tempest-plugin |
| 134 | vars: |
| 135 | devstack_localrc: |
| 136 | TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True |
| 137 | tox_envlist: all |
| 138 | tempest_test_regex: cinder_tempest_plugin |
| 139 | tempest_plugins: |
| 140 | - cinder-tempest-plugin |
| 141 | irrelevant-files: |
| 142 | - ^.*\.rst$ |
| 143 | - ^doc/.*$ |
| 144 | - ^releasenotes/.*$ |
| 145 | |
| 146 | - job: |
Luigi Toscano | 3f52f35 | 2021-01-05 22:09:29 +0100 | [diff] [blame] | 147 | name: cinder-tempest-plugin-basic-victoria |
| 148 | parent: cinder-tempest-plugin-basic |
| 149 | nodeset: openstack-single-node-focal |
| 150 | override-checkout: stable/victoria |
| 151 | |
| 152 | - job: |
Ghanshyam Mann | 9362153 | 2020-05-05 18:47:12 -0500 | [diff] [blame] | 153 | name: cinder-tempest-plugin-basic-ussuri |
| 154 | parent: cinder-tempest-plugin-basic |
Ghanshyam Mann | 4ca01a2 | 2020-07-26 17:39:40 -0500 | [diff] [blame] | 155 | nodeset: openstack-single-node-bionic |
Ghanshyam Mann | 9362153 | 2020-05-05 18:47:12 -0500 | [diff] [blame] | 156 | override-checkout: stable/ussuri |
| 157 | |
| 158 | - job: |
| 159 | name: cinder-tempest-plugin-basic-train |
| 160 | parent: cinder-tempest-plugin-basic |
Ghanshyam Mann | 4ca01a2 | 2020-07-26 17:39:40 -0500 | [diff] [blame] | 161 | nodeset: openstack-single-node-bionic |
Ghanshyam Mann | 9362153 | 2020-05-05 18:47:12 -0500 | [diff] [blame] | 162 | override-checkout: stable/train |
| 163 | vars: |
| 164 | devstack_localrc: |
| 165 | USE_PYTHON3: True |