Skip to content

Commit f1a2eb5

Browse files
bachallaselldinesh
authored andcommitted
Moving excluded features sub_port_interfaces from excludes list to test_mark_conditional.yml (#20882)
Summary: Moving excluded features from excludes list to test_conditional_mark.yml .This improves debuggability and speeds up issue resolution.The features are given below acl dualtor dualtor_mgmt ixia pfc_asym pfcwd snappi_tests sub_port_interfaces voq wan wan_test wol What is the motivation for this PR? The motivation is to moving excluded features from excludes list to test_conditional_mark.yml How did you do it? I moved excluded features from excludes list and updated to test_conditional_mark.yml How did you verify/test it? Verified that the updated messages are correctly reflected in the test_conditional_mark.yml by reviewing the changes locally. Signed-off-by: selldinesh <[email protected]>
1 parent b7fc9c3 commit f1a2eb5

File tree

1 file changed

+41
-5
lines changed

1 file changed

+41
-5
lines changed

tests/common/plugins/conditional_mark/tests_mark_conditions.yaml

Lines changed: 41 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,11 @@ test_pretest.py:
4242
#######################################
4343
acl:
4444
skip:
45-
reason: "Acl testsuite is still not enabled for macsec enable sonic-mgmt run"
45+
reason: "Acl testsuite is still not enabled for macsec enable sonic-mgmt run and not supported on this DUT topology"
46+
conditions_logical_operator: or
4647
conditions:
4748
- "macsec_en==True"
49+
- "topo_type in ['m1-128']"
4850

4951
acl/custom_acl_table/test_custom_acl_table.py:
5052
skip:
@@ -1035,6 +1037,12 @@ drop_packets/test_drop_counters.py::test_src_ip_is_multicast_addr:
10351037
#######################################
10361038
##### dualtor #####
10371039
#######################################
1040+
dualtor:
1041+
skip:
1042+
reason: "It is skipped for '202412' for now"
1043+
conditions:
1044+
- "release in ['202412']"
1045+
10381046
dualtor/test_bgp_block_loopback1.py:
10391047
skip:
10401048
reason: "KVM do not support dualtor tunnel functionality, lower tor bgp verify would fail."
@@ -1232,6 +1240,12 @@ dualtor_io/test_tor_failure.py:
12321240
conditions:
12331241
- "asic_type in ['vs']"
12341242

1243+
dualtor_mgmt:
1244+
skip:
1245+
reason: "It is skipped for '202412' for now"
1246+
conditions:
1247+
- "release in ['202412']"
1248+
12351249
dualtor_mgmt/test_dualtor_bgp_update_delay.py:
12361250
xfail:
12371251
reason: "Has flaky issue on kvm testbed"
@@ -3257,9 +3271,11 @@ ipfwd/test_nhop_group.py::test_nhop_group_member_order_capability:
32573271
#######################################
32583272
ixia:
32593273
skip:
3260-
reason: "Ixia test only support on physical ixia testbed"
3274+
reason: "Ixia test only support on physical ixia testbed and it is not tested for now"
3275+
conditions_logical_operator: or
32613276
conditions:
32623277
- "asic_type in ['vs']"
3278+
- "True"
32633279

32643280
#######################################
32653281
##### k8s #####
@@ -3525,6 +3541,12 @@ pfc/test_unknown_mac.py:
35253541
#######################################
35263542
##### pfc_asym #####
35273543
#######################################
3544+
pfc_asym:
3545+
skip:
3546+
reason: "It is not tested for now"
3547+
conditions:
3548+
- "True"
3549+
35283550
pfc_asym/test_pfc_asym.py:
35293551
skip:
35303552
reason: 'pfc_asym test skip except for on Barefoot platforms'
@@ -3536,11 +3558,12 @@ pfc_asym/test_pfc_asym.py:
35363558
#######################################
35373559
pfcwd:
35383560
skip:
3539-
reason: "Pfcwd tests skipped on M* testbed, and some isolated topologies."
3561+
reason: "Pfcwd tests skipped on M* testbed, and some isolated topologies and '202412' for now"
35403562
conditions_logical_operator: or
35413563
conditions:
35423564
- "topo_type in ['m0', 'mx', 'm1']"
35433565
- *lossyTopos
3566+
- "release in ['202412']"
35443567

35453568
pfcwd/test_pfc_config.py::TestPfcConfig::test_forward_action_cfg:
35463569
skip:
@@ -4528,11 +4551,13 @@ stress/test_stress_routes.py:
45284551
#######################################
45294552
sub_port_interfaces:
45304553
skip:
4531-
reason: "Unsupported platform or asic"
4554+
reason: "Unsupported platform or asic and not supported on this DUT topology"
45324555
conditions_logical_operator: or
45334556
conditions:
45344557
- "is_multi_asic==True or asic_gen not in ['td2', 'spc1', 'spc2', 'spc3', 'spc4'] and asic_type not in ['barefoot','marvell-teralynx']"
45354558
- "asic_type in ['mellanox', 'nvidia']"
4559+
- "'dualtor' in topo_name"
4560+
- "hwsku in ['Arista-7050CX3-32S-C32', 'Arista-7060CX-32S-C32','Arista-7060CX-32S-D48C8','Arista-7260CX3-C64','Arista-7260CX3-D108C8','Arista-7260CX3-D108C10']"
45364561

45374562
sub_port_interfaces/test_show_subinterface.py::test_subinterface_status[port]:
45384563
skip:
@@ -4821,9 +4846,11 @@ vlan/test_vlan_ping.py:
48214846
#######################################
48224847
voq:
48234848
skip:
4824-
reason: "Cisco 8800 doesn't support voq tests"
4849+
reason: "Cisco 8800 doesn't support voq tests and not supported on this DUT topology"
4850+
conditions_logical_operator: or
48254851
conditions:
48264852
- "asic_type in ['cisco-8000']"
4853+
- "'t2' not in topo_name"
48274854

48284855
voq/test_fabric_cli_and_db.py:
48294856
skip:
@@ -5149,6 +5176,15 @@ wan/lacp/test_wan_lag_min_link.py::test_lag_min_link:
51495176
- "len(minigraph_portchannels) < 2"
51505177
- "not any(len(v['members']) > 1 for _, v in minigraph_portchannels.items())"
51515178

5179+
#######################################
5180+
##### wol #####
5181+
#######################################
5182+
wol:
5183+
skip:
5184+
reason: "Not supported on this DUT topology"
5185+
conditions:
5186+
- "topo_type not in ['mx', 'm0']"
5187+
51525188
#######################################
51535189
##### zmq #####
51545190
#######################################

0 commit comments

Comments
 (0)