Open StormLiangMS opened 1 month ago
Hi @prsunny this test failed with new change of Enhance generic hash test cases by echuawu · Pull Request #12564 · sonic-net/sonic-mgmt (github.com)? which is done by nVidia team, but doesn't pass on Arista platform, could you suggest if we should enable the test case on platform other than nVidia?
I will put related failure cases into xfail for now.
Issue Description
test_algorithm_config run into failure with non nVidia platform
Results you see
=================================== FAILURES =================================== _ test_hashcapability
duthost =
global_hash_capabilities = {'ecmp': 'not supported', 'ecmp_algo': 'N/A', 'lag': 'not supported', 'lag_algo': 'N/A'}
asic_type = 'broadcom' duthost =
ecmp_hash_capability = 'not supported'
expected_ecmp_hash_capability = ['IN_PORT', 'SRC_MAC', 'DST_MAC', 'ETHERTYPE', 'VLAN_ID', 'IP_PROTOCOL', ...]
expected_hash_capabilities = {'ecmp': ['IN_PORT', 'SRC_MAC', 'DST_MAC', 'ETHERTYPE', 'VLAN_ID', 'IP_PROTOCOL', ...], 'lag': ['IN_PORT', 'SRC_MAC', 'DST_MAC', 'ETHERTYPE', 'VLAN_ID', 'IP_PROTOCOL', ...]}
expected_lag_hash_capability = ['IN_PORT', 'SRC_MAC', 'DST_MAC', 'ETHERTYPE', 'VLAN_ID', 'IP_PROTOCOL', ...]
global_hash_capabilities = {'ecmp': 'not supported', 'ecmp_algo': 'N/A', 'lag': 'not supported', 'lag_algo': 'N/A'}
lag_hash_capability = 'not supported'
Results you expected to see
the test can pass
Is it platform specific
generic
Relevant log output
No response
Output of
show version
No response
Attach files (if any)
No response