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