rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 1 | - job: |
Felipe Monteiro | 25949b8 | 2017-11-29 23:25:34 +0000 | [diff] [blame] | 2 | name: patrole-base |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 3 | parent: devstack-tempest |
Mykola Yakovliev | d067148 | 2018-07-23 12:13:02 -0500 | [diff] [blame] | 4 | description: | |
Doug Schveninger | 8e3b032 | 2020-08-15 19:34:46 -0500 | [diff] [blame] | 5 | Patrole base job for admin,member and reader roles. This job executes RBAC tests |
Doug Hellmann | 4635c6a | 2018-09-08 22:52:43 -0400 | [diff] [blame] | 6 | for all the "core" services that Tempest covers, excluding Swift. |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 7 | required-projects: |
Doug Schveninger | 8e3b032 | 2020-08-15 19:34:46 -0500 | [diff] [blame] | 8 | - name: opendev.org/openstack/tempest |
| 9 | - name: opendev.org/openstack/patrole |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 10 | timeout: 7800 |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 11 | roles: |
Doug Schveninger | 8e3b032 | 2020-08-15 19:34:46 -0500 | [diff] [blame] | 12 | - zuul: opendev.org/openstack/devstack |
ghanshyam | b688823 | 2018-11-04 12:54:58 +0000 | [diff] [blame] | 13 | # Define common irrelevant files to use everywhere else |
| 14 | irrelevant-files: &patrole-irrelevant-files |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 15 | - ^(test-|)requirements.txt$ |
| 16 | - ^.*\.rst$ |
| 17 | - ^doc/.* |
Felipe Monteiro | d1a87c5 | 2018-11-01 11:34:29 -0400 | [diff] [blame] | 18 | - ^etc/.*$ |
Felipe Monteiro | 825d794 | 2018-11-13 23:40:45 -0600 | [diff] [blame] | 19 | - ^patrole_tempest_plugin/tests/unit/.*$ |
| 20 | - ^patrole_tempest_plugin/hacking/.*$ |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 21 | - ^releasenotes/.* |
| 22 | - ^setup.cfg$ |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 23 | vars: |
ps3910 | 6b229a7 | 2019-07-10 21:54:44 -0700 | [diff] [blame] | 24 | tempest_plugins: |
| 25 | - patrole |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 26 | devstack_plugins: |
OpenDev Sysadmins | eedb039 | 2019-04-19 19:33:57 +0000 | [diff] [blame] | 27 | patrole: https://opendev.org/openstack/patrole.git |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 28 | devstack_services: |
| 29 | tempest: true |
| 30 | neutron: true |
Mykola Yakovliev | 04b2628 | 2018-07-23 12:13:02 -0500 | [diff] [blame] | 31 | neutron-trunk: true |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 32 | tempest_test_regex: (?!.*\[.*\bslow\b.*\])(^patrole_tempest_plugin\.tests\.api) |
Doug Schveninger | ff2fba2 | 2020-08-24 18:52:37 -0500 | [diff] [blame] | 33 | # run the tempest all tox environment target with patrole regex |
Felipe Monteiro | 0d3c743 | 2018-10-28 02:14:22 +0000 | [diff] [blame] | 34 | tox_envlist: all |
Doug Schveninger | ff2fba2 | 2020-08-24 18:52:37 -0500 | [diff] [blame] | 35 | # allows job to use the tempest version installed with devstack instead of pypi |
| 36 | # according to the requirements.txt |
Felipe Monteiro | 0d3c743 | 2018-10-28 02:14:22 +0000 | [diff] [blame] | 37 | tox_extra_args: --sitepackages |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 38 | |
| 39 | - job: |
Felipe Monteiro | 25949b8 | 2017-11-29 23:25:34 +0000 | [diff] [blame] | 40 | name: patrole-base-multinode |
Ghanshyam Mann | 51368ef | 2020-02-03 13:19:03 -0600 | [diff] [blame] | 41 | parent: tempest-multinode-full-py3 |
Felipe Monteiro | 318fa3b | 2018-06-19 16:53:33 -0400 | [diff] [blame] | 42 | description: |- |
| 43 | Patrole base job for multinode and "slow" tests where "slow" tests include: |
| 44 | |
| 45 | * Tests that take more than ~30 seconds to run. |
| 46 | * Tests that experience spurious failures related to servers, volumes, |
| 47 | backups and similar resources failing to build. |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 48 | timeout: 7800 |
Felipe Monteiro | 318fa3b | 2018-06-19 16:53:33 -0400 | [diff] [blame] | 49 | branches: |
| 50 | - master |
| 51 | required-projects: |
Doug Schveninger | 8e3b032 | 2020-08-15 19:34:46 -0500 | [diff] [blame] | 52 | - opendev.org/openstack/devstack-gate |
| 53 | - opendev.org/openstack/tempest |
| 54 | - opendev.org/openstack/patrole |
ghanshyam | b688823 | 2018-11-04 12:54:58 +0000 | [diff] [blame] | 55 | irrelevant-files: *patrole-irrelevant-files |
Felipe Monteiro | 318fa3b | 2018-06-19 16:53:33 -0400 | [diff] [blame] | 56 | vars: |
ps3910 | 6b229a7 | 2019-07-10 21:54:44 -0700 | [diff] [blame] | 57 | tempest_plugins: |
| 58 | - patrole |
Felipe Monteiro | 318fa3b | 2018-06-19 16:53:33 -0400 | [diff] [blame] | 59 | devstack_plugins: |
OpenDev Sysadmins | eedb039 | 2019-04-19 19:33:57 +0000 | [diff] [blame] | 60 | patrole: https://opendev.org/openstack/patrole.git |
Felipe Monteiro | 318fa3b | 2018-06-19 16:53:33 -0400 | [diff] [blame] | 61 | devstack_services: |
| 62 | tempest: true |
| 63 | neutron: true |
| 64 | tempest_concurrency: 1 |
| 65 | tempest_test_regex: (?=.*\[.*\bslow\b.*\])(^patrole_tempest_plugin\.tests\.api) |
Felipe Monteiro | 0d3c743 | 2018-10-28 02:14:22 +0000 | [diff] [blame] | 66 | tox_envlist: all |
| 67 | tox_extra_args: --sitepackages |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 68 | |
| 69 | - job: |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 70 | name: patrole-admin |
Felipe Monteiro | 25949b8 | 2017-11-29 23:25:34 +0000 | [diff] [blame] | 71 | parent: patrole-base |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 72 | description: Patrole job for admin role. |
| 73 | vars: |
| 74 | devstack_localrc: |
Mykola Yakovliev | e0f3550 | 2018-09-26 18:26:57 -0500 | [diff] [blame] | 75 | RBAC_TEST_ROLES: admin |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 76 | |
| 77 | - job: |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 78 | name: patrole-member |
Felipe Monteiro | 25949b8 | 2017-11-29 23:25:34 +0000 | [diff] [blame] | 79 | parent: patrole-base |
Felipe Monteiro | 2fc2929 | 2018-06-15 18:26:27 -0400 | [diff] [blame] | 80 | description: Patrole job for member role. |
Felipe Monteiro | 4c3ae9b | 2018-02-25 18:33:32 +0000 | [diff] [blame] | 81 | # This currently works from stable/pike onward. |
ghanshyam | a78dcae | 2018-11-22 08:50:47 +0000 | [diff] [blame] | 82 | branches: ^(?!stable/ocata).*$ |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 83 | vars: |
| 84 | devstack_localrc: |
Mykola Yakovliev | e0f3550 | 2018-09-26 18:26:57 -0500 | [diff] [blame] | 85 | RBAC_TEST_ROLES: member |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 86 | |
| 87 | - job: |
Sergey Vilgelm | 11e0c66 | 2019-01-25 16:05:56 -0600 | [diff] [blame] | 88 | name: patrole-reader |
| 89 | parent: patrole-base |
| 90 | description: Patrole job for reader role. |
| 91 | # This currently works from stable/stein onward. |
| 92 | branches: ^(?!stable/(ocata|pike|queens|rocky)).*$ |
Sergey Vilgelm | 11e0c66 | 2019-01-25 16:05:56 -0600 | [diff] [blame] | 93 | vars: |
| 94 | devstack_localrc: |
| 95 | RBAC_TEST_ROLES: reader |
| 96 | |
| 97 | - job: |
Ghanshyam Mann | f6d7d0f | 2020-11-17 12:37:49 -0600 | [diff] [blame] | 98 | name: patrole-member-victoria |
| 99 | parent: patrole-member |
| 100 | override-checkout: stable/victoria |
| 101 | |
| 102 | - job: |
Vishakha Agarwal | a19f3db | 2020-05-02 21:09:33 +0530 | [diff] [blame] | 103 | name: patrole-member-ussuri |
| 104 | parent: patrole-member |
Ghanshyam Mann | 8592e58 | 2020-07-09 15:42:19 -0500 | [diff] [blame] | 105 | nodeset: openstack-single-node-bionic |
Vishakha Agarwal | a19f3db | 2020-05-02 21:09:33 +0530 | [diff] [blame] | 106 | override-checkout: stable/ussuri |
| 107 | |
| 108 | - job: |
Ghanshyam Mann | 6d97d0f | 2020-01-06 19:58:59 +0000 | [diff] [blame] | 109 | name: patrole-member-train |
| 110 | parent: patrole-member |
Ghanshyam Mann | 8592e58 | 2020-07-09 15:42:19 -0500 | [diff] [blame] | 111 | nodeset: openstack-single-node-bionic |
Ghanshyam Mann | 6d97d0f | 2020-01-06 19:58:59 +0000 | [diff] [blame] | 112 | override-checkout: stable/train |
| 113 | vars: |
| 114 | devstack_localrc: |
| 115 | USE_PYTHON3: True |
| 116 | |
| 117 | - job: |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 118 | name: patrole-multinode-admin |
Felipe Monteiro | 25949b8 | 2017-11-29 23:25:34 +0000 | [diff] [blame] | 119 | parent: patrole-base-multinode |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 120 | voting: false |
Felipe Monteiro | 318fa3b | 2018-06-19 16:53:33 -0400 | [diff] [blame] | 121 | vars: |
| 122 | devstack_localrc: |
Mykola Yakovliev | e0f3550 | 2018-09-26 18:26:57 -0500 | [diff] [blame] | 123 | RBAC_TEST_ROLES: admin |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 124 | |
| 125 | - job: |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 126 | name: patrole-multinode-member |
Felipe Monteiro | 25949b8 | 2017-11-29 23:25:34 +0000 | [diff] [blame] | 127 | parent: patrole-base-multinode |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 128 | voting: false |
Felipe Monteiro | 318fa3b | 2018-06-19 16:53:33 -0400 | [diff] [blame] | 129 | vars: |
| 130 | devstack_localrc: |
Mykola Yakovliev | e0f3550 | 2018-09-26 18:26:57 -0500 | [diff] [blame] | 131 | RBAC_TEST_ROLES: member |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 132 | |
| 133 | - job: |
Doug Schveninger | ff2fba2 | 2020-08-24 18:52:37 -0500 | [diff] [blame] | 134 | name: patrole-multinode-reader |
| 135 | parent: patrole-base-multinode |
| 136 | voting: false |
| 137 | vars: |
| 138 | devstack_localrc: |
| 139 | RBAC_TEST_ROLES: reader |
| 140 | |
| 141 | - job: |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 142 | name: patrole-py35-member |
Felipe Monteiro | 25949b8 | 2017-11-29 23:25:34 +0000 | [diff] [blame] | 143 | parent: patrole-base |
Felipe Monteiro | 2fc2929 | 2018-06-15 18:26:27 -0400 | [diff] [blame] | 144 | description: Patrole py35 job for member role. |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 145 | vars: |
| 146 | devstack_localrc: |
Felipe Monteiro | 2fc2929 | 2018-06-15 18:26:27 -0400 | [diff] [blame] | 147 | # Use member for py35 because arguably negative testing is more |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 148 | # important than admin, which is already covered by patrole-admin job. |
Mykola Yakovliev | e0f3550 | 2018-09-26 18:26:57 -0500 | [diff] [blame] | 149 | RBAC_TEST_ROLES: member |
Doug Hellmann | 8669a51 | 2018-03-22 17:42:03 -0400 | [diff] [blame] | 150 | USE_PYTHON3: true |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 151 | devstack_services: |
| 152 | s-account: false |
| 153 | s-container: false |
| 154 | s-object: false |
| 155 | s-proxy: false |
| 156 | # Without Swift, c-bak cannot run (in the gate at least). |
| 157 | c-bak: false |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 158 | |
Mykola Yakovliev | d067148 | 2018-07-23 12:13:02 -0500 | [diff] [blame] | 159 | - job: |
Felipe Monteiro | bbbdd93 | 2018-10-31 23:28:39 -0400 | [diff] [blame] | 160 | name: patrole-extension-base |
Mykola Yakovliev | d067148 | 2018-07-23 12:13:02 -0500 | [diff] [blame] | 161 | parent: patrole-base |
| 162 | description: | |
Felipe Monteiro | bbbdd93 | 2018-10-31 23:28:39 -0400 | [diff] [blame] | 163 | Patrole plugin job for admin and member roles which runs RBAC tests for |
| 164 | neutron-tempest-plugin APIs (if the plugin is installed). |
| 165 | |
| 166 | Covers Neutron extension functionality only. Should not be used for |
| 167 | supporting Neutron plugins like fwaas. |
Mykola Yakovliev | d067148 | 2018-07-23 12:13:02 -0500 | [diff] [blame] | 168 | required-projects: |
Doug Schveninger | 8e3b032 | 2020-08-15 19:34:46 -0500 | [diff] [blame] | 169 | - name: opendev.org/openstack/tempest |
| 170 | - name: opendev.org/openstack/patrole |
| 171 | - name: opendev.org/openstack/neutron-tempest-plugin |
Mykola Yakovliev | d067148 | 2018-07-23 12:13:02 -0500 | [diff] [blame] | 172 | vars: |
ps3910 | 6b229a7 | 2019-07-10 21:54:44 -0700 | [diff] [blame] | 173 | tempest_plugins: |
| 174 | - patrole |
| 175 | - neutron-tempest-plugin |
Mykola Yakovliev | d067148 | 2018-07-23 12:13:02 -0500 | [diff] [blame] | 176 | devstack_plugins: |
OpenDev Sysadmins | eedb039 | 2019-04-19 19:33:57 +0000 | [diff] [blame] | 177 | neutron: https://opendev.org/openstack/neutron.git |
| 178 | patrole: https://opendev.org/openstack/patrole.git |
| 179 | neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git |
Mykola Yakovliev | d067148 | 2018-07-23 12:13:02 -0500 | [diff] [blame] | 180 | devstack_services: |
| 181 | tempest: true |
| 182 | neutron: true |
| 183 | neutron-segments: true |
Mykola Yakovliev | 56bb731 | 2018-08-16 18:34:10 -0500 | [diff] [blame] | 184 | neutron-qos: true |
Felipe Monteiro | bbbdd93 | 2018-10-31 23:28:39 -0400 | [diff] [blame] | 185 | tempest_test_regex: (?=.*ExtRbacTest)(^patrole_tempest_plugin\.tests\.api) |
Mykola Yakovliev | d067148 | 2018-07-23 12:13:02 -0500 | [diff] [blame] | 186 | |
| 187 | - job: |
Felipe Monteiro | bbbdd93 | 2018-10-31 23:28:39 -0400 | [diff] [blame] | 188 | name: patrole-extension-admin |
| 189 | parent: patrole-extension-base |
Mykola Yakovliev | d067148 | 2018-07-23 12:13:02 -0500 | [diff] [blame] | 190 | voting: false |
| 191 | vars: |
| 192 | devstack_localrc: |
Mykola Yakovliev | e0f3550 | 2018-09-26 18:26:57 -0500 | [diff] [blame] | 193 | RBAC_TEST_ROLES: admin |
Sergey Vilgelm | 11e0c66 | 2019-01-25 16:05:56 -0600 | [diff] [blame] | 194 | |
| 195 | - job: |
| 196 | name: patrole-extension-member |
| 197 | parent: patrole-extension-base |
| 198 | voting: false |
| 199 | vars: |
| 200 | devstack_localrc: |
| 201 | RBAC_TEST_ROLES: member |
Mykola Yakovliev | d067148 | 2018-07-23 12:13:02 -0500 | [diff] [blame] | 202 | |
Doug Schveninger | ff2fba2 | 2020-08-24 18:52:37 -0500 | [diff] [blame] | 203 | - job: |
| 204 | name: patrole-extension-reader |
| 205 | parent: patrole-extension-base |
| 206 | voting: false |
| 207 | vars: |
| 208 | devstack_localrc: |
| 209 | RBAC_TEST_ROLES: reader |
| 210 | |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 211 | - project: |
Felipe Monteiro | f4cb74c | 2018-08-19 17:18:56 +0100 | [diff] [blame] | 212 | templates: |
Andreas Jaeger | a3c15da | 2018-09-09 06:39:31 +0200 | [diff] [blame] | 213 | - openstack-cover-jobs |
Vishakha Agarwal | 15d8f26 | 2020-05-05 13:23:05 +0530 | [diff] [blame] | 214 | - openstack-python3-victoria-jobs |
Doug Hellmann | 4635c6a | 2018-09-08 22:52:43 -0400 | [diff] [blame] | 215 | - check-requirements |
Doug Hellmann | d720bad | 2018-09-08 22:54:03 -0400 | [diff] [blame] | 216 | - publish-openstack-docs-pti |
| 217 | - release-notes-jobs-python3 |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 218 | check: |
| 219 | jobs: |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 220 | - patrole-admin |
| 221 | - patrole-member |
Sergey Vilgelm | 11e0c66 | 2019-01-25 16:05:56 -0600 | [diff] [blame] | 222 | - patrole-reader |
Ghanshyam Mann | f6d7d0f | 2020-11-17 12:37:49 -0600 | [diff] [blame] | 223 | - patrole-member-victoria |
Vishakha Agarwal | a19f3db | 2020-05-02 21:09:33 +0530 | [diff] [blame] | 224 | - patrole-member-ussuri |
Ghanshyam Mann | 6d97d0f | 2020-01-06 19:58:59 +0000 | [diff] [blame] | 225 | - patrole-member-train |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 226 | - patrole-multinode-admin |
| 227 | - patrole-multinode-member |
Doug Schveninger | ff2fba2 | 2020-08-24 18:52:37 -0500 | [diff] [blame] | 228 | - patrole-multinode-reader |
Felipe Monteiro | bbbdd93 | 2018-10-31 23:28:39 -0400 | [diff] [blame] | 229 | - patrole-extension-admin |
| 230 | - patrole-extension-member |
Doug Schveninger | ff2fba2 | 2020-08-24 18:52:37 -0500 | [diff] [blame] | 231 | - patrole-extension-reader |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 232 | gate: |
| 233 | jobs: |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 234 | - patrole-admin |
| 235 | - patrole-member |
Doug Schveninger | ff2fba2 | 2020-08-24 18:52:37 -0500 | [diff] [blame] | 236 | - patrole-reader |
Felipe Monteiro | 1bee142 | 2018-08-28 21:19:32 -0400 | [diff] [blame] | 237 | periodic-stable: |
| 238 | jobs: |
Ghanshyam Mann | f6d7d0f | 2020-11-17 12:37:49 -0600 | [diff] [blame] | 239 | - patrole-member-victoria |
Vishakha Agarwal | a19f3db | 2020-05-02 21:09:33 +0530 | [diff] [blame] | 240 | - patrole-member-ussuri |
Ghanshyam Mann | 6d97d0f | 2020-01-06 19:58:59 +0000 | [diff] [blame] | 241 | - patrole-member-train |