blob: 27001afdf469ddf81ae1a70ac6b29773012e41e1 [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:
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
Luigi Toscanoa571b392020-04-17 19:30:23 +020026 timeout: 10800
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010027 roles:
28 - zuul: opendev.org/openstack/cinderlib
Chandan Kumar23e5b632018-01-04 23:36:43 +053029 required-projects:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010030 - opendev.org/openstack/barbican
31 - opendev.org/openstack/tempest
32 - opendev.org/openstack/cinder-tempest-plugin
33 - opendev.org/openstack/cinder
34 - opendev.org/openstack/cinderlib
35 run: playbooks/tempest-and-cinderlib-run.yaml
36 # Required to collect the tox-based logs of the cinderlib functional tests
37 post-run: playbooks/post-cinderlib.yaml
38 host-vars:
39 controller:
40 devstack_plugins:
41 barbican: https://opendev.org/openstack/barbican
Chandan Kumar23e5b632018-01-04 23:36:43 +053042 vars:
Sofia Enriquezf44ff142020-04-03 20:04:22 +000043 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
44 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 -040045 tox_envlist: all
Chandan Kumar23e5b632018-01-04 23:36:43 +053046 devstack_localrc:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010047 CINDER_LVM_TYPE: thin
48 CINDER_COORDINATION_URL: 'file://\$state_path'
Luigi Toscanoa571b392020-04-17 19:30:23 +020049 devstack_local_conf:
50 test-config:
51 $TEMPEST_CONFIG:
Luigi Toscano5d7847c2021-02-25 22:16:32 +010052 auth:
53 # FIXME: 'creator' should be re-added by the barbican devstack plugin
54 # but the value below override everything.
55 tempest_roles: member,creator
Luigi Toscanoa571b392020-04-17 19:30:23 +020056 volume-feature-enabled:
57 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +053058 devstack_services:
59 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010060 tempest_plugins:
61 - cinder-tempest-plugin
62 fetch_subunit_output_additional_dirs:
63 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
Chandan Kumar23e5b632018-01-04 23:36:43 +053064 irrelevant-files:
65 - ^.*\.rst$
66 - ^doc/.*$
67 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +000068
69- job:
70 name: cinder-tempest-plugin-cbak-ceph
71 parent: devstack-plugin-ceph-tempest-py3
72 description: |
73 Integration tests that runs with the ceph devstack plugin, py3
74 and enable the backup service.
75 vars:
Luigi Toscano9d626d02020-06-03 16:56:47 +020076 tempest_black_regex: '(VolumesBackupsTest.test_bootable_volume_backup_and_restore|TestVolumeBackupRestore.test_volume_backup_restore)'
Luigi Toscanoa571b392020-04-17 19:30:23 +020077 devstack_local_conf:
78 test-config:
79 $TEMPEST_CONFIG:
80 volume-feature-enabled:
81 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +000082 devstack_services:
83 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -050084
Luigi Toscanoa571b392020-04-17 19:30:23 +020085# variant for pre-Ussuri branches (no volume revert for Ceph),
86# should this job be used on those branches
87- job:
88 name: cinder-tempest-plugin-cbak-ceph
89 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
90 vars:
Luigi Toscano9d626d02020-06-03 16:56:47 +020091 tempest_black_regex: ''
Luigi Toscanoa571b392020-04-17 19:30:23 +020092 devstack_local_conf:
93 test-config:
94 $TEMPEST_CONFIG:
95 volume-feature-enabled:
96 volume_revert: False
97
Eric Harneyfb18e1a2018-01-24 16:14:13 -050098- job:
99 name: cinder-tempest-plugin-lvm-lio-barbican
100 description: |
101 This jobs configures Cinder with LVM, LIO, barbican and
102 runs tempest tests and cinderlib tests.
103 parent: cinder-tempest-plugin-lvm-barbican-base
104 vars:
105 devstack_localrc:
106 CINDER_ISCSI_HELPER: lioadm
107
108- job:
Luigi Toscanof1441832020-05-01 19:33:21 +0200109 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8
110 parent: cinder-tempest-plugin-lvm-lio-barbican
111 nodeset: devstack-single-node-centos-8
112 description: |
113 This jobs configures Cinder with LVM, LIO, barbican and
114 runs tempest tests and cinderlib tests on CentOS 8.
115
116- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500117 name: cinder-tempest-plugin-lvm-tgt-barbican
118 description: |
119 This jobs configures Cinder with LVM, tgt, barbican and
120 runs tempest tests and cinderlib tests.
121 parent: cinder-tempest-plugin-lvm-barbican-base
Ghanshyam Mann93621532020-05-05 18:47:12 -0500122
123- job:
124 name: cinder-tempest-plugin-basic
125 parent: devstack-tempest
126 description: |
127 Cinder tempest plugin tests job which run only cinder-tempest-plugin
128 tests.
129 required-projects:
130 - opendev.org/openstack/cinder-tempest-plugin
131 vars:
132 devstack_localrc:
133 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
134 tox_envlist: all
135 tempest_test_regex: cinder_tempest_plugin
136 tempest_plugins:
137 - cinder-tempest-plugin
138 irrelevant-files:
139 - ^.*\.rst$
140 - ^doc/.*$
141 - ^releasenotes/.*$
142
143- job:
Luigi Toscano3f52f352021-01-05 22:09:29 +0100144 name: cinder-tempest-plugin-basic-victoria
145 parent: cinder-tempest-plugin-basic
146 nodeset: openstack-single-node-focal
147 override-checkout: stable/victoria
148
149- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500150 name: cinder-tempest-plugin-basic-ussuri
151 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500152 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500153 override-checkout: stable/ussuri
154
155- job:
156 name: cinder-tempest-plugin-basic-train
157 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500158 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500159 override-checkout: stable/train
160 vars:
161 devstack_localrc:
162 USE_PYTHON3: True