You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The range of udp port is [0, 65535], but in the test the random range is [0, 65536], which could cause failure:
ValueError: While dissecting field 'sport': Incorrect type of value for field sport:
struct.error(''H' format requires 0 <= number <= 65535')
To inject bytes into the field regardless of the type, use RawVal. See help(RawVal)
Issue Type
Bug Report
Description
The range of udp port is [0, 65535], but in the test the random range is [0, 65536], which could cause failure:
Issue Details
Theses 2 lines should be fixed:
https://github.com/sonic-net/sonic-mgmt/blame/master/ansible/roles/test/files/ptftests/py3/hash_test.py#L931
https://github.com/sonic-net/sonic-mgmt/blame/master/ansible/roles/test/files/ptftests/py3/hash_test.py#L1049
Impact or Proposed Behavior
Random failure in the vxlan hash test.
Importance or Severity
Critical
Is it platform specific
generic
Relevant log output
Output of
show version
Attach files (if any)
No response
The text was updated successfully, but these errors were encountered: