blob: 8130657a257456ef2c8051a471bdd9fc1f6878ad [file] [log] [blame]
rajat290fc826d2017-11-21 00:06:00 +05301- job:
Felipe Monteiro25949b82017-11-29 23:25:34 +00002 name: patrole-base
Felipe Monteiro097d94c2018-02-25 13:48:14 +00003 parent: devstack-tempest
Mykola Yakovlievd0671482018-07-23 12:13:02 -05004 description: |
Doug Schveninger8e3b0322020-08-15 19:34:46 -05005 Patrole base job for admin,member and reader roles. This job executes RBAC tests
Doug Hellmann4635c6a2018-09-08 22:52:43 -04006 for all the "core" services that Tempest covers, excluding Swift.
Felipe Monteiro097d94c2018-02-25 13:48:14 +00007 required-projects:
Doug Schveninger8e3b0322020-08-15 19:34:46 -05008 - name: opendev.org/openstack/tempest
9 - name: opendev.org/openstack/patrole
rajat290fc826d2017-11-21 00:06:00 +053010 timeout: 7800
Felipe Monteiro097d94c2018-02-25 13:48:14 +000011 roles:
Doug Schveninger8e3b0322020-08-15 19:34:46 -050012 - zuul: opendev.org/openstack/devstack
ghanshyamb6888232018-11-04 12:54:58 +000013 # Define common irrelevant files to use everywhere else
14 irrelevant-files: &patrole-irrelevant-files
rajat290fc826d2017-11-21 00:06:00 +053015 - ^(test-|)requirements.txt$
16 - ^.*\.rst$
17 - ^doc/.*
Felipe Monteirod1a87c52018-11-01 11:34:29 -040018 - ^etc/.*$
Felipe Monteiro825d7942018-11-13 23:40:45 -060019 - ^patrole_tempest_plugin/tests/unit/.*$
20 - ^patrole_tempest_plugin/hacking/.*$
rajat290fc826d2017-11-21 00:06:00 +053021 - ^releasenotes/.*
22 - ^setup.cfg$
Felipe Monteiro097d94c2018-02-25 13:48:14 +000023 vars:
ps39106b229a72019-07-10 21:54:44 -070024 tempest_plugins:
25 - patrole
Felipe Monteiro097d94c2018-02-25 13:48:14 +000026 devstack_plugins:
OpenDev Sysadminseedb0392019-04-19 19:33:57 +000027 patrole: https://opendev.org/openstack/patrole.git
Felipe Monteiro097d94c2018-02-25 13:48:14 +000028 devstack_services:
29 tempest: true
30 neutron: true
Mykola Yakovliev04b26282018-07-23 12:13:02 -050031 neutron-trunk: true
Felipe Monteiro097d94c2018-02-25 13:48:14 +000032 tempest_test_regex: (?!.*\[.*\bslow\b.*\])(^patrole_tempest_plugin\.tests\.api)
Felipe Monteiro0d3c7432018-10-28 02:14:22 +000033 tox_envlist: all
34 tox_extra_args: --sitepackages
rajat290fc826d2017-11-21 00:06:00 +053035
36- job:
Felipe Monteiro25949b82017-11-29 23:25:34 +000037 name: patrole-base-multinode
Ghanshyam Mann51368ef2020-02-03 13:19:03 -060038 parent: tempest-multinode-full-py3
Felipe Monteiro318fa3b2018-06-19 16:53:33 -040039 description: |-
40 Patrole base job for multinode and "slow" tests where "slow" tests include:
41
42 * Tests that take more than ~30 seconds to run.
43 * Tests that experience spurious failures related to servers, volumes,
44 backups and similar resources failing to build.
rajat290fc826d2017-11-21 00:06:00 +053045 timeout: 7800
Felipe Monteiro318fa3b2018-06-19 16:53:33 -040046 branches:
47 - master
48 required-projects:
Doug Schveninger8e3b0322020-08-15 19:34:46 -050049 - opendev.org/openstack/devstack-gate
50 - opendev.org/openstack/tempest
51 - opendev.org/openstack/patrole
ghanshyamb6888232018-11-04 12:54:58 +000052 irrelevant-files: *patrole-irrelevant-files
Felipe Monteiro318fa3b2018-06-19 16:53:33 -040053 vars:
ps39106b229a72019-07-10 21:54:44 -070054 tempest_plugins:
55 - patrole
Felipe Monteiro318fa3b2018-06-19 16:53:33 -040056 devstack_plugins:
OpenDev Sysadminseedb0392019-04-19 19:33:57 +000057 patrole: https://opendev.org/openstack/patrole.git
Felipe Monteiro318fa3b2018-06-19 16:53:33 -040058 devstack_services:
59 tempest: true
60 neutron: true
61 tempest_concurrency: 1
62 tempest_test_regex: (?=.*\[.*\bslow\b.*\])(^patrole_tempest_plugin\.tests\.api)
Felipe Monteiro0d3c7432018-10-28 02:14:22 +000063 tox_envlist: all
64 tox_extra_args: --sitepackages
rajat290fc826d2017-11-21 00:06:00 +053065
66- job:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +090067 name: patrole-admin
Felipe Monteiro25949b82017-11-29 23:25:34 +000068 parent: patrole-base
Felipe Monteiro097d94c2018-02-25 13:48:14 +000069 description: Patrole job for admin role.
70 vars:
71 devstack_localrc:
Mykola Yakovlieve0f35502018-09-26 18:26:57 -050072 RBAC_TEST_ROLES: admin
rajat290fc826d2017-11-21 00:06:00 +053073
74- job:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +090075 name: patrole-member
Felipe Monteiro25949b82017-11-29 23:25:34 +000076 parent: patrole-base
Felipe Monteiro2fc29292018-06-15 18:26:27 -040077 description: Patrole job for member role.
Felipe Monteiro4c3ae9b2018-02-25 18:33:32 +000078 # This currently works from stable/pike onward.
ghanshyama78dcae2018-11-22 08:50:47 +000079 branches: ^(?!stable/ocata).*$
Felipe Monteiro097d94c2018-02-25 13:48:14 +000080 vars:
81 devstack_localrc:
Mykola Yakovlieve0f35502018-09-26 18:26:57 -050082 RBAC_TEST_ROLES: member
rajat290fc826d2017-11-21 00:06:00 +053083
Doug Schveninger8e3b0322020-08-15 19:34:46 -050084
rajat290fc826d2017-11-21 00:06:00 +053085- job:
Sergey Vilgelm11e0c662019-01-25 16:05:56 -060086 name: patrole-reader
87 parent: patrole-base
88 description: Patrole job for reader role.
89 # This currently works from stable/stein onward.
90 branches: ^(?!stable/(ocata|pike|queens|rocky)).*$
Sergey Vilgelm11e0c662019-01-25 16:05:56 -060091 vars:
92 devstack_localrc:
93 RBAC_TEST_ROLES: reader
94
95- job:
Vishakha Agarwala19f3db2020-05-02 21:09:33 +053096 name: patrole-member-ussuri
97 parent: patrole-member
Ghanshyam Mann8592e582020-07-09 15:42:19 -050098 nodeset: openstack-single-node-bionic
Vishakha Agarwala19f3db2020-05-02 21:09:33 +053099 override-checkout: stable/ussuri
100
101- job:
Ghanshyam Mann6d97d0f2020-01-06 19:58:59 +0000102 name: patrole-member-train
103 parent: patrole-member
Ghanshyam Mann8592e582020-07-09 15:42:19 -0500104 nodeset: openstack-single-node-bionic
Ghanshyam Mann6d97d0f2020-01-06 19:58:59 +0000105 override-checkout: stable/train
106 vars:
107 devstack_localrc:
108 USE_PYTHON3: True
109
110- job:
ghanshyamb3606a02019-03-27 22:11:45 +0000111 name: patrole-member-stein
112 parent: patrole-member
Ghanshyam Mann8592e582020-07-09 15:42:19 -0500113 nodeset: openstack-single-node-bionic
ghanshyamb3606a02019-03-27 22:11:45 +0000114 override-checkout: stable/stein
Ghanshyam Mann51368ef2020-02-03 13:19:03 -0600115 vars:
116 devstack_localrc:
117 USE_PYTHON3: True
ghanshyamb3606a02019-03-27 22:11:45 +0000118
119- job:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +0900120 name: patrole-multinode-admin
Felipe Monteiro25949b82017-11-29 23:25:34 +0000121 parent: patrole-base-multinode
rajat290fc826d2017-11-21 00:06:00 +0530122 voting: false
Felipe Monteiro318fa3b2018-06-19 16:53:33 -0400123 vars:
124 devstack_localrc:
Mykola Yakovlieve0f35502018-09-26 18:26:57 -0500125 RBAC_TEST_ROLES: admin
rajat290fc826d2017-11-21 00:06:00 +0530126
127- job:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +0900128 name: patrole-multinode-member
Felipe Monteiro25949b82017-11-29 23:25:34 +0000129 parent: patrole-base-multinode
rajat290fc826d2017-11-21 00:06:00 +0530130 voting: false
Felipe Monteiro318fa3b2018-06-19 16:53:33 -0400131 vars:
132 devstack_localrc:
Mykola Yakovlieve0f35502018-09-26 18:26:57 -0500133 RBAC_TEST_ROLES: member
rajat290fc826d2017-11-21 00:06:00 +0530134
135- job:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +0900136 name: patrole-py35-member
Felipe Monteiro25949b82017-11-29 23:25:34 +0000137 parent: patrole-base
Felipe Monteiro2fc29292018-06-15 18:26:27 -0400138 description: Patrole py35 job for member role.
Felipe Monteiro097d94c2018-02-25 13:48:14 +0000139 vars:
140 devstack_localrc:
Felipe Monteiro2fc29292018-06-15 18:26:27 -0400141 # Use member for py35 because arguably negative testing is more
Felipe Monteiro097d94c2018-02-25 13:48:14 +0000142 # important than admin, which is already covered by patrole-admin job.
Mykola Yakovlieve0f35502018-09-26 18:26:57 -0500143 RBAC_TEST_ROLES: member
Doug Hellmann8669a512018-03-22 17:42:03 -0400144 USE_PYTHON3: true
Felipe Monteiro097d94c2018-02-25 13:48:14 +0000145 devstack_services:
146 s-account: false
147 s-container: false
148 s-object: false
149 s-proxy: false
150 # Without Swift, c-bak cannot run (in the gate at least).
151 c-bak: false
rajat290fc826d2017-11-21 00:06:00 +0530152
Mykola Yakovlievd0671482018-07-23 12:13:02 -0500153- job:
Felipe Monteirobbbdd932018-10-31 23:28:39 -0400154 name: patrole-extension-base
Mykola Yakovlievd0671482018-07-23 12:13:02 -0500155 parent: patrole-base
156 description: |
Felipe Monteirobbbdd932018-10-31 23:28:39 -0400157 Patrole plugin job for admin and member roles which runs RBAC tests for
158 neutron-tempest-plugin APIs (if the plugin is installed).
159
160 Covers Neutron extension functionality only. Should not be used for
161 supporting Neutron plugins like fwaas.
Mykola Yakovlievd0671482018-07-23 12:13:02 -0500162 required-projects:
Doug Schveninger8e3b0322020-08-15 19:34:46 -0500163 - name: opendev.org/openstack/tempest
164 - name: opendev.org/openstack/patrole
165 - name: opendev.org/openstack/neutron-tempest-plugin
Mykola Yakovlievd0671482018-07-23 12:13:02 -0500166 vars:
ps39106b229a72019-07-10 21:54:44 -0700167 tempest_plugins:
168 - patrole
169 - neutron-tempest-plugin
Mykola Yakovlievd0671482018-07-23 12:13:02 -0500170 devstack_plugins:
OpenDev Sysadminseedb0392019-04-19 19:33:57 +0000171 neutron: https://opendev.org/openstack/neutron.git
172 patrole: https://opendev.org/openstack/patrole.git
173 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
Mykola Yakovlievd0671482018-07-23 12:13:02 -0500174 devstack_services:
175 tempest: true
176 neutron: true
177 neutron-segments: true
Mykola Yakovliev56bb7312018-08-16 18:34:10 -0500178 neutron-qos: true
Felipe Monteirobbbdd932018-10-31 23:28:39 -0400179 tempest_test_regex: (?=.*ExtRbacTest)(^patrole_tempest_plugin\.tests\.api)
Mykola Yakovlievd0671482018-07-23 12:13:02 -0500180
181- job:
Felipe Monteirobbbdd932018-10-31 23:28:39 -0400182 name: patrole-extension-admin
183 parent: patrole-extension-base
Mykola Yakovlievd0671482018-07-23 12:13:02 -0500184 voting: false
185 vars:
186 devstack_localrc:
Mykola Yakovlieve0f35502018-09-26 18:26:57 -0500187 RBAC_TEST_ROLES: admin
Sergey Vilgelm11e0c662019-01-25 16:05:56 -0600188
189- job:
190 name: patrole-extension-member
191 parent: patrole-extension-base
192 voting: false
193 vars:
194 devstack_localrc:
195 RBAC_TEST_ROLES: member
Mykola Yakovlievd0671482018-07-23 12:13:02 -0500196
rajat290fc826d2017-11-21 00:06:00 +0530197- project:
Felipe Monteirof4cb74c2018-08-19 17:18:56 +0100198 templates:
Andreas Jaegera3c15da2018-09-09 06:39:31 +0200199 - openstack-cover-jobs
200 - openstack-lower-constraints-jobs
Vishakha Agarwal15d8f262020-05-05 13:23:05 +0530201 - openstack-python3-victoria-jobs
Doug Hellmann4635c6a2018-09-08 22:52:43 -0400202 - check-requirements
Doug Hellmannd720bad2018-09-08 22:54:03 -0400203 - publish-openstack-docs-pti
204 - release-notes-jobs-python3
rajat290fc826d2017-11-21 00:06:00 +0530205 check:
206 jobs:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +0900207 - patrole-admin
208 - patrole-member
Sergey Vilgelm11e0c662019-01-25 16:05:56 -0600209 - patrole-reader
Vishakha Agarwala19f3db2020-05-02 21:09:33 +0530210 - patrole-member-ussuri
Ghanshyam Mann6d97d0f2020-01-06 19:58:59 +0000211 - patrole-member-train
ghanshyamb3606a02019-03-27 22:11:45 +0000212 - patrole-member-stein
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +0900213 - patrole-multinode-admin
214 - patrole-multinode-member
Felipe Monteirobbbdd932018-10-31 23:28:39 -0400215 - patrole-extension-admin
216 - patrole-extension-member
rajat290fc826d2017-11-21 00:06:00 +0530217 gate:
218 jobs:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +0900219 - patrole-admin
220 - patrole-member
Felipe Monteiro1bee1422018-08-28 21:19:32 -0400221 periodic-stable:
222 jobs:
Vishakha Agarwala19f3db2020-05-02 21:09:33 +0530223 - patrole-member-ussuri
Ghanshyam Mann6d97d0f2020-01-06 19:58:59 +0000224 - patrole-member-train
ghanshyamb3606a02019-03-27 22:11:45 +0000225 - patrole-member-stein