sonic-net / sonic-mgmt

Configuration management examples for SONiC
Other
200 stars 732 forks source link

[action] [PR:15616] [M0] TestAclWithReboot wait BGP fully establish after reboot #15625

Closed mssonicbld closed 1 week ago

mssonicbld commented 1 week ago

Description of PR

Summary: We see TestAclWithReboot L3_Scenario test fail on Nokia-7215 M0 platform. The root cause is test start before BGP fully established. Update this testcase to fix M0 L3 scenario.

Type of change

Back port request

Approach

What is the motivation for this PR?

Fix TestAclWithReboot on M0 platforms.

How did you do it?

Wait BGP fully establish before test start.

How did you verify/test it?

Verified on Nokia-7212 M0 testbed.

acl/test_acl.py::TestAclWithReboot::test_udp_source_ip_match_forwarded[ipv4-ingress-downlink->uplink-m0_vlan_scenario-Vlan1000] PASSED [ 6%]
acl/test_acl.py::TestAclWithReboot::test_udp_source_ip_match_forwarded[ipv4-ingress-downlink->uplink-m0_l3_scenario-Vlan1000] PASSED [ 12%]
acl/test_acl.py::TestAclWithReboot::test_udp_source_ip_match_forwarded[ipv4-ingress-uplink->downlink-m0_vlan_scenario-Vlan1000] PASSED [ 18%]
acl/test_acl.py::TestAclWithReboot::test_udp_source_ip_match_forwarded[ipv4-ingress-uplink->downlink-m0_l3_scenario-Vlan1000] PASSED [ 25%]
acl/test_acl.py::TestAclWithReboot::test_udp_source_ip_match_forwarded[ipv4-egress-downlink->uplink-m0_vlan_scenario-Vlan1000] PASSED [ 31%]
acl/test_acl.py::TestAclWithReboot::test_udp_source_ip_match_forwarded[ipv4-egress-downlink->uplink-m0_l3_scenario-Vlan1000] PASSED [ 37%]
acl/test_acl.py::TestAclWithReboot::test_udp_source_ip_match_forwarded[ipv4-egress-uplink->downlink-m0_vlan_scenario-Vlan1000] PASSED [ 43%]
acl/test_acl.py::TestAclWithReboot::test_udp_source_ip_match_forwarded[ipv4-egress-uplink->downlink-m0_l3_scenario-Vlan1000] PASSED [ 50%]
acl/test_acl.py::TestAclWithReboot::test_udp_source_ip_match_forwarded[ipv6-egress-downlink->uplink-m0_vlan_scenario-Vlan1000] PASSED [ 56%]
acl/test_acl.py::TestAclWithReboot::test_udp_source_ip_match_forwarded[ipv6-egress-downlink->uplink-m0_l3_scenario-Vlan1000] PASSED [ 62%]
acl/test_acl.py::TestAclWithReboot::test_udp_source_ip_match_forwarded[ipv6-egress-uplink->downlink-m0_vlan_scenario-Vlan1000] PASSED [ 68%]
acl/test_acl.py::TestAclWithReboot::test_udp_source_ip_match_forwarded[ipv6-egress-uplink->downlink-m0_l3_scenario-Vlan1000] PASSED [ 75%]
acl/test_acl.py::TestAclWithReboot::test_udp_source_ip_match_forwarded[ipv6-ingress-downlink->uplink-m0_vlan_scenario-Vlan1000] PASSED [ 81%]
acl/test_acl.py::TestAclWithReboot::test_udp_source_ip_match_forwarded[ipv6-ingress-downlink->uplink-m0_l3_scenario-Vlan1000] PASSED [ 87%]
acl/test_acl.py::TestAclWithReboot::test_udp_source_ip_match_forwarded[ipv6-ingress-uplink->downlink-m0_vlan_scenario-Vlan1000] PASSED [ 93%]
acl/test_acl.py::TestAclWithReboot::test_udp_source_ip_match_forwarded[ipv6-ingress-uplink->downlink-m0_l3_scenario-Vlan1000] PASSED [100%]
==================================== 16 passed, 58 warnings in 14765.63s (4:06:05) =====================================

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

mssonicbld commented 1 week ago

Original PR: https://github.com/sonic-net/sonic-mgmt/pull/15616