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 Hellmann | 4635c6a | 2018-09-08 22:52:43 -0400 | [diff] [blame] | 5 | Patrole base job for admin and member roles. This job executes RBAC tests |
| 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: |
| 8 | - name: openstack/tempest |
| 9 | - name: 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: |
| 12 | - zuul: openstack-dev/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/.*$ |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 19 | - ^patrole/patrole_tempest_plugin/tests/unit/.*$ |
Felipe Monteiro | d1a87c5 | 2018-11-01 11:34:29 -0400 | [diff] [blame] | 20 | - ^patrole/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: |
| 24 | devstack_localrc: |
Mykola Yakovliev | d067148 | 2018-07-23 12:13:02 -0500 | [diff] [blame] | 25 | TEMPEST_PLUGINS: "'/opt/stack/patrole'" |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 26 | devstack_plugins: |
| 27 | patrole: git://git.openstack.org/openstack/patrole.git |
| 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_concurrency: 2 |
| 33 | tempest_test_regex: (?!.*\[.*\bslow\b.*\])(^patrole_tempest_plugin\.tests\.api) |
Felipe Monteiro | 0d3c743 | 2018-10-28 02:14:22 +0000 | [diff] [blame^] | 34 | tox_envlist: all |
| 35 | tox_extra_args: --sitepackages |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 36 | |
| 37 | - job: |
Felipe Monteiro | 25949b8 | 2017-11-29 23:25:34 +0000 | [diff] [blame] | 38 | name: patrole-base-multinode |
Felipe Monteiro | 318fa3b | 2018-06-19 16:53:33 -0400 | [diff] [blame] | 39 | parent: tempest-multinode-full |
| 40 | description: |- |
| 41 | Patrole base job for multinode and "slow" tests where "slow" tests include: |
| 42 | |
| 43 | * Tests that take more than ~30 seconds to run. |
| 44 | * Tests that experience spurious failures related to servers, volumes, |
| 45 | backups and similar resources failing to build. |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 46 | timeout: 7800 |
Felipe Monteiro | 318fa3b | 2018-06-19 16:53:33 -0400 | [diff] [blame] | 47 | branches: |
| 48 | - master |
| 49 | required-projects: |
| 50 | - openstack-infra/devstack-gate |
| 51 | - openstack/tempest |
| 52 | - openstack/patrole |
ghanshyam | b688823 | 2018-11-04 12:54:58 +0000 | [diff] [blame] | 53 | irrelevant-files: *patrole-irrelevant-files |
Felipe Monteiro | 318fa3b | 2018-06-19 16:53:33 -0400 | [diff] [blame] | 54 | vars: |
| 55 | devstack_localrc: |
| 56 | TEMPEST_PLUGINS: "'{{ ansible_user_dir }}/src/git.openstack.org/openstack/patrole'" |
| 57 | devstack_plugins: |
| 58 | patrole: git://git.openstack.org/openstack/patrole.git |
| 59 | devstack_services: |
| 60 | tempest: true |
| 61 | neutron: true |
| 62 | tempest_concurrency: 1 |
| 63 | tempest_test_regex: (?=.*\[.*\bslow\b.*\])(^patrole_tempest_plugin\.tests\.api) |
Felipe Monteiro | 0d3c743 | 2018-10-28 02:14:22 +0000 | [diff] [blame^] | 64 | tox_envlist: all |
| 65 | tox_extra_args: --sitepackages |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 66 | |
| 67 | - job: |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 68 | name: patrole-admin |
Felipe Monteiro | 25949b8 | 2017-11-29 23:25:34 +0000 | [diff] [blame] | 69 | parent: patrole-base |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 70 | description: Patrole job for admin role. |
| 71 | vars: |
| 72 | devstack_localrc: |
Mykola Yakovliev | e0f3550 | 2018-09-26 18:26:57 -0500 | [diff] [blame] | 73 | RBAC_TEST_ROLES: admin |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 74 | |
| 75 | - job: |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 76 | name: patrole-member |
Felipe Monteiro | 25949b8 | 2017-11-29 23:25:34 +0000 | [diff] [blame] | 77 | parent: patrole-base |
Felipe Monteiro | 2fc2929 | 2018-06-15 18:26:27 -0400 | [diff] [blame] | 78 | description: Patrole job for member role. |
Felipe Monteiro | 4c3ae9b | 2018-02-25 18:33:32 +0000 | [diff] [blame] | 79 | # This currently works from stable/pike onward. |
| 80 | branches: |
| 81 | - master |
| 82 | - stable/queens |
| 83 | - stable/pike |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 84 | vars: |
| 85 | devstack_localrc: |
Mykola Yakovliev | e0f3550 | 2018-09-26 18:26:57 -0500 | [diff] [blame] | 86 | RBAC_TEST_ROLES: member |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 87 | |
| 88 | - job: |
Felipe Monteiro | 22bb9b3 | 2018-08-28 21:17:58 -0400 | [diff] [blame] | 89 | name: patrole-member-rocky |
| 90 | parent: patrole-member |
| 91 | override-checkout: stable/rocky |
| 92 | |
| 93 | - job: |
Felipe Monteiro | 4c3ae9b | 2018-02-25 18:33:32 +0000 | [diff] [blame] | 94 | name: patrole-member-queens |
| 95 | parent: patrole-member |
| 96 | override-checkout: stable/queens |
| 97 | |
| 98 | - job: |
| 99 | name: patrole-member-pike |
| 100 | parent: patrole-member |
| 101 | override-checkout: stable/pike |
| 102 | |
| 103 | - job: |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 104 | name: patrole-multinode-admin |
Felipe Monteiro | 25949b8 | 2017-11-29 23:25:34 +0000 | [diff] [blame] | 105 | parent: patrole-base-multinode |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 106 | voting: false |
Felipe Monteiro | 318fa3b | 2018-06-19 16:53:33 -0400 | [diff] [blame] | 107 | vars: |
| 108 | devstack_localrc: |
Mykola Yakovliev | e0f3550 | 2018-09-26 18:26:57 -0500 | [diff] [blame] | 109 | RBAC_TEST_ROLES: admin |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 110 | |
| 111 | - job: |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 112 | name: patrole-multinode-member |
Felipe Monteiro | 25949b8 | 2017-11-29 23:25:34 +0000 | [diff] [blame] | 113 | parent: patrole-base-multinode |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 114 | voting: false |
Felipe Monteiro | 318fa3b | 2018-06-19 16:53:33 -0400 | [diff] [blame] | 115 | vars: |
| 116 | devstack_localrc: |
Mykola Yakovliev | e0f3550 | 2018-09-26 18:26:57 -0500 | [diff] [blame] | 117 | RBAC_TEST_ROLES: member |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 118 | |
| 119 | - job: |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 120 | name: patrole-py35-member |
Felipe Monteiro | 25949b8 | 2017-11-29 23:25:34 +0000 | [diff] [blame] | 121 | parent: patrole-base |
Felipe Monteiro | 2fc2929 | 2018-06-15 18:26:27 -0400 | [diff] [blame] | 122 | description: Patrole py35 job for member role. |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 123 | vars: |
| 124 | devstack_localrc: |
Felipe Monteiro | 2fc2929 | 2018-06-15 18:26:27 -0400 | [diff] [blame] | 125 | # Use member for py35 because arguably negative testing is more |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 126 | # important than admin, which is already covered by patrole-admin job. |
Mykola Yakovliev | e0f3550 | 2018-09-26 18:26:57 -0500 | [diff] [blame] | 127 | RBAC_TEST_ROLES: member |
Doug Hellmann | 8669a51 | 2018-03-22 17:42:03 -0400 | [diff] [blame] | 128 | USE_PYTHON3: true |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 129 | devstack_services: |
| 130 | s-account: false |
| 131 | s-container: false |
| 132 | s-object: false |
| 133 | s-proxy: false |
| 134 | # Without Swift, c-bak cannot run (in the gate at least). |
| 135 | c-bak: false |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 136 | |
Mykola Yakovliev | d067148 | 2018-07-23 12:13:02 -0500 | [diff] [blame] | 137 | - job: |
| 138 | name: patrole-plugin-base |
| 139 | parent: patrole-base |
| 140 | description: | |
Doug Hellmann | 4635c6a | 2018-09-08 22:52:43 -0400 | [diff] [blame] | 141 | Patrole plugin job for admin and member roles which |
| 142 | runs RBAC tests for neutron-tempest-plugin APIs (if the plugin is installed). |
Mykola Yakovliev | d067148 | 2018-07-23 12:13:02 -0500 | [diff] [blame] | 143 | required-projects: |
| 144 | - name: openstack/tempest |
| 145 | - name: openstack/patrole |
| 146 | - name: openstack/neutron-tempest-plugin |
| 147 | vars: |
| 148 | devstack_localrc: |
Doug Hellmann | 4635c6a | 2018-09-08 22:52:43 -0400 | [diff] [blame] | 149 | TEMPEST_PLUGINS: "'/opt/stack/patrole /opt/stack/neutron-tempest-plugin'" |
Mykola Yakovliev | d067148 | 2018-07-23 12:13:02 -0500 | [diff] [blame] | 150 | devstack_plugins: |
| 151 | neutron: git://git.openstack.org/openstack/neutron.git |
| 152 | patrole: git://git.openstack.org/openstack/patrole.git |
| 153 | neutron-tempest-plugin: git://git.openstack.org/openstack/neutron-tempest-plugin.git |
| 154 | devstack_services: |
| 155 | tempest: true |
| 156 | neutron: true |
| 157 | neutron-segments: true |
Mykola Yakovliev | 56bb731 | 2018-08-16 18:34:10 -0500 | [diff] [blame] | 158 | neutron-qos: true |
Mykola Yakovliev | d067148 | 2018-07-23 12:13:02 -0500 | [diff] [blame] | 159 | |
| 160 | - job: |
| 161 | name: patrole-plugin-member |
| 162 | parent: patrole-plugin-base |
| 163 | voting: false |
| 164 | vars: |
| 165 | devstack_localrc: |
Mykola Yakovliev | e0f3550 | 2018-09-26 18:26:57 -0500 | [diff] [blame] | 166 | RBAC_TEST_ROLES: member |
Mykola Yakovliev | d067148 | 2018-07-23 12:13:02 -0500 | [diff] [blame] | 167 | tempest_test_regex: (?=.*PluginRbacTest)(^patrole_tempest_plugin\.tests\.api) |
| 168 | |
| 169 | - job: |
| 170 | name: patrole-plugin-admin |
| 171 | parent: patrole-plugin-base |
| 172 | voting: false |
| 173 | vars: |
| 174 | devstack_localrc: |
Mykola Yakovliev | e0f3550 | 2018-09-26 18:26:57 -0500 | [diff] [blame] | 175 | RBAC_TEST_ROLES: admin |
Mykola Yakovliev | d067148 | 2018-07-23 12:13:02 -0500 | [diff] [blame] | 176 | tempest_test_regex: (?=.*PluginRbacTest)(^patrole_tempest_plugin\.tests\.api) |
| 177 | |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 178 | - project: |
Felipe Monteiro | f4cb74c | 2018-08-19 17:18:56 +0100 | [diff] [blame] | 179 | templates: |
Andreas Jaeger | a3c15da | 2018-09-09 06:39:31 +0200 | [diff] [blame] | 180 | - openstack-cover-jobs |
| 181 | - openstack-lower-constraints-jobs |
Felipe Monteiro | f4cb74c | 2018-08-19 17:18:56 +0100 | [diff] [blame] | 182 | - openstack-python36-jobs |
Doug Hellmann | 4635c6a | 2018-09-08 22:52:43 -0400 | [diff] [blame] | 183 | - openstack-python-jobs |
| 184 | - openstack-python35-jobs |
| 185 | - check-requirements |
Doug Hellmann | d720bad | 2018-09-08 22:54:03 -0400 | [diff] [blame] | 186 | - publish-openstack-docs-pti |
| 187 | - release-notes-jobs-python3 |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 188 | check: |
| 189 | jobs: |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 190 | - patrole-admin |
| 191 | - patrole-member |
Felipe Monteiro | 22bb9b3 | 2018-08-28 21:17:58 -0400 | [diff] [blame] | 192 | - patrole-member-rocky |
Felipe Monteiro | 4c3ae9b | 2018-02-25 18:33:32 +0000 | [diff] [blame] | 193 | - patrole-member-queens |
| 194 | - patrole-member-pike |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 195 | - patrole-py35-member |
| 196 | - patrole-multinode-admin |
| 197 | - patrole-multinode-member |
Mykola Yakovliev | d067148 | 2018-07-23 12:13:02 -0500 | [diff] [blame] | 198 | - patrole-plugin-admin |
| 199 | - patrole-plugin-member |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 200 | gate: |
| 201 | jobs: |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 202 | - patrole-admin |
| 203 | - patrole-member |
Felipe Monteiro | 1bee142 | 2018-08-28 21:19:32 -0400 | [diff] [blame] | 204 | periodic-stable: |
| 205 | jobs: |
| 206 | - patrole-member-rocky |
| 207 | - patrole-member-queens |
| 208 | - patrole-member-pike |