blob: 36b7446ff83b441d3cae34ec1e2909d4c7f7d138 [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
Sofia Enriquezf44ff142020-04-03 20:04:22 +000011 - cinder-tempest-plugin-cbak-ceph
Luigi Toscano3f52f352021-01-05 22:09:29 +010012 - cinder-tempest-plugin-basic-victoria
Ghanshyam Mann93621532020-05-05 18:47:12 -050013 - cinder-tempest-plugin-basic-ussuri
14 - cinder-tempest-plugin-basic-train
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010015 gate:
16 jobs:
17 - cinder-tempest-plugin-lvm-lio-barbican
Eric Harneyfb18e1a2018-01-24 16:14:13 -050018 - cinder-tempest-plugin-lvm-tgt-barbican
Sofia Enriquezf44ff142020-04-03 20:04:22 +000019 - cinder-tempest-plugin-cbak-ceph
Chandan Kumar23e5b632018-01-04 23:36:43 +053020
21- job:
Luigi Toscano1370db42021-03-03 21:31:11 +010022 name: cinder-tempest-plugin-lvm-barbican-base-abstract
Chandan Kumar23e5b632018-01-04 23:36:43 +053023 description: |
Eric Harneyfb18e1a2018-01-24 16:14:13 -050024 This is a base job for lvm with lio & tgt targets
Chandan Kumar23e5b632018-01-04 23:36:43 +053025 parent: devstack-tempest
Luigi Toscano1370db42021-03-03 21:31:11 +010026 abstract: true
Luigi Toscanoa571b392020-04-17 19:30:23 +020027 timeout: 10800
Chandan Kumar23e5b632018-01-04 23:36:43 +053028 required-projects:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010029 - opendev.org/openstack/barbican
30 - opendev.org/openstack/tempest
31 - opendev.org/openstack/cinder-tempest-plugin
32 - opendev.org/openstack/cinder
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010033 host-vars:
34 controller:
35 devstack_plugins:
36 barbican: https://opendev.org/openstack/barbican
Chandan Kumar23e5b632018-01-04 23:36:43 +053037 vars:
Sofia Enriquezf44ff142020-04-03 20:04:22 +000038 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
39 tempest_test_blacklist: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-blacklist.txt'
Doug Hellmann4a63cd52018-09-09 05:49:23 -040040 tox_envlist: all
Chandan Kumar23e5b632018-01-04 23:36:43 +053041 devstack_localrc:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010042 CINDER_LVM_TYPE: thin
43 CINDER_COORDINATION_URL: 'file://\$state_path'
Luigi Toscanoa571b392020-04-17 19:30:23 +020044 devstack_local_conf:
45 test-config:
46 $TEMPEST_CONFIG:
Luigi Toscano5d7847c2021-02-25 22:16:32 +010047 auth:
48 # FIXME: 'creator' should be re-added by the barbican devstack plugin
49 # but the value below override everything.
50 tempest_roles: member,creator
Luigi Toscanoa571b392020-04-17 19:30:23 +020051 volume-feature-enabled:
52 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +053053 devstack_services:
54 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010055 tempest_plugins:
56 - cinder-tempest-plugin
Chandan Kumar23e5b632018-01-04 23:36:43 +053057 irrelevant-files:
58 - ^.*\.rst$
59 - ^doc/.*$
60 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +000061
62- job:
Luigi Toscano1370db42021-03-03 21:31:11 +010063 name: cinder-tempest-plugin-lvm-barbican-base
64 description: |
65 This is a base job for lvm with lio & tgt targets
66 with cinderlib tests.
67 branches: ^(?!stable/(ocata|pike|queens|rocky|stein)).*$
68 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
69 roles:
70 - zuul: opendev.org/openstack/cinderlib
71 required-projects:
72 - opendev.org/openstack/cinderlib
73 run: playbooks/tempest-and-cinderlib-run.yaml
74 # Required to collect the tox-based logs of the cinderlib functional tests
75 post-run: playbooks/post-cinderlib.yaml
76 vars:
77 fetch_subunit_output_additional_dirs:
78 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
79
80- job:
81 name: cinder-tempest-plugin-lvm-barbican-base
82 description: |
83 This is a base job for lvm with lio & tgt targets
84 branches: ^(?=stable/(ocata|pike|queens|rocky|stein)).*$
85 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
86
87- job:
Sofia Enriquezf44ff142020-04-03 20:04:22 +000088 name: cinder-tempest-plugin-cbak-ceph
89 parent: devstack-plugin-ceph-tempest-py3
90 description: |
91 Integration tests that runs with the ceph devstack plugin, py3
92 and enable the backup service.
93 vars:
Luigi Toscano9d626d02020-06-03 16:56:47 +020094 tempest_black_regex: '(VolumesBackupsTest.test_bootable_volume_backup_and_restore|TestVolumeBackupRestore.test_volume_backup_restore)'
Luigi Toscanoa571b392020-04-17 19:30:23 +020095 devstack_local_conf:
96 test-config:
97 $TEMPEST_CONFIG:
98 volume-feature-enabled:
99 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000100 devstack_services:
101 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500102
Luigi Toscanoa571b392020-04-17 19:30:23 +0200103# variant for pre-Ussuri branches (no volume revert for Ceph),
104# should this job be used on those branches
105- job:
106 name: cinder-tempest-plugin-cbak-ceph
107 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
108 vars:
Luigi Toscano9d626d02020-06-03 16:56:47 +0200109 tempest_black_regex: ''
Luigi Toscanoa571b392020-04-17 19:30:23 +0200110 devstack_local_conf:
111 test-config:
112 $TEMPEST_CONFIG:
113 volume-feature-enabled:
114 volume_revert: False
115
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500116- job:
117 name: cinder-tempest-plugin-lvm-lio-barbican
118 description: |
119 This jobs configures Cinder with LVM, LIO, barbican and
120 runs tempest tests and cinderlib tests.
121 parent: cinder-tempest-plugin-lvm-barbican-base
122 vars:
123 devstack_localrc:
124 CINDER_ISCSI_HELPER: lioadm
125
126- job:
Luigi Toscanof1441832020-05-01 19:33:21 +0200127 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8
128 parent: cinder-tempest-plugin-lvm-lio-barbican
129 nodeset: devstack-single-node-centos-8
130 description: |
131 This jobs configures Cinder with LVM, LIO, barbican and
132 runs tempest tests and cinderlib tests on CentOS 8.
133
134- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500135 name: cinder-tempest-plugin-lvm-tgt-barbican
136 description: |
137 This jobs configures Cinder with LVM, tgt, barbican and
138 runs tempest tests and cinderlib tests.
139 parent: cinder-tempest-plugin-lvm-barbican-base
Ghanshyam Mann93621532020-05-05 18:47:12 -0500140
141- job:
142 name: cinder-tempest-plugin-basic
143 parent: devstack-tempest
144 description: |
145 Cinder tempest plugin tests job which run only cinder-tempest-plugin
146 tests.
147 required-projects:
148 - opendev.org/openstack/cinder-tempest-plugin
149 vars:
150 devstack_localrc:
151 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
152 tox_envlist: all
153 tempest_test_regex: cinder_tempest_plugin
154 tempest_plugins:
155 - cinder-tempest-plugin
156 irrelevant-files:
157 - ^.*\.rst$
158 - ^doc/.*$
159 - ^releasenotes/.*$
160
161- job:
Luigi Toscano3f52f352021-01-05 22:09:29 +0100162 name: cinder-tempest-plugin-basic-victoria
163 parent: cinder-tempest-plugin-basic
164 nodeset: openstack-single-node-focal
165 override-checkout: stable/victoria
166
167- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500168 name: cinder-tempest-plugin-basic-ussuri
169 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500170 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500171 override-checkout: stable/ussuri
172
173- job:
174 name: cinder-tempest-plugin-basic-train
175 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500176 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500177 override-checkout: stable/train
178 vars:
179 devstack_localrc:
180 USE_PYTHON3: True