blob: 49555ca13533c44e47c65ade20fd421a00ab2044 [file] [log] [blame]
Chandan Kumar23e5b632018-01-04 23:36:43 +05301- project:
Doug Hellmann4a63cd52018-09-09 05:49:23 -04002 templates:
3 - check-requirements
4 - tempest-plugin-jobs
Chandan Kumar23e5b632018-01-04 23:36:43 +05305 check:
6 jobs:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +01007 - cinder-tempest-plugin-lvm-lio-barbican
Luigi Toscanof1441832020-05-01 19:33:21 +02008 - cinder-tempest-plugin-lvm-lio-barbican-centos-8:
9 voting: false
Eric Harneyfb18e1a2018-01-24 16:14:13 -050010 - cinder-tempest-plugin-lvm-tgt-barbican
Lee Yarwood103c2f72021-01-21 15:38:44 +000011 - nova-ceph-multistore:
12 voting: false
Sofia Enriquezf44ff142020-04-03 20:04:22 +000013 - cinder-tempest-plugin-cbak-ceph
Luigi Toscano3f52f352021-01-05 22:09:29 +010014 - cinder-tempest-plugin-basic-victoria
Ghanshyam Mann93621532020-05-05 18:47:12 -050015 - cinder-tempest-plugin-basic-ussuri
16 - cinder-tempest-plugin-basic-train
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010017 gate:
18 jobs:
19 - cinder-tempest-plugin-lvm-lio-barbican
Eric Harneyfb18e1a2018-01-24 16:14:13 -050020 - cinder-tempest-plugin-lvm-tgt-barbican
Sofia Enriquezf44ff142020-04-03 20:04:22 +000021 - cinder-tempest-plugin-cbak-ceph
Luigi Toscano3d907472021-03-08 10:26:12 +010022 experimental:
23 jobs:
24 - cinder-tempest-plugin-cbak-ceph-victoria
25 - cinder-tempest-plugin-cbak-ceph-ussuri
26 - cinder-tempest-plugin-cbak-ceph-train
Chandan Kumar23e5b632018-01-04 23:36:43 +053027
28- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -050029 name: cinder-tempest-plugin-lvm-barbican-base
Chandan Kumar23e5b632018-01-04 23:36:43 +053030 description: |
Eric Harneyfb18e1a2018-01-24 16:14:13 -050031 This is a base job for lvm with lio & tgt targets
Chandan Kumar23e5b632018-01-04 23:36:43 +053032 parent: devstack-tempest
Luigi Toscanoa571b392020-04-17 19:30:23 +020033 timeout: 10800
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010034 roles:
35 - zuul: opendev.org/openstack/cinderlib
Chandan Kumar23e5b632018-01-04 23:36:43 +053036 required-projects:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010037 - opendev.org/openstack/barbican
38 - opendev.org/openstack/tempest
39 - opendev.org/openstack/cinder-tempest-plugin
40 - opendev.org/openstack/cinder
41 - opendev.org/openstack/cinderlib
42 run: playbooks/tempest-and-cinderlib-run.yaml
43 # Required to collect the tox-based logs of the cinderlib functional tests
44 post-run: playbooks/post-cinderlib.yaml
45 host-vars:
46 controller:
47 devstack_plugins:
48 barbican: https://opendev.org/openstack/barbican
Chandan Kumar23e5b632018-01-04 23:36:43 +053049 vars:
Sofia Enriquezf44ff142020-04-03 20:04:22 +000050 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
Ghanshyam Mann8e0986f2021-02-11 13:31:08 -060051 tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-exclude-list.txt'
Doug Hellmann4a63cd52018-09-09 05:49:23 -040052 tox_envlist: all
Chandan Kumar23e5b632018-01-04 23:36:43 +053053 devstack_localrc:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010054 CINDER_LVM_TYPE: thin
55 CINDER_COORDINATION_URL: 'file://\$state_path'
Luigi Toscanoa571b392020-04-17 19:30:23 +020056 devstack_local_conf:
57 test-config:
58 $TEMPEST_CONFIG:
Luigi Toscano5d7847c2021-02-25 22:16:32 +010059 auth:
60 # FIXME: 'creator' should be re-added by the barbican devstack plugin
61 # but the value below override everything.
62 tempest_roles: member,creator
Luigi Toscanoa571b392020-04-17 19:30:23 +020063 volume-feature-enabled:
64 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +053065 devstack_services:
66 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010067 tempest_plugins:
68 - cinder-tempest-plugin
69 fetch_subunit_output_additional_dirs:
70 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
Chandan Kumar23e5b632018-01-04 23:36:43 +053071 irrelevant-files:
72 - ^.*\.rst$
73 - ^doc/.*$
74 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +000075
76- job:
77 name: cinder-tempest-plugin-cbak-ceph
78 parent: devstack-plugin-ceph-tempest-py3
79 description: |
80 Integration tests that runs with the ceph devstack plugin, py3
81 and enable the backup service.
82 vars:
Luigi Toscanoa571b392020-04-17 19:30:23 +020083 devstack_local_conf:
84 test-config:
85 $TEMPEST_CONFIG:
86 volume-feature-enabled:
87 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +000088 devstack_services:
89 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -050090
Luigi Toscano3d907472021-03-08 10:26:12 +010091- job:
92 name: cinder-tempest-plugin-cbak-ceph-victoria
93 parent: cinder-tempest-plugin-cbak-ceph
94 nodeset: openstack-single-node-focal
95 override-checkout: stable/victoria
96
97- job:
98 name: cinder-tempest-plugin-cbak-ceph-ussuri
99 parent: cinder-tempest-plugin-cbak-ceph
100 nodeset: openstack-single-node-bionic
101 override-checkout: stable/ussuri
102
103- job:
104 name: cinder-tempest-plugin-cbak-ceph-train
105 parent: cinder-tempest-plugin-cbak-ceph
106 nodeset: openstack-single-node-bionic
107 override-checkout: stable/train
108
Luigi Toscanoa571b392020-04-17 19:30:23 +0200109# variant for pre-Ussuri branches (no volume revert for Ceph),
110# should this job be used on those branches
111- job:
112 name: cinder-tempest-plugin-cbak-ceph
113 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
114 vars:
115 devstack_local_conf:
116 test-config:
117 $TEMPEST_CONFIG:
118 volume-feature-enabled:
119 volume_revert: False
120
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500121- job:
122 name: cinder-tempest-plugin-lvm-lio-barbican
123 description: |
124 This jobs configures Cinder with LVM, LIO, barbican and
125 runs tempest tests and cinderlib tests.
126 parent: cinder-tempest-plugin-lvm-barbican-base
127 vars:
128 devstack_localrc:
129 CINDER_ISCSI_HELPER: lioadm
130
131- job:
Luigi Toscanof1441832020-05-01 19:33:21 +0200132 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8
133 parent: cinder-tempest-plugin-lvm-lio-barbican
134 nodeset: devstack-single-node-centos-8
135 description: |
136 This jobs configures Cinder with LVM, LIO, barbican and
137 runs tempest tests and cinderlib tests on CentOS 8.
138
139- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500140 name: cinder-tempest-plugin-lvm-tgt-barbican
141 description: |
142 This jobs configures Cinder with LVM, tgt, barbican and
143 runs tempest tests and cinderlib tests.
144 parent: cinder-tempest-plugin-lvm-barbican-base
Lee Yarwood1ee1efc2021-03-10 09:34:31 +0000145 vars:
146 devstack_localrc:
147 CINDER_ISCSI_HELPER: tgtadm
Ghanshyam Mann93621532020-05-05 18:47:12 -0500148
149- job:
150 name: cinder-tempest-plugin-basic
151 parent: devstack-tempest
152 description: |
153 Cinder tempest plugin tests job which run only cinder-tempest-plugin
154 tests.
155 required-projects:
156 - opendev.org/openstack/cinder-tempest-plugin
157 vars:
158 devstack_localrc:
159 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
160 tox_envlist: all
161 tempest_test_regex: cinder_tempest_plugin
162 tempest_plugins:
163 - cinder-tempest-plugin
164 irrelevant-files:
165 - ^.*\.rst$
166 - ^doc/.*$
167 - ^releasenotes/.*$
168
169- job:
Luigi Toscano3f52f352021-01-05 22:09:29 +0100170 name: cinder-tempest-plugin-basic-victoria
171 parent: cinder-tempest-plugin-basic
172 nodeset: openstack-single-node-focal
173 override-checkout: stable/victoria
174
175- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500176 name: cinder-tempest-plugin-basic-ussuri
177 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500178 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500179 override-checkout: stable/ussuri
180
181- job:
182 name: cinder-tempest-plugin-basic-train
183 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500184 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500185 override-checkout: stable/train
186 vars:
187 devstack_localrc:
188 USE_PYTHON3: True