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