blob: 4f3ddf7baa082891bcf5e2835e7b6cd8ca1b2329 [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
Chandan Kumar23e5b632018-01-04 23:36:43 +053022
23- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -050024 name: cinder-tempest-plugin-lvm-barbican-base
Chandan Kumar23e5b632018-01-04 23:36:43 +053025 description: |
Eric Harneyfb18e1a2018-01-24 16:14:13 -050026 This is a base job for lvm with lio & tgt targets
Chandan Kumar23e5b632018-01-04 23:36:43 +053027 parent: devstack-tempest
Luigi Toscanoa571b392020-04-17 19:30:23 +020028 timeout: 10800
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010029 roles:
30 - zuul: opendev.org/openstack/cinderlib
Chandan Kumar23e5b632018-01-04 23:36:43 +053031 required-projects:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010032 - opendev.org/openstack/barbican
33 - opendev.org/openstack/tempest
34 - opendev.org/openstack/cinder-tempest-plugin
35 - opendev.org/openstack/cinder
36 - opendev.org/openstack/cinderlib
37 run: playbooks/tempest-and-cinderlib-run.yaml
38 # Required to collect the tox-based logs of the cinderlib functional tests
39 post-run: playbooks/post-cinderlib.yaml
40 host-vars:
41 controller:
42 devstack_plugins:
43 barbican: https://opendev.org/openstack/barbican
Chandan Kumar23e5b632018-01-04 23:36:43 +053044 vars:
Sofia Enriquezf44ff142020-04-03 20:04:22 +000045 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
46 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 -040047 tox_envlist: all
Chandan Kumar23e5b632018-01-04 23:36:43 +053048 devstack_localrc:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010049 CINDER_LVM_TYPE: thin
50 CINDER_COORDINATION_URL: 'file://\$state_path'
Luigi Toscanoa571b392020-04-17 19:30:23 +020051 devstack_local_conf:
52 test-config:
53 $TEMPEST_CONFIG:
54 volume-feature-enabled:
55 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +053056 devstack_services:
57 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010058 tempest_plugins:
59 - cinder-tempest-plugin
60 fetch_subunit_output_additional_dirs:
61 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
Chandan Kumar23e5b632018-01-04 23:36:43 +053062 irrelevant-files:
63 - ^.*\.rst$
64 - ^doc/.*$
65 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +000066
67- job:
68 name: cinder-tempest-plugin-cbak-ceph
69 parent: devstack-plugin-ceph-tempest-py3
70 description: |
71 Integration tests that runs with the ceph devstack plugin, py3
72 and enable the backup service.
73 vars:
Luigi Toscano9d626d02020-06-03 16:56:47 +020074 tempest_black_regex: '(VolumesBackupsTest.test_bootable_volume_backup_and_restore|TestVolumeBackupRestore.test_volume_backup_restore)'
Luigi Toscanoa571b392020-04-17 19:30:23 +020075 devstack_local_conf:
76 test-config:
77 $TEMPEST_CONFIG:
78 volume-feature-enabled:
79 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +000080 devstack_services:
81 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -050082
Luigi Toscanoa571b392020-04-17 19:30:23 +020083# variant for pre-Ussuri branches (no volume revert for Ceph),
84# should this job be used on those branches
85- job:
86 name: cinder-tempest-plugin-cbak-ceph
87 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
88 vars:
Luigi Toscano9d626d02020-06-03 16:56:47 +020089 tempest_black_regex: ''
Luigi Toscanoa571b392020-04-17 19:30:23 +020090 devstack_local_conf:
91 test-config:
92 $TEMPEST_CONFIG:
93 volume-feature-enabled:
94 volume_revert: False
95
Eric Harneyfb18e1a2018-01-24 16:14:13 -050096- job:
97 name: cinder-tempest-plugin-lvm-lio-barbican
98 description: |
99 This jobs configures Cinder with LVM, LIO, barbican and
100 runs tempest tests and cinderlib tests.
101 parent: cinder-tempest-plugin-lvm-barbican-base
102 vars:
103 devstack_localrc:
104 CINDER_ISCSI_HELPER: lioadm
105
106- job:
Luigi Toscanof1441832020-05-01 19:33:21 +0200107 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8
108 parent: cinder-tempest-plugin-lvm-lio-barbican
109 nodeset: devstack-single-node-centos-8
110 description: |
111 This jobs configures Cinder with LVM, LIO, barbican and
112 runs tempest tests and cinderlib tests on CentOS 8.
113
114- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500115 name: cinder-tempest-plugin-lvm-tgt-barbican
116 description: |
117 This jobs configures Cinder with LVM, tgt, barbican and
118 runs tempest tests and cinderlib tests.
119 parent: cinder-tempest-plugin-lvm-barbican-base
Ghanshyam Mann93621532020-05-05 18:47:12 -0500120
121- job:
122 name: cinder-tempest-plugin-basic
123 parent: devstack-tempest
124 description: |
125 Cinder tempest plugin tests job which run only cinder-tempest-plugin
126 tests.
127 required-projects:
128 - opendev.org/openstack/cinder-tempest-plugin
129 vars:
130 devstack_localrc:
131 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
132 tox_envlist: all
133 tempest_test_regex: cinder_tempest_plugin
134 tempest_plugins:
135 - cinder-tempest-plugin
136 irrelevant-files:
137 - ^.*\.rst$
138 - ^doc/.*$
139 - ^releasenotes/.*$
140
141- job:
Luigi Toscano3f52f352021-01-05 22:09:29 +0100142 name: cinder-tempest-plugin-basic-victoria
143 parent: cinder-tempest-plugin-basic
144 nodeset: openstack-single-node-focal
145 override-checkout: stable/victoria
146
147- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500148 name: cinder-tempest-plugin-basic-ussuri
149 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500150 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500151 override-checkout: stable/ussuri
152
153- job:
154 name: cinder-tempest-plugin-basic-train
155 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500156 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500157 override-checkout: stable/train
158 vars:
159 devstack_localrc:
160 USE_PYTHON3: True