blob: 2a04353c4e1e5fd1e3f48b897b9821b60d552ceb [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
Ghanshyam Mann93621532020-05-05 18:47:12 -050012 - cinder-tempest-plugin-basic-ussuri
13 - cinder-tempest-plugin-basic-train
14 - cinder-tempest-plugin-basic-stein
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:
Eric Harneyfb18e1a2018-01-24 16:14:13 -050022 name: cinder-tempest-plugin-lvm-barbican-base
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
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -050026 # 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 Toscanoa571b392020-04-17 19:30:23 +020032 timeout: 10800
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010033 roles:
34 - zuul: opendev.org/openstack/cinderlib
Chandan Kumar23e5b632018-01-04 23:36:43 +053035 required-projects:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010036 - 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 Kumar23e5b632018-01-04 23:36:43 +053048 vars:
Sofia Enriquezf44ff142020-04-03 20:04:22 +000049 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 Hellmann4a63cd52018-09-09 05:49:23 -040051 tox_envlist: all
Chandan Kumar23e5b632018-01-04 23:36:43 +053052 devstack_localrc:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010053 CINDER_LVM_TYPE: thin
54 CINDER_COORDINATION_URL: 'file://\$state_path'
Luigi Toscanoa571b392020-04-17 19:30:23 +020055 devstack_local_conf:
56 test-config:
57 $TEMPEST_CONFIG:
58 volume-feature-enabled:
59 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +053060 devstack_services:
61 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010062 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 Kumar23e5b632018-01-04 23:36:43 +053066 irrelevant-files:
67 - ^.*\.rst$
68 - ^doc/.*$
69 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +000070
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 Toscano9d626d02020-06-03 16:56:47 +020078 tempest_black_regex: '(VolumesBackupsTest.test_bootable_volume_backup_and_restore|TestVolumeBackupRestore.test_volume_backup_restore)'
Luigi Toscanoa571b392020-04-17 19:30:23 +020079 devstack_local_conf:
80 test-config:
81 $TEMPEST_CONFIG:
82 volume-feature-enabled:
83 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +000084 devstack_services:
85 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -050086
Luigi Toscanoa571b392020-04-17 19:30:23 +020087# 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 Toscano9d626d02020-06-03 16:56:47 +020093 tempest_black_regex: ''
Luigi Toscanoa571b392020-04-17 19:30:23 +020094 devstack_local_conf:
95 test-config:
96 $TEMPEST_CONFIG:
97 volume-feature-enabled:
98 volume_revert: False
99
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500100- 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 Toscanof1441832020-05-01 19:33:21 +0200111 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 Harneyfb18e1a2018-01-24 16:14:13 -0500119 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 Mann93621532020-05-05 18:47:12 -0500124
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 Mann4ca01a22020-07-26 17:39:40 -0500148 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500149 override-checkout: stable/ussuri
150
151- job:
152 name: cinder-tempest-plugin-basic-train
153 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500154 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500155 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 Mann4ca01a22020-07-26 17:39:40 -0500163 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500164 override-checkout: stable/stein
165 vars:
166 devstack_localrc:
167 USE_PYTHON3: True