blob: e524c0b5e7fd9dfbac2ee0a6b6ef716f93cb37e1 [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:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020010 - 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 Kaplonski35a44142020-09-29 21:39:53 +020019 CIRROS_VERSION: 0.5.1
yatinkarel165e4092021-12-08 19:19:34 +053020 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 Kaplonski35a44142020-09-29 21:39:53 +020022 BUILD_TIMEOUT: 784
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020023 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 Kaplonski40ec8e52020-05-20 13:07:44 +020029 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 Kaplonski63d5f2e2020-06-04 13:42:26 +020039 br-ex-tcpdump: true
40 br-int-flows: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +010041 # Cinder services
42 c-api: false
43 c-bak: false
44 c-sch: false
45 c-vol: false
46 cinder: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +010047 # 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 Kaplonski40ec8e52020-05-20 13:07:44 +020052 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 Kaplonski40ec8e52020-05-20 13:07:44 +020078 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 Kaplonskid89e7e32021-02-04 12:12:27 +010086 irrelevant-files:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020087 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +053088 - lower-constraints.txt
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020089 - ^releasenotes/.*$
90 - ^doc/.*$
yatinkarele191dde2021-12-09 12:38:42 +053091 - ^.*\.conf\.sample$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020092 - ^setup.cfg$
93 - ^.*\.rst$
94 - ^neutron/locale/.*$
95 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +053096 - ^neutron/tests/fullstack/.*
97 - ^neutron/tests/functional/.*
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020098 - ^tools/.*$
99 - ^tox.ini$
yatinkarele191dde2021-12-09 12:38:42 +0530100 - ^rally-jobs/.*$
101 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530102 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200103
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 Kaplonski231223a2020-11-04 14:55:32 +0100115 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 Kaplonski40ec8e52020-05-20 13:07:44 +0200119 devstack_localrc:
120 PHYSICAL_NETWORK: default
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200121 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 Kaplonski40ec8e52020-05-20 13:07:44 +0200124 ADVANCED_INSTANCE_USER: ubuntu
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200125 CUSTOMIZE_IMAGE: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200126 BUILD_TIMEOUT: 784
Rodolfo Alonso Hernandezbc45d242020-11-17 17:30:09 +0000127 tempest_concurrency: 3 # out of 4