Goutham Pacha Ravi | 5dd6301 | 2020-04-29 22:18:14 -0700 | [diff] [blame] | 1 | - job: |
| 2 | name: manila-tempest-plugin-base |
| 3 | abstract: true |
| 4 | description: Base job for devstack/tempest based manila jobs. |
| 5 | parent: devstack-tempest |
| 6 | timeout: 10800 |
Goutham Pacha Ravi | 4484d1a | 2020-05-04 17:34:38 -0700 | [diff] [blame] | 7 | required-projects: &manila-tempest-required-projects |
Goutham Pacha Ravi | 5dd6301 | 2020-04-29 22:18:14 -0700 | [diff] [blame] | 8 | - openstack/manila |
Goutham Pacha Ravi | 5dd6301 | 2020-04-29 22:18:14 -0700 | [diff] [blame] | 9 | - openstack/manila-tempest-plugin |
| 10 | - openstack/python-manilaclient |
| 11 | - openstack/tempest |
Goutham Pacha Ravi | 4484d1a | 2020-05-04 17:34:38 -0700 | [diff] [blame] | 12 | irrelevant-files: &irrelevant-files |
Goutham Pacha Ravi | 5dd6301 | 2020-04-29 22:18:14 -0700 | [diff] [blame] | 13 | - ^(test-|)requirements.txt$ |
| 14 | - ^.*\.rst$ |
| 15 | - ^api-ref/.*$ |
| 16 | - ^doc/.*$ |
| 17 | - ^manila/hacking/.*$ |
| 18 | - ^manila/tests/.*$ |
| 19 | - ^releasenotes/.*$ |
| 20 | - ^setup.cfg$ |
| 21 | - ^tools/.*$ |
| 22 | - ^tox.ini$ |
Goutham Pacha Ravi | 4484d1a | 2020-05-04 17:34:38 -0700 | [diff] [blame] | 23 | vars: &manila-tempest-base-vars |
Goutham Pacha Ravi | 5dd6301 | 2020-04-29 22:18:14 -0700 | [diff] [blame] | 24 | tox_envlist: all |
| 25 | tempest_test_regex: manila_tempest_tests |
| 26 | tempest_concurrency: 8 |
| 27 | tempest_plugins: |
| 28 | - manila-tempest-plugin |
| 29 | devstack_plugins: |
| 30 | manila: https://opendev.org/openstack/manila |
| 31 | manila-tempest-plugin: https://opendev.org/openstack/manila-tempest-plugin |
| 32 | devstack_services: |
| 33 | cinder: false |
| 34 | s-account: false |
| 35 | s-container: false |
| 36 | s-object: false |
| 37 | s-proxy: false |
| 38 | horizon: false |
| 39 | tls-proxy: true |
| 40 | devstack_localrc: |
| 41 | USE_PYTHON3: true |
| 42 | TEMPEST_USE_TEST_ACCOUNTS: true |
| 43 | MANILA_USE_DOWNGRADE_MIGRATIONS: true |
| 44 | MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false |
| 45 | MANILA_ALLOW_NAS_SERVER_PORTS_ON_HOST: true |
| 46 | MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True' |
Goutham Pacha Ravi | 4484d1a | 2020-05-04 17:34:38 -0700 | [diff] [blame] | 47 | MANILA_CONFIGURE_DEFAULT_TYPES: true |
Goutham Pacha Ravi | 5dd6301 | 2020-04-29 22:18:14 -0700 | [diff] [blame] | 48 | |
| 49 | |
| 50 | - job: |
Goutham Pacha Ravi | 4484d1a | 2020-05-04 17:34:38 -0700 | [diff] [blame] | 51 | name: manila-tempest-plugin-ipv6-base |
| 52 | abstract: true |
| 53 | description: | |
| 54 | Base job for devstack/tempest based manila jobs in a 4+6 (dual-stack) |
| 55 | devstack environment with IPv6 control plane endpoints. |
| 56 | parent: devstack-tempest-ipv6 |
| 57 | timeout: 10800 |
| 58 | irrelevant-files: *irrelevant-files |
| 59 | required-projects: *manila-tempest-required-projects |
| 60 | vars: *manila-tempest-base-vars |
| 61 | |
| 62 | - job: |
Goutham Pacha Ravi | 5dd6301 | 2020-04-29 22:18:14 -0700 | [diff] [blame] | 63 | name: manila-tempest-plugin-zfsonlinux |
| 64 | description: Test ZFSOnLinux multibackend (DHSS=False) with postgresql db |
| 65 | parent: manila-tempest-plugin-base |
| 66 | vars: |
| 67 | tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])' |
| 68 | devstack_localrc: |
| 69 | SHARE_DRIVER: manila.share.drivers.zfsonlinux.driver.ZFSonLinuxShareDriver |
| 70 | MANILA_ENABLED_BACKENDS: london,paris |
| 71 | MANILA_BACKEND1_CONFIG_GROUP_NAME: london |
| 72 | MANILA_BACKEND2_CONFIG_GROUP_NAME: paris |
| 73 | MANILA_SHARE_BACKEND1_NAME: LONDON |
| 74 | MANILA_SHARE_BACKEND2_NAME: PARIS |
| 75 | MANILA_OPTGROUP_london_driver_handles_share_servers: false |
| 76 | MANILA_OPTGROUP_paris_driver_handles_share_servers: false |
| 77 | MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1 |
| 78 | MANILA_REPLICA_STATE_UPDATE_INTERVAL: 60 |
| 79 | MANILA_ZFSONLINUX_SERVICE_IP: 127.0.0.1 |
| 80 | MANILA_ZFSONLINUX_USE_SSH: true |
Goutham Pacha Ravi | 5dd6301 | 2020-04-29 22:18:14 -0700 | [diff] [blame] | 81 | MANILA_USE_SCHEDULER_CREATING_SHARE_FROM_SNAPSHOT: true |
| 82 | devstack_services: |
| 83 | mysql: false |
| 84 | postgresql: true |
| 85 | devstack_local_conf: |
| 86 | test-config: |
| 87 | $TEMPEST_CONFIG: |
| 88 | share: |
| 89 | default_share_type_name: default |
| 90 | run_driver_assisted_migration_tests: true |
| 91 | run_host_assisted_migration_tests: true |
| 92 | run_replication_tests: true |
| 93 | run_manage_unmanage_snapshot_tests: true |
| 94 | run_manage_unmanage_tests: true |
| 95 | run_multiple_share_replicas_tests: false |
| 96 | run_create_share_from_snapshot_in_another_pool_or_az_tests: true |
| 97 | backend_replication_type: readable |
| 98 | enable_protocols: nfs |
| 99 | capability_storage_protocol: NFS |
| 100 | build_timeout: 180 |
| 101 | enable_ip_rules_for_protocols: nfs |
| 102 | multitenancy_enabled: False |
| 103 | backend_names: LONDON,PARIS |
| 104 | multi_backend: true |
| 105 | image_password: manila |
Goutham Pacha Ravi | 4484d1a | 2020-05-04 17:34:38 -0700 | [diff] [blame] | 106 | |
| 107 | - job: |
| 108 | name: manila-tempest-plugin-lvm |
| 109 | description: | |
| 110 | Test LVM multibackend (DHSS=False) in a 4+6 (dual-stack) devstack |
| 111 | environment with IPv6 control plane endpoints. |
| 112 | parent: manila-tempest-plugin-ipv6-base |
| 113 | required-projects: |
| 114 | - openstack/neutron-dynamic-routing |
| 115 | vars: |
| 116 | tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])' |
| 117 | devstack_localrc: |
| 118 | SHARE_DRIVER: manila.share.drivers.lvm.LVMShareDriver |
| 119 | MANILA_ENABLED_BACKENDS: london,paris |
| 120 | MANILA_BACKEND1_CONFIG_GROUP_NAME: london |
| 121 | MANILA_BACKEND2_CONFIG_GROUP_NAME: paris |
| 122 | MANILA_SHARE_BACKEND1_NAME: LONDON |
| 123 | MANILA_SHARE_BACKEND2_NAME: PARIS |
| 124 | MANILA_OPTGROUP_london_driver_handles_share_servers: false |
| 125 | MANILA_OPTGROUP_paris_driver_handles_share_servers: false |
| 126 | SHARE_BACKING_FILE_SIZE: 32000M |
| 127 | MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1 |
| 128 | MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True' |
| 129 | MANILA_SETUP_IPV6: true |
| 130 | NEUTRON_CREATE_INITIAL_NETWORKS: false |
| 131 | MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false |
| 132 | devstack_plugins: |
| 133 | neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing |
| 134 | devstack_local_conf: |
| 135 | test-config: |
| 136 | $TEMPEST_CONFIG: |
| 137 | share: |
| 138 | default_share_type_name: default |
| 139 | run_ipv6_tests: true |
| 140 | run_mount_snapshot_tests: true |
| 141 | run_host_assisted_migration_tests: true |
| 142 | run_shrink_tests: false |
| 143 | run_revert_to_snapshot_tests: true |
| 144 | enable_user_rules_for_protocols: cifs |
| 145 | enable_ip_rules_for_protocols: nfs |
| 146 | multitenancy_enabled: False |
| 147 | backend_names: LONDON,PARIS |
| 148 | multi_backend: true |
| 149 | image_password: manila |
Goutham Pacha Ravi | 7a8f5ef | 2020-05-05 23:01:52 -0700 | [diff] [blame] | 150 | |
| 151 | - job: |
| 152 | name: manila-tempest-plugin-container |
| 153 | description: | |
| 154 | Test the container driver multibackend (DHSS=False) with CIFS |
| 155 | and postgresql db. API only, in a minimal devstack |
| 156 | parent: manila-tempest-plugin-base |
| 157 | vars: |
| 158 | tempest_test_regex: manila_tempest_tests.tests.api |
| 159 | devstack_localrc: |
| 160 | SHARE_DRIVER: manila.share.drivers.container.driver.ContainerShareDriver |
| 161 | MANILA_SERVICE_IMAGE_ENABLED: false |
| 162 | MANILA_ENABLED_BACKENDS: london,paris |
| 163 | MANILA_BACKEND1_CONFIG_GROUP_NAME: london |
| 164 | MANILA_BACKEND2_CONFIG_GROUP_NAME: paris |
| 165 | MANILA_SHARE_BACKEND1_NAME: LONDON |
| 166 | MANILA_SHARE_BACKEND2_NAME: PARIS |
| 167 | MANILA_OPTGROUP_london_driver_handles_share_servers: true |
| 168 | MANILA_OPTGROUP_paris_driver_handles_share_servers: true |
| 169 | SHARE_BACKING_FILE_SIZE: 64000M |
| 170 | MANILA_CONFIGURE_DEFAULT_TYPES: false |
| 171 | MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=false' |
| 172 | devstack_services: |
| 173 | mysql: false |
| 174 | postgresql: true |
| 175 | devstack_local_conf: |
| 176 | test-config: |
| 177 | $TEMPEST_CONFIG: |
| 178 | share: |
| 179 | enable_ip_rules_for_protocols: "" |
| 180 | run_share_group_tests: false |
| 181 | run_manage_unmanage_tests: true |
| 182 | run_snapshot_tests: false |
| 183 | run_shrink_tests: false |
| 184 | enable_user_rules_for_protocols: cifs |
| 185 | enable_protocols: cifs |
| 186 | capability_storage_protocol: CIFS |
| 187 | multitenancy_enabled: true |
| 188 | backend_names: LONDON,PARIS |
| 189 | multi_backend: true |
Goutham Pacha Ravi | acc536e | 2020-05-05 23:01:52 -0700 | [diff] [blame] | 190 | |
| 191 | - job: |
| 192 | name: manila-tempest-plugin-generic |
| 193 | description: | |
| 194 | Test the generic driver multibackend (DHSS=True) with NFS and CIFS |
| 195 | parent: manila-tempest-plugin-base |
| 196 | vars: |
| 197 | tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])' |
| 198 | # The generic driver uses nova VMs as share servers; running with a |
| 199 | # high concurrency could starve the driver of RAM/Disk/CPUs to |
| 200 | # function properly in a small single node devstack VM. |
| 201 | tempest_concurrency: 2 |
| 202 | devstack_localrc: |
| 203 | VOLUME_BACKING_FILE_SIZE: 24G |
| 204 | SHARE_DRIVER: manila.share.drivers.generic.GenericShareDriver |
| 205 | MANILA_ENABLED_BACKENDS: london,paris |
| 206 | MANILA_BACKEND1_CONFIG_GROUP_NAME: london |
| 207 | MANILA_BACKEND2_CONFIG_GROUP_NAME: paris |
| 208 | MANILA_SHARE_BACKEND1_NAME: LONDON |
| 209 | MANILA_SHARE_BACKEND2_NAME: PARIS |
| 210 | MANILA_OPTGROUP_london_driver_handles_share_servers: true |
| 211 | MANILA_OPTGROUP_paris_driver_handles_share_servers: true |
| 212 | MANILA_USE_SERVICE_INSTANCE_PASSWORD: true |
| 213 | MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True' |
| 214 | devstack_services: |
| 215 | cinder: true |
| 216 | devstack_local_conf: |
| 217 | test-config: |
| 218 | $TEMPEST_CONFIG: |
| 219 | share: |
| 220 | default_share_type_name: default |
| 221 | run_share_group_tests: false |
| 222 | multitenancy_enabled: true |
| 223 | suppress_errors_in_cleanup: true |
| 224 | share_creation_retry_number: 2 |
| 225 | backend_names: LONDON,PARIS |
| 226 | multi_backend: true |
| 227 | image_password: manila |
Victoria Martinez de la Cruz | 62ff787 | 2020-05-05 17:21:14 -0300 | [diff] [blame] | 228 | |
| 229 | - job: |
| 230 | name: manila-tempest-plugin-cephfs-native |
| 231 | description: Test CephFS Native (DHSS=False) |
| 232 | parent: manila-tempest-plugin-base |
| 233 | required-projects: |
| 234 | - openstack/devstack-plugin-ceph |
| 235 | vars: |
| 236 | devstack_plugins: |
| 237 | devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph |
lkuchlan | 3c20c06 | 2020-05-31 15:25:15 +0300 | [diff] [blame^] | 238 | tempest_test_regex: manila_tempest_tests |
| 239 | # Those tests fail when using kernel client, because right now CephFS quotas |
| 240 | # is not supported. So for now those tests should be blacklisted. |
| 241 | # TODO(lkuchlan) un-blacklist those test when https://review.opendev.org/#/c/676722 will land. |
| 242 | tempest_black_regex: '(TestShareShrinkCEPHFS.test_create_shrink_and_write|TestShareExtendCEPHFS.test_create_extend_and_write)(\[.*\bbackend\b.*\])' |
Victoria Martinez de la Cruz | 62ff787 | 2020-05-05 17:21:14 -0300 | [diff] [blame] | 243 | devstack_localrc: |
| 244 | SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver |
| 245 | MANILA_ENABLED_BACKENDS: cephfsnative |
| 246 | ENABLED_SHARE_PROTOCOLS: CEPHFS |
| 247 | MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=False' |
Victoria Martinez de la Cruz | 62ff787 | 2020-05-05 17:21:14 -0300 | [diff] [blame] | 248 | MANILA_OPTGROUP_cephfsnative_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver |
| 249 | MANILA_OPTGROUP_cephfsnative_driver_handles_share_servers: false |
| 250 | MANILA_OPTGROUP_cephfsnative_cephfs_conf_path: /etc/ceph/ceph.conf |
| 251 | MANILA_OPTGROUP_cephfsnative_cephfs_auth_id: manila |
lkuchlan | 3c20c06 | 2020-05-31 15:25:15 +0300 | [diff] [blame^] | 252 | MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-master.qcow2 |
| 253 | MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-master |
Victoria Martinez de la Cruz | 62ff787 | 2020-05-05 17:21:14 -0300 | [diff] [blame] | 254 | devstack_local_conf: |
| 255 | test-config: |
| 256 | $TEMPEST_CONFIG: |
| 257 | share: |
lkuchlan | 3c20c06 | 2020-05-31 15:25:15 +0300 | [diff] [blame^] | 258 | default_share_type_name: default |
Victoria Martinez de la Cruz | 62ff787 | 2020-05-05 17:21:14 -0300 | [diff] [blame] | 259 | enable_cephx_rules_for_protocols: cephfs |
| 260 | run_share_group_tests: false |
| 261 | run_snapshot_tests: false |
| 262 | multitenancy_enabled: false |
| 263 | suppress_errors_in_cleanup: true |
| 264 | backend_names: CEPHFSNATIVE |
| 265 | capability_snapshot_support: false |
| 266 | capability_storage_protocol: CEPHFS |
lkuchlan | 3c20c06 | 2020-05-31 15:25:15 +0300 | [diff] [blame^] | 267 | enable_protocols: cephfs |
| 268 | image_password: manila |