blob: 58e10952a91e8cac96770e835357107ff0e41357 [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:
52 volume-feature-enabled:
53 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +053054 devstack_services:
55 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010056 tempest_plugins:
57 - cinder-tempest-plugin
58 fetch_subunit_output_additional_dirs:
59 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
Chandan Kumar23e5b632018-01-04 23:36:43 +053060 irrelevant-files:
61 - ^.*\.rst$
62 - ^doc/.*$
63 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +000064
65- job:
66 name: cinder-tempest-plugin-cbak-ceph
67 parent: devstack-plugin-ceph-tempest-py3
68 description: |
69 Integration tests that runs with the ceph devstack plugin, py3
70 and enable the backup service.
71 vars:
Luigi Toscano9d626d02020-06-03 16:56:47 +020072 tempest_black_regex: '(VolumesBackupsTest.test_bootable_volume_backup_and_restore|TestVolumeBackupRestore.test_volume_backup_restore)'
Luigi Toscanoa571b392020-04-17 19:30:23 +020073 devstack_local_conf:
74 test-config:
75 $TEMPEST_CONFIG:
76 volume-feature-enabled:
77 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +000078 devstack_services:
79 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -050080
Luigi Toscanoa571b392020-04-17 19:30:23 +020081# variant for pre-Ussuri branches (no volume revert for Ceph),
82# should this job be used on those branches
83- job:
84 name: cinder-tempest-plugin-cbak-ceph
85 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
86 vars:
Luigi Toscano9d626d02020-06-03 16:56:47 +020087 tempest_black_regex: ''
Luigi Toscanoa571b392020-04-17 19:30:23 +020088 devstack_local_conf:
89 test-config:
90 $TEMPEST_CONFIG:
91 volume-feature-enabled:
92 volume_revert: False
93
Eric Harneyfb18e1a2018-01-24 16:14:13 -050094- job:
95 name: cinder-tempest-plugin-lvm-lio-barbican
96 description: |
97 This jobs configures Cinder with LVM, LIO, barbican and
98 runs tempest tests and cinderlib tests.
99 parent: cinder-tempest-plugin-lvm-barbican-base
100 vars:
101 devstack_localrc:
102 CINDER_ISCSI_HELPER: lioadm
103
104- job:
Luigi Toscanof1441832020-05-01 19:33:21 +0200105 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8
106 parent: cinder-tempest-plugin-lvm-lio-barbican
107 nodeset: devstack-single-node-centos-8
108 description: |
109 This jobs configures Cinder with LVM, LIO, barbican and
110 runs tempest tests and cinderlib tests on CentOS 8.
111
112- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500113 name: cinder-tempest-plugin-lvm-tgt-barbican
114 description: |
115 This jobs configures Cinder with LVM, tgt, barbican and
116 runs tempest tests and cinderlib tests.
117 parent: cinder-tempest-plugin-lvm-barbican-base
Ghanshyam Mann93621532020-05-05 18:47:12 -0500118
119- job:
120 name: cinder-tempest-plugin-basic
121 parent: devstack-tempest
122 description: |
123 Cinder tempest plugin tests job which run only cinder-tempest-plugin
124 tests.
125 required-projects:
126 - opendev.org/openstack/cinder-tempest-plugin
127 vars:
128 devstack_localrc:
129 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
130 tox_envlist: all
131 tempest_test_regex: cinder_tempest_plugin
132 tempest_plugins:
133 - cinder-tempest-plugin
134 irrelevant-files:
135 - ^.*\.rst$
136 - ^doc/.*$
137 - ^releasenotes/.*$
138
139- job:
Luigi Toscano3f52f352021-01-05 22:09:29 +0100140 name: cinder-tempest-plugin-basic-victoria
141 parent: cinder-tempest-plugin-basic
142 nodeset: openstack-single-node-focal
143 override-checkout: stable/victoria
144
145- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500146 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