Skip to content

Bug:test_fib.py TC failures after pulling latest #20840

@isiddeeq-cisco

Description

@isiddeeq-cisco

Is it platform specific

generic

Importance or Severity

High

Description of the bug

After pulling upstream changes to hash_test.py and others, test_fib.py has 14 failures when being ran. Any input on if other vendors hit this/ why this issue is seen from taking latest from (#17503) and/or other recent changes made to effect test_fib.py script

Steps to Reproduce

run test_fib.py script with latest changes

Actual Behavior and Expected Behavior

We expect this to pass with the changes made

Relevant log output

Sample log output seen during run 
E           ******************************************
E           ATTENTION: SOME TESTS DID NOT PASS!!!
E           
E           The following tests errored:
E           HashTest
E           
E           ******************************************stderr =
E           hash_test.HashTest
E           @summary: Send packet for each range of both IPv4 and IPv6 spaces and ... ERROR
E           
E           ======================================================================
E           ERROR: hash_test.HashTest
E           @summary: Send packet for each range of both IPv4 and IPv6 spaces and
E           ----------------------------------------------------------------------
E           Traceback (most recent call last):
E             File "/root/ptftests/py3/hash_test.py", line 641, in runTest
E               self.check_hash(hash_key)
E             File "/root/ptftests/py3/hash_test.py", line 228, in check_hash
E               self.check_balancing(next_hop.get_next_hop(), hit_count_map, src_port, hash_key)
E             File "/root/ptftests/py3/hash_test.py", line 616, in check_balancing
E               (p, r) = self.check_within_expected_range(
E                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E           TypeError: HashTest.check_within_expected_range() missing 1 required positional argument: 'hash_key'
E           
E           ----------------------------------------------------------------------
E           Ran 1 test in 56.379s
E           
E           FAILED (errors=1)

Output of show version

SONiC Software Version: SONiC.azure_cisco_master
SONiC OS Version: 12
Distribution: Debian 12.12
Kernel: 6.1.0-29-2-amd64

ASIC: cisco-8000
ASIC Count: 1

Attach files (if any)

Image

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status
Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions