Is it platform specific
generic
Importance or Severity
Medium
Description of the bug
Currently, in helper.py files in pfc test suite, we have a check:
pkt_drop = get_interface_stats(egress_duthost, dut_tx_port)[egress_duthost.hostname][dut_tx_port]['tx_drp']
This would work fine in case of pizzaboxes but in case of a Voq Chassis the packet drop happens on the ingress side, so need to update these helper files.
Steps to Reproduce
If we run snappi_tests/pfc/m2o_oversubscribe_lossy_helper.py
or anyother m20 test, it will probably fail with an error:
pytest_assert(abs(drop_percentage - 10) < 1, 'FAIL: Drop packets must be around 10 percent')
E Failed: FAIL: Drop packets must be around 10 percent
Actual Behavior and Expected Behavior
pkt_drop should be calculated on the ingress side in case of a VOQ Chassis.
Relevant log output
Output of show version
Attach files (if any)
No response
Is it platform specific
generic
Importance or Severity
Medium
Description of the bug
Currently, in helper.py files in pfc test suite, we have a check:
pkt_drop = get_interface_stats(egress_duthost, dut_tx_port)[egress_duthost.hostname][dut_tx_port]['tx_drp']
This would work fine in case of pizzaboxes but in case of a Voq Chassis the packet drop happens on the ingress side, so need to update these helper files.
Steps to Reproduce
If we run snappi_tests/pfc/m2o_oversubscribe_lossy_helper.py
or anyother m20 test, it will probably fail with an error:
E Failed: FAIL: Drop packets must be around 10 percent
Actual Behavior and Expected Behavior
pkt_drop should be calculated on the ingress side in case of a VOQ Chassis.
Relevant log output
Output of
show versionAttach files (if any)
No response