Hi @selldinesh ,
This script's all tests fail. The failure is as follows:
(Pdb) verify_background_flow(flow_metrics=tgen_flow_stats, speed_gbps=speed_gbps, tolerance=TOLERANCE_THRESHOLD, snappi_extra_params=snappi_extra_params) *** Failed: Background Flow Prio 5 should receive 37109375.0 packets (actual 36184)
(Pdb)
The number of packets in "actual" is matching the number of packets actually sent by ixia:

I am not sure how to debug this. If I try a few more times, it will pass once in a while. I do that by repeating the following 2 calls:
(Pdb) tgen_flow_stats, switch_flow_stats, in_flight_flow_metrics = run_traffic(duthost=duthost, api=api, config=testbed_config, data_flow_names=data_flow_names, all_flow_names=all_flow_names, exp_dur_sec=DATA_FLOW_DURATION_SEC + data_flow_delay_sec, snappi_extra_params=snappi_extra_params)
(Pdb) verify_background_flow(flow_metrics=tgen_flow_stats, speed_gbps=speed_gbps, tolerance=TOLERANCE_THRESHOLD, snappi_extra_params=snappi_extra_params)
But most of the times it fails as above.
The relevant file is : snappi_tests/multidut/pfc/files/multidut_helper.py
227 """ Run traffic """
228 import pdb; pdb.set_trace()
229 tgen_flow_stats, switch_flow_stats, in_flight_flow_metrics = run_traffic(duthost=duthost,
Hi @selldinesh ,
This script's all tests fail. The failure is as follows:
The number of packets in "actual" is matching the number of packets actually sent by ixia:

I am not sure how to debug this. If I try a few more times, it will pass once in a while. I do that by repeating the following 2 calls:
But most of the times it fails as above.
The relevant file is : snappi_tests/multidut/pfc/files/multidut_helper.py