blob: 8644b4181f85211cc8829ab3e0640c1ffffe612d [file] [log] [blame]
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001- 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 Kaplonski35a44142020-09-29 21:39:53 +020020 CIRROS_VERSION: 0.5.1
21 BUILD_TIMEOUT: 784
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020022 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 Kaplonski40ec8e52020-05-20 13:07:44 +020028 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 Kaplonski63d5f2e2020-06-04 13:42:26 +020038 br-ex-tcpdump: true
39 br-int-flows: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +010040 # Cinder services
41 c-api: false
42 c-bak: false
43 c-sch: false
44 c-vol: false
45 cinder: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +010046 # 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 Kaplonski40ec8e52020-05-20 13:07:44 +020051 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 Kaplonski40ec8e52020-05-20 13:07:44 +020077 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 Kaplonski231223a2020-11-04 14:55:32 +0100107 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 Kaplonski40ec8e52020-05-20 13:07:44 +0200111 devstack_localrc:
112 PHYSICAL_NETWORK: default
Slawek Kaplonski35a44142020-09-29 21:39:53 +0200113 CIRROS_VERSION: 0.5.1
Bence Romsics67621f72020-09-08 13:43:45 +0200114 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 Kaplonski40ec8e52020-05-20 13:07:44 +0200116 ADVANCED_INSTANCE_TYPE: ds512M
117 ADVANCED_INSTANCE_USER: ubuntu
118 BUILD_TIMEOUT: 784