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