Skip to content

[action] [PR:11244] Reducing the number of packets for WRR and WRR_Change from 500 to 300.#11296

Merged
mssonicbld merged 1 commit intosonic-net:202311from
mssonicbld:cherry/202311/11244
Jan 17, 2024
Merged

[action] [PR:11244] Reducing the number of packets for WRR and WRR_Change from 500 to 300.#11296
mssonicbld merged 1 commit intosonic-net:202311from
mssonicbld:cherry/202311/11244

Conversation

@mssonicbld
Copy link
Collaborator

Description of PR

Both WRR and WRR_Change send packets in bulk(500 packets as of now), and expect all packets back in bulk. When the PTF is not able to handle all packets the tests fail. We have seen this before, and had reduced the packets from 1000 to 500. But in recent MS runs, we observe that the PTF is not handling even the 500 packets. This PR addresses this by reducing the total number of packets to 300.

Summary:
Fixes the test fail issue due to PTF in @XuChen-MSFT 's runs.

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911
  • 202012
  • 202205
  • 202305

Approach

What is the motivation for this PR?

This PR reduces the total number of packets used by WRR and WRR_change tests. This is to allow the PTF to handle all the packets.

How did you do it?

Updated the qos.yaml parameters.

How did you verify/test it?

Ran the test:

=============================================================================================== PASSES ===============================================================================================
_________________________________________________________________________ TestQosSai.testQosSaiDwrrWeightChange[single_asic] _________________________________________________________________________
----------------------------------------------------------------- generated xml file: /run_logs/logs/qos/tr_2024-01-10-20-58-10.xml ------------------------------------------------------------------
INFO:root:Can not get Allure report URL. Please check logs
--------------------------------------------------------------------------------------- live log sessionfinish ---------------------------------------------------------------------------------------
21:03:51 init.pytest_terminal_summary L0064 INFO | Can not get Allure report URL. Please check logs
====================================================================================== short test summary info =======================================================================================
PASSED qos/test_qos_sai.py::TestQosSai::testQosSaiDwrrWeightChange[single_asic]
SKIPPED [1] /data/tests/qos/qos_sai_base.py:548: Did not find any frontend node that is multi-asic - so can't run single_dut_multi_asic tests
SKIPPED [1] /data/tests/qos/qos_sai_base.py:554: multi-dut is not supported on T1 topologies
=============================================================================== 1 passed, 2 skipped in 340.10 seconds ================================================================================
AzDevOps@99027110b121:/data/tests$

Any platform specific information?

Cisco-8000 only.

Supported testbed topology if it's a new test case?

N/A

Documentation

N/A

@mssonicbld
Copy link
Collaborator Author

Original PR: #11244

@mssonicbld mssonicbld merged commit fc8b1fd into sonic-net:202311 Jan 17, 2024
@mssonicbld mssonicbld deleted the cherry/202311/11244 branch February 4, 2024 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants