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