Skip to content

Commit f30d12a

Browse files
m-blue-mopenshift-merge-bot[bot]
authored andcommitted
Neutron whitebox tests default to single thread
When new test is added in whitebox-neutron-tempest-plugin [1], it is executed using inclusive regex in multi-thread workflow step, this may cause failures in CI jobs even if test is stable, that is due to many tests added to neutron whitebox need to restart services, capture traffic without interference, etc. This MR changes inclusive regex to be in single-thread workflow step, *otherwise new tests will break CI jobs running them*. The tests skipped in single-thread explicitly instead of in multi-thread according to latest results from neutron component job, any test class that had cases in both single/multi was specified by method name. The exclude/include in whitebox_neutron_tempest_jobs.yaml is made based on same job, so results should be similar, validated with testproject. Related ticket: OSPRH-10217 [1] https://opendev.org/x/whitebox-neutron-tempest-plugin
1 parent 8ddb0e1 commit f30d12a

File tree

1 file changed

+67
-54
lines changed

1 file changed

+67
-54
lines changed

zuul.d/whitebox_neutron_tempest_jobs.yaml

Lines changed: 67 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -91,71 +91,84 @@
9191
tempestRun:
9292
concurrency: 6
9393
includeList: |
94-
whitebox_neutron_tempest_plugin.*
94+
# neutron whitebox multi-thread tests
95+
^whitebox_neutron_tempest_plugin.tests.scenario.test_basic.NetworkBasicTest
96+
^whitebox_neutron_tempest_plugin.tests.scenario.test_broadcast.BroadcastTestIPv4Common
97+
^whitebox_neutron_tempest_plugin.tests.scenario.test_broadcast.BroadcastTestVlanTransparency
98+
^whitebox_neutron_tempest_plugin.tests.scenario.test_extra_dhcp_opts.ExtraDhcpOptionsTest
99+
^whitebox_neutron_tempest_plugin.tests.scenario.test_extra_dhcp_opts.OvnExtraDhcpOptionsTest
100+
^whitebox_neutron_tempest_plugin.tests.scenario.test_internal_dns.InternalDNSTestOvn
101+
^whitebox_neutron_tempest_plugin.tests.scenario.test_multicast.MulticastTestIPv4Common.test_flooding_when_special_groups
102+
^whitebox_neutron_tempest_plugin.tests.scenario.test_multicast.MulticastTestIPv4Common.test_igmp_snooping_same_network_and_unsubscribe
103+
^whitebox_neutron_tempest_plugin.tests.scenario.test_multicast.MulticastTestIPv4Ovn
104+
^whitebox_neutron_tempest_plugin.tests.scenario.test_multicast.MulticastTestVlanTransparency
105+
^whitebox_neutron_tempest_plugin.tests.scenario.test_portsecurity.PortSecurityTest
106+
^whitebox_neutron_tempest_plugin.tests.scenario.test_qos.QosTestCommon.test_bw_limit_east_west
107+
^whitebox_neutron_tempest_plugin.tests.scenario.test_qos.QosTestCommon.test_bw_limit_tenant_network
108+
^whitebox_neutron_tempest_plugin.tests.scenario.test_qos.QosTestCommon.test_default_qos_policy
109+
^whitebox_neutron_tempest_plugin.tests.scenario.test_qos.QosTestCommon.test_dscp_marking_east_west
110+
^whitebox_neutron_tempest_plugin.tests.scenario.test_qos.QosTestCommon.test_dscp_marking_tenant_network
111+
^whitebox_neutron_tempest_plugin.tests.scenario.test_qos.QosTestCommon.test_qos_after_cold_migration
112+
^whitebox_neutron_tempest_plugin.tests.scenario.test_qos.QosTestCommon.test_qos_after_live_migration
113+
^whitebox_neutron_tempest_plugin.tests.scenario.test_qos.QosTestDscpInheritanceOvn
114+
^whitebox_neutron_tempest_plugin.tests.scenario.test_qos.QosTestOvn
115+
^whitebox_neutron_tempest_plugin.tests.scenario.test_qos.QosTestSriovBwLimitTest
116+
^whitebox_neutron_tempest_plugin.tests.scenario.test_qos.QosTestSriovMinBwPlacementEnforcementTest
117+
^whitebox_neutron_tempest_plugin.tests.scenario.test_security_groups.NetworkDefaultSecGroupTest
118+
^whitebox_neutron_tempest_plugin.tests.scenario.test_vlan_transparency.MtuVlanTransparencyTest
119+
^whitebox_neutron_tempest_plugin.tests.scenario.test_vlan_transparency.MultiPortVlanTransparencyTest
120+
^whitebox_neutron_tempest_plugin.tests.scenario.test_vlan_transparency.MultiVlanTransparencyTest
121+
^whitebox_neutron_tempest_plugin.tests.scenario.test_vrrp.VrrpTest
95122
excludeList: |
96-
neutron_tempest_plugin.scenario.test_mtu.NetworkWritableMtuTest
97123
test_multicast.*ext*
98124
test_multicast.*restart
99-
whitebox_neutron_tempest_plugin.*south_north
100-
whitebox_neutron_tempest_plugin.tests.scenario.*test_mtu
101125
^neutron_.*plugin..*scenario.test_.*macvtap
102-
^neutron_tempest_plugin.fwaas.*
103-
^whitebox_neutron_tempest_plugin.*many_vms
104-
^whitebox_neutron_tempest_plugin.*networker_reboot
105-
^whitebox_neutron_tempest_plugin.*ovn_controller_restart
106-
^whitebox_neutron_tempest_plugin.*reboot_node
107-
^whitebox_neutron_tempest_plugin.*test_previously_used_ip
108-
^whitebox_neutron_tempest_plugin.tests.scenario.test_internal_dns.InternalDNSInterruptions.*
109-
^whitebox_neutron_tempest_plugin.tests.scenario.test_l3ha_ovn.*
110-
^whitebox_neutron_tempest_plugin.tests.scenario.test_metadata_rate_limiting
111-
^whitebox_neutron_tempest_plugin.tests.scenario.test_ovn_dbs.OvnDbsMonitoringTest.*
112-
^whitebox_neutron_tempest_plugin.tests.scenario.test_qos.*external
113-
^whitebox_neutron_tempest_plugin.tests.scenario.test_security_group_logging
114-
^whitebox_neutron_tempest_plugin.tests.scenario.test_router_flavors
115-
^whitebox_neutron_tempest_plugin.tests.scenario.test_dvr_ovn
116-
^whitebox_neutron_tempest_plugin.tests.scenario.test_ovn_fdb
117-
^whitebox_neutron_tempest_plugin.tests.scenario.test_api_server.*
118126
# https://review.opendev.org/892839
119127
# - neutron_tempest_plugin.scenario.test_mtu.NetworkWritableMtuTest
120128
# It's in Blacklist before, FWaaS tests are not executed in any of our setups so there is no need to keep them whitelisted
121129
# ^neutron_tempest_plugin.fwaas.*
122-
# More Flaky tests mblue is working on fixing it
123-
# - whitebox_neutron_tempest_plugin.tests.scenario.test_router_flavors
124-
# - whitebox_neutron_tempest_plugin.tests.scenario.test_dvr_ovn
125130
- stepName: single-thread-testing
126131
tempestRun:
127132
concurrency: 1
128133
includeList: |
129-
whitebox_neutron_tempest_plugin.*south_north
130-
^whitebox_neutron_tempest_plugin.tests.scenario.test_security_group_logging
131-
test_multicast.ext
132-
test_multicast.*restart
133-
whitebox_neutron_tempest_plugin.*south_north
134-
whitebox_neutron_tempest_plugin.tests.scenario.*test_mtu
134+
^whitebox_neutron_tempest_plugin.*
135135
^neutron_.*plugin..*scenario.test_.*macvtap
136-
^whitebox_neutron_tempest_plugin.many_vms
137-
^whitebox_neutron_tempest_plugin.ovn_controller_restart
138-
^whitebox_neutron_tempest_plugin.test_previously_used_ip
139-
^whitebox_neutron_tempest_plugin.tests.scenario.test_internal_dns.InternalDNSInterruptions.
140-
^whitebox_neutron_tempest_plugin.tests.scenario.test_l3ha_ovn.
141-
^whitebox_neutron_tempest_plugin.tests.scenario.test_metadata_rate_limiting
142-
^whitebox_neutron_tempest_plugin.tests.scenario.test_ovn_dbs.OvnDbsMonitoringTest.
143-
^whitebox_neutron_tempest_plugin.tests.scenario.test_qos.*external
144-
^whitebox_neutron_tempest_plugin.tests.scenario.test_router_flavors
145-
^whitebox_neutron_tempest_plugin.tests.scenario.test_vlan_transparency.ProviderNetworkVlanTransparencyTest
146-
^whitebox_neutron_tempest_plugin.tests.scenario.test_router_flavors
147-
^whitebox_neutron_tempest_plugin.tests.scenario.test_dvr_ovn
148-
^whitebox_neutron_tempest_plugin.tests.scenario.test_ovn_fdb
149-
^whitebox_neutron_tempest_plugin.tests.scenario.test_api_server.*
150-
# NOTE(mblue): Exclude list has test failures which need further debugging
151-
# remove when bug OSPRH-7998 resolved
152-
# - whitebox_neutron_tempest_plugin.tests.scenario.test_security_group_logging.*test_only_dropped_traffic_logged
153-
# remove when issue OSPCIX-457 resolved
154-
# - whitebox_neutron_tempest_plugin.tests.scenario.test_security_group_logging.*test_dropped_and_accepted_traffic_logged
136+
# NOTE(mblue): If test skipped - please add related ticket to remove skip when issue resolved
155137
excludeList: |
156-
whitebox_neutron_tempest_plugin.tests.scenario.test_metadata_rate_limiting
157-
whitebox_neutron_tempest_plugin.tests.scenario.test_mtu.GatewayMtuTestIcmp.test_northbound_pmtud_icmp
158-
whitebox_neutron_tempest_plugin.tests.scenario.test_security_group_logging.*test_only_dropped_traffic_logged
159-
whitebox_neutron_tempest_plugin.tests.scenario.test_security_group_logging.StatefulSecGroupLoggingTest.test_only_accepted_traffic_logged
160-
whitebox_neutron_tempest_plugin.tests.scenario.test_security_group_logging.StatelessSecGroupLoggingTest.test_only_accepted_traffic_logged
161-
whitebox_neutron_tempest_plugin.tests.scenario.test_security_group_logging.*test_dropped_and_accepted_traffic_logged
138+
# TODO(ralonsoh): enable "test_ovn_fdb" tests once [1] is merged and released.
139+
# [1]https://review.opendev.org/c/x/whitebox-neutron-tempest-plugin/+/929410
140+
^whitebox_neutron_tempest_plugin.tests.scenario.test_ovn_fdb.*
141+
# remove when bug OSPRH-9569 resolved
142+
^whitebox_neutron_tempest_plugin.tests.scenario.test_metadata_rate_limiting
143+
# remove when bug OSPRH-7998 resolved
144+
^whitebox_neutron_tempest_plugin.tests.scenario.test_security_group_logging.*test_only_dropped_traffic_logged
145+
# remove when issue OSPCIX-457 resolved
146+
^whitebox_neutron_tempest_plugin.tests.scenario.test_security_group_logging.*test_.*accepted_traffic_logged
147+
# neutron whitebox multi-thread tests (executed on different workflow step)
148+
^whitebox_neutron_tempest_plugin.tests.scenario.test_basic.NetworkBasicTest
149+
^whitebox_neutron_tempest_plugin.tests.scenario.test_broadcast.BroadcastTestIPv4Common
150+
^whitebox_neutron_tempest_plugin.tests.scenario.test_broadcast.BroadcastTestVlanTransparency
151+
^whitebox_neutron_tempest_plugin.tests.scenario.test_extra_dhcp_opts.ExtraDhcpOptionsTest
152+
^whitebox_neutron_tempest_plugin.tests.scenario.test_extra_dhcp_opts.OvnExtraDhcpOptionsTest
153+
^whitebox_neutron_tempest_plugin.tests.scenario.test_internal_dns.InternalDNSTestOvn
154+
^whitebox_neutron_tempest_plugin.tests.scenario.test_multicast.MulticastTestIPv4Common.test_flooding_when_special_groups
155+
^whitebox_neutron_tempest_plugin.tests.scenario.test_multicast.MulticastTestIPv4Common.test_igmp_snooping_same_network_and_unsubscribe
156+
^whitebox_neutron_tempest_plugin.tests.scenario.test_multicast.MulticastTestIPv4Ovn
157+
^whitebox_neutron_tempest_plugin.tests.scenario.test_multicast.MulticastTestVlanTransparency
158+
^whitebox_neutron_tempest_plugin.tests.scenario.test_portsecurity.PortSecurityTest
159+
^whitebox_neutron_tempest_plugin.tests.scenario.test_qos.QosTestCommon.test_bw_limit_east_west
160+
^whitebox_neutron_tempest_plugin.tests.scenario.test_qos.QosTestCommon.test_bw_limit_tenant_network
161+
^whitebox_neutron_tempest_plugin.tests.scenario.test_qos.QosTestCommon.test_default_qos_policy
162+
^whitebox_neutron_tempest_plugin.tests.scenario.test_qos.QosTestCommon.test_dscp_marking_east_west
163+
^whitebox_neutron_tempest_plugin.tests.scenario.test_qos.QosTestCommon.test_dscp_marking_tenant_network
164+
^whitebox_neutron_tempest_plugin.tests.scenario.test_qos.QosTestCommon.test_qos_after_cold_migration
165+
^whitebox_neutron_tempest_plugin.tests.scenario.test_qos.QosTestCommon.test_qos_after_live_migration
166+
^whitebox_neutron_tempest_plugin.tests.scenario.test_qos.QosTestDscpInheritanceOvn
167+
^whitebox_neutron_tempest_plugin.tests.scenario.test_qos.QosTestOvn
168+
^whitebox_neutron_tempest_plugin.tests.scenario.test_qos.QosTestSriovBwLimitTest
169+
^whitebox_neutron_tempest_plugin.tests.scenario.test_qos.QosTestSriovMinBwPlacementEnforcementTest
170+
^whitebox_neutron_tempest_plugin.tests.scenario.test_security_groups.NetworkDefaultSecGroupTest
171+
^whitebox_neutron_tempest_plugin.tests.scenario.test_vlan_transparency.MtuVlanTransparencyTest
172+
^whitebox_neutron_tempest_plugin.tests.scenario.test_vlan_transparency.MultiPortVlanTransparencyTest
173+
^whitebox_neutron_tempest_plugin.tests.scenario.test_vlan_transparency.MultiVlanTransparencyTest
174+
^whitebox_neutron_tempest_plugin.tests.scenario.test_vrrp.VrrpTest

0 commit comments

Comments
 (0)