Slawek Kaplonski | 40ec8e5 | 2020-05-20 13:07:44 +0200 | [diff] [blame] | 1 | - job: |
| 2 | name: neutron-tempest-plugin-base |
| 3 | parent: devstack-tempest |
| 4 | abstract: true |
| 5 | description: | |
| 6 | Perform setup common to all Neutron tempest tests |
| 7 | roles: |
| 8 | - zuul: openstack/devstack |
| 9 | required-projects: |
| 10 | - openstack/devstack-gate |
| 11 | - openstack/neutron |
| 12 | - openstack/neutron-tempest-plugin |
| 13 | - openstack/tempest |
| 14 | vars: |
| 15 | tempest_concurrency: 4 |
| 16 | tox_envlist: all |
| 17 | devstack_localrc: |
| 18 | USE_PYTHON3: true |
| 19 | NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}" |
Slawek Kaplonski | 35a4414 | 2020-09-29 21:39:53 +0200 | [diff] [blame] | 20 | CIRROS_VERSION: 0.5.1 |
| 21 | BUILD_TIMEOUT: 784 |
Slawek Kaplonski | 40ec8e5 | 2020-05-20 13:07:44 +0200 | [diff] [blame] | 22 | devstack_plugins: |
| 23 | neutron: https://opendev.org/openstack/neutron.git |
| 24 | neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git |
| 25 | tempest_plugins: |
| 26 | - neutron-tempest-plugin |
| 27 | devstack_services: |
Slawek Kaplonski | 40ec8e5 | 2020-05-20 13:07:44 +0200 | [diff] [blame] | 28 | tempest: true |
| 29 | neutron-dns: true |
| 30 | neutron-qos: true |
| 31 | neutron-segments: true |
| 32 | neutron-trunk: true |
| 33 | neutron-uplink-status-propagation: true |
| 34 | neutron-network-segment-range: true |
| 35 | neutron-port-forwarding: true |
| 36 | neutron-conntrack-helper: true |
| 37 | neutron-tag-ports-during-bulk-creation: true |
Slawek Kaplonski | 63d5f2e | 2020-06-04 13:42:26 +0200 | [diff] [blame] | 38 | br-ex-tcpdump: true |
| 39 | br-int-flows: true |
Slawek Kaplonski | 643820c | 2020-11-12 16:48:12 +0100 | [diff] [blame] | 40 | # Cinder services |
| 41 | c-api: false |
| 42 | c-bak: false |
| 43 | c-sch: false |
| 44 | c-vol: false |
| 45 | cinder: false |
Slawek Kaplonski | f289344 | 2020-11-02 21:40:26 +0100 | [diff] [blame] | 46 | # We don't need Swift to be run in the Neutron jobs |
| 47 | s-account: false |
| 48 | s-container: false |
| 49 | s-object: false |
| 50 | s-proxy: false |
Slawek Kaplonski | 40ec8e5 | 2020-05-20 13:07:44 +0200 | [diff] [blame] | 51 | devstack_local_conf: |
| 52 | post-config: |
| 53 | $NEUTRON_CONF: |
| 54 | QUOTAS: |
| 55 | quota_router: 100 |
| 56 | quota_floatingip: 500 |
| 57 | quota_security_group: 150 |
| 58 | quota_security_group_rule: 1000 |
| 59 | # NOTE(slaweq): We can get rid of this hardcoded absolute path when |
| 60 | # devstack-tempest job will be switched to use lib/neutron instead of |
| 61 | # lib/neutron-legacy |
| 62 | /$NEUTRON_CORE_PLUGIN_CONF: |
| 63 | ml2: |
| 64 | type_drivers: flat,geneve,vlan,gre,local,vxlan |
| 65 | ml2_type_vlan: |
| 66 | network_vlan_ranges: foo:1:10 |
| 67 | ml2_type_vxlan: |
| 68 | vni_ranges: 1:2000 |
| 69 | ml2_type_gre: |
| 70 | tunnel_id_ranges: 1:1000 |
| 71 | $NEUTRON_L3_CONF: |
| 72 | agent: |
| 73 | availability_zone: nova |
| 74 | $NEUTRON_DHCP_CONF: |
| 75 | agent: |
| 76 | availability_zone: nova |
Slawek Kaplonski | 40ec8e5 | 2020-05-20 13:07:44 +0200 | [diff] [blame] | 77 | test-config: |
| 78 | $TEMPEST_CONFIG: |
| 79 | neutron_plugin_options: |
| 80 | provider_vlans: foo, |
| 81 | agent_availability_zone: nova |
| 82 | image_is_advanced: true |
| 83 | available_type_drivers: flat,geneve,vlan,gre,local,vxlan |
| 84 | provider_net_base_segm_id: 1 |
| 85 | irrelevant-files: &tempest-irrelevant-files |
| 86 | - ^(test-|)requirements.txt$ |
| 87 | - ^releasenotes/.*$ |
| 88 | - ^doc/.*$ |
| 89 | - ^setup.cfg$ |
| 90 | - ^.*\.rst$ |
| 91 | - ^neutron/locale/.*$ |
| 92 | - ^neutron/tests/unit/.*$ |
| 93 | - ^tools/.*$ |
| 94 | - ^tox.ini$ |
| 95 | |
| 96 | - job: |
| 97 | name: neutron-tempest-plugin-scenario |
| 98 | parent: neutron-tempest-plugin-base |
| 99 | abstract: true |
| 100 | description: | |
| 101 | Perform setup common to all tempest scenario test jobs. |
| 102 | vars: |
| 103 | # NOTE(slaweq): in case of some tests, which requires advanced image, |
| 104 | # default test timeout set to 1200 seconds may be not enough if job is |
| 105 | # run on slow node |
| 106 | tempest_test_timeout: 2400 |
Slawek Kaplonski | 231223a | 2020-11-04 14:55:32 +0100 | [diff] [blame] | 107 | tempest_test_regex: "\ |
| 108 | (^neutron_tempest_plugin.scenario)|\ |
| 109 | (^tempest.api.compute.servers.test_attach_interfaces)|\ |
| 110 | (^tempest.api.compute.servers.test_multiple_create)" |
Slawek Kaplonski | 40ec8e5 | 2020-05-20 13:07:44 +0200 | [diff] [blame] | 111 | devstack_localrc: |
| 112 | PHYSICAL_NETWORK: default |
Slawek Kaplonski | 35a4414 | 2020-09-29 21:39:53 +0200 | [diff] [blame] | 113 | CIRROS_VERSION: 0.5.1 |
Bence Romsics | 67621f7 | 2020-09-08 13:43:45 +0200 | [diff] [blame] | 114 | IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img |
| 115 | ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64 |
Slawek Kaplonski | 40ec8e5 | 2020-05-20 13:07:44 +0200 | [diff] [blame] | 116 | ADVANCED_INSTANCE_TYPE: ds512M |
| 117 | ADVANCED_INSTANCE_USER: ubuntu |
| 118 | BUILD_TIMEOUT: 784 |
Rodolfo Alonso Hernandez | bc45d24 | 2020-11-17 17:30:09 +0000 | [diff] [blame] | 119 | tempest_concurrency: 3 # out of 4 |