Skip to content

Commit af16c9f

Browse files
siva-prasad-ciscomssonicbld
authored andcommitted
skip 6 TCs for test_generic_hash.py for cisco-8000 (IP_PROTOCOL entropy) (#18176)
* Change xfail to skip in test_generic_hash.py conditions * Update tests_mark_conditions.yaml * Updated tests_mark_conditions.yaml as per Shiyan Wang comment * fixed precommit yaml check issues * Fix indentation * Fix indentation
1 parent 6767558 commit af16c9f

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

tests/common/plugins/conditional_mark/tests_mark_conditions.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,6 +1090,12 @@ hash/test_generic_hash.py::test_lag_member_flap[CRC-INNER_IP_PROTOCOL:
10901090
conditions:
10911091
- "asic_type in ['mellanox']"
10921092

1093+
hash/test_generic_hash.py::test_lag_member_flap[CRC-IP_PROTOCOL-ipv4:
1094+
skip:
1095+
reason: "With IP Protocol alone, we don't have enough entropy to distribute the packets evenly"
1096+
conditions:
1097+
- "asic_type in ['cisco-8000']"
1098+
10931099
hash/test_generic_hash.py::test_lag_member_flap[CRC_CCITT-INNER_IP_PROTOCOL:
10941100
skip:
10951101
reason: "On Mellanox platforms, due to HW limitation, it would not support CRC algorithm on INNER_IP_PROTOCOL field"
@@ -1103,6 +1109,13 @@ hash/test_generic_hash.py::test_lag_member_flap[CRC_CCITT-IN_PORT:
11031109
conditions:
11041110
- "asic_type in ['mellanox']"
11051111

1112+
hash/test_generic_hash.py::test_lag_member_flap[CRC_CCITT-IP_PROTOCOL-ipv4:
1113+
skip:
1114+
reason: "With IP Protocol alone, we don't have enough entropy to distribute the packets evenly"
1115+
conditions:
1116+
- "asic_type in ['cisco-8000']"
1117+
1118+
11061119
hash/test_generic_hash.py::test_lag_member_remove_add:
11071120
skip:
11081121
reason: 'On Mellanox SPC1 platforms, due to HW limitation, it would not support CRC_CCITT algorithm. For broadcom, LAG hash not supported in broadcom SAI. For other platforms, skipping due to missing object in SonicHost'
@@ -1118,6 +1131,12 @@ hash/test_generic_hash.py::test_lag_member_remove_add[CRC-INNER_IP_PROTOCOL:
11181131
conditions:
11191132
- "asic_type in ['mellanox']"
11201133

1134+
hash/test_generic_hash.py::test_lag_member_remove_add[CRC-IP_PROTOCOL-ipv4:
1135+
skip:
1136+
reason: "With IP Protocol alone, we don't have enough entropy to distribute the packets evenly"
1137+
conditions:
1138+
- "asic_type in ['cisco-8000']"
1139+
11211140
hash/test_generic_hash.py::test_lag_member_remove_add[CRC_CCITT-INNER_IP_PROTOCOL:
11221141
skip:
11231142
reason: "On Mellanox platforms, due to HW limitation, it would not support CRC algorithm on INNER_IP_PROTOCOL field"
@@ -1131,6 +1150,12 @@ hash/test_generic_hash.py::test_lag_member_remove_add[CRC_CCITT-IN_PORT:
11311150
conditions:
11321151
- "asic_type in ['mellanox']"
11331152

1153+
hash/test_generic_hash.py::test_lag_member_remove_add[CRC_CCITT-IP_PROTOCOL-ipv4:
1154+
skip:
1155+
reason: "With IP Protocol alone, we don't have enough entropy to distribute the packets evenly"
1156+
conditions:
1157+
- "asic_type in ['cisco-8000']"
1158+
11341159
hash/test_generic_hash.py::test_nexthop_flap:
11351160
skip:
11361161
reason: 'On Mellanox SPC1 platforms, due to HW limitation, it would not support CRC_CCITT algorithm. For broadcom, ECMP/LAG hash not supported in broadcom SAI. For other platforms, skipping due to missing object in SonicHost'
@@ -1177,6 +1202,12 @@ hash/test_generic_hash.py::test_reboot[CRC-INNER_IP_PROTOCOL:
11771202
conditions:
11781203
- "asic_type in ['mellanox']"
11791204

1205+
hash/test_generic_hash.py::test_reboot[CRC-IP_PROTOCOL-ipv4:
1206+
skip:
1207+
reason: "With IP Protocol alone, we don't have enough entropy to distribute the packets evenly"
1208+
conditions:
1209+
- "asic_type in ['cisco-8000']"
1210+
11801211
hash/test_generic_hash.py::test_reboot[CRC_CCITT-INNER_IP_PROTOCOL:
11811212
skip:
11821213
reason: "On Mellanox platforms, due to HW limitation, it would not support CRC algorithm on INNER_IP_PROTOCOL field"
@@ -1190,6 +1221,12 @@ hash/test_generic_hash.py::test_reboot[CRC_CCITT-IN_PORT:
11901221
conditions:
11911222
- "asic_type in ['mellanox']"
11921223

1224+
hash/test_generic_hash.py::test_reboot[CRC_CCITT-IP_PROTOCOL-ipv4:
1225+
skip:
1226+
reason: "With IP Protocol alone, we don't have enough entropy to distribute the packets evenly"
1227+
conditions:
1228+
- "asic_type in ['cisco-8000']"
1229+
11931230
#######################################
11941231
##### http #####
11951232
#######################################

0 commit comments

Comments
 (0)