blob: 58ef38e0430a8665f1536b2d14b61a3232109001 [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))'
Ghanshyam Mann8e0986f2021-02-11 13:31:08 -060046 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 -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:
Luigi Toscano5d7847c2021-02-25 22:16:32 +010054 auth:
55 # FIXME: 'creator' should be re-added by the barbican devstack plugin
56 # but the value below override everything.
57 tempest_roles: member,creator
Luigi Toscanoa571b392020-04-17 19:30:23 +020058 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:
Ghanshyam Mann8e0986f2021-02-11 13:31:08 -060078 tempest_exclude_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:
Ghanshyam Mann8e0986f2021-02-11 13:31:08 -060093 tempest_exclude_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
Lee Yarwood1ee1efc2021-03-10 09:34:31 +0000124 vars:
125 devstack_localrc:
126 CINDER_ISCSI_HELPER: tgtadm
Ghanshyam Mann93621532020-05-05 18:47:12 -0500127
128- job:
129 name: cinder-tempest-plugin-basic
130 parent: devstack-tempest
131 description: |
132 Cinder tempest plugin tests job which run only cinder-tempest-plugin
133 tests.
134 required-projects:
135 - opendev.org/openstack/cinder-tempest-plugin
136 vars:
137 devstack_localrc:
138 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
139 tox_envlist: all
140 tempest_test_regex: cinder_tempest_plugin
141 tempest_plugins:
142 - cinder-tempest-plugin
143 irrelevant-files:
144 - ^.*\.rst$
145 - ^doc/.*$
146 - ^releasenotes/.*$
147
148- job:
Luigi Toscano3f52f352021-01-05 22:09:29 +0100149 name: cinder-tempest-plugin-basic-victoria
150 parent: cinder-tempest-plugin-basic
151 nodeset: openstack-single-node-focal
152 override-checkout: stable/victoria
153
154- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500155 name: cinder-tempest-plugin-basic-ussuri
156 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500157 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500158 override-checkout: stable/ussuri
159
160- job:
161 name: cinder-tempest-plugin-basic-train
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/train
165 vars:
166 devstack_localrc:
167 USE_PYTHON3: True