sonic-net / sonic-mgmt

Configuration management examples for SONiC
Other
173 stars 689 forks source link

[Snappi]: Snappi does not capture PCAPs for ECN red-accuracy testcase on 400Gbps port when num_iteration > 1 #13303

Open amitpawar12 opened 3 weeks ago

amitpawar12 commented 3 weeks ago

Issue Description

Test case - tests/snappi_tests/multidut/ecn/test_multidut_red_accuracy_with_snappi.py

In this test case, the num_iterations runs the same loop of traffic and captures PCAP in each iteration. After the run, it determines the probability of the packet being ECN marked based on cumulative average marking during the test.

However for 400Gbps ports, the packets are captured for the first iteration. After that each iteration returns empty PCAP. Test aborts because it checks for the packet captured against number of packets set.

@kamalsahu0001

Results you see

Empty PCAPs after first iteration on 400Gbps ports.

Results you expected to see

Each iteration should capture the packets and determine if they are ECN marked or not.

Is it platform specific

generic

Relevant log output

No response

Output of show version

No response

Attach files (if any)

No response

kamalsahu0001 commented 1 week ago

Internally we are not seeing this issue. Will look at the test script if there are any changes in local and remote.