Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[action] [PR:16079] T2:snappi_tests: Increase the number of background flows for cisco-8000 to 10. #16292

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

mssonicbld
Copy link
Collaborator

Description of PR

Summary:
The m2o script uses lossless and lossy flows. The cisco-8000 can send a lot of traffic to a single backplane port, ending up dropping them at the backplane in stead of the outgoing port. The m2o script checks dropped packets at the outgoing port, and due to the above condition fails - when the outgoing port itself didn't drop any of the packets.

Type of change

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

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

Approach

What is the motivation for this PR?

The intermittent failure of m2o.

How did you do it?

I changed the number of background flows to 10 for cisco-8000.

How did you verify/test it?

Ran on my TB:

=========================================================================================================== PASSES ===========================================================================================================
_____________________________________________________________________________________ test_m2o_fluctuating_lossless[multidut_port_info2] _____________________________________________________________________________________
--------------------------------------------------------------- generated xml file: /run_logs/ixia/19154-reruns/2024-12-15-22-51-48/tr_2024-12-15-22-51-48.xml ---------------------------------------------------------------
INFO:root:Can not get Allure report URL. Please check logs
================================================================================================== short test summary info ===================================================================================================
PASSED snappi_tests/multidut/pfc/test_m2o_fluctuating_lossless.py::test_m2o_fluctuating_lossless[multidut_port_info2]
========================================================================================= 1 passed, 4 warnings in 574.74s (0:09:34) ==========================================================================================
sonic@snappi-sonic-mgmt-vanilla-202405-t2:/data/tests$ 

Any platform specific information?

Specific to cisco-8000.

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

Documentation

…00 to 10. (sonic-net#16079)

Description of PR
Summary:
The m2o script uses lossless and lossy flows. The cisco-8000 can send a lot of traffic to a single backplane port, ending up dropping them at the backplane in stead of the outgoing port. The m2o script checks dropped packets at the outgoing port, and due to the above condition fails - when the outgoing port itself didn't drop any of the packets.

Approach
What is the motivation for this PR?
The intermittent failure of m2o.

How did you do it?
I changed the number of background flows to 10 for cisco-8000.

How did you verify/test it?
Ran on my TB:

=========================================================================================================== PASSES ===========================================================================================================
_____________________________________________________________________________________ test_m2o_fluctuating_lossless[multidut_port_info2] _____________________________________________________________________________________
--------------------------------------------------------------- generated xml file: /run_logs/ixia/19154-reruns/2024-12-15-22-51-48/tr_2024-12-15-22-51-48.xml ---------------------------------------------------------------
INFO:root:Can not get Allure report URL. Please check logs
================================================================================================== short test summary info ===================================================================================================
PASSED snappi_tests/multidut/pfc/test_m2o_fluctuating_lossless.py::test_m2o_fluctuating_lossless[multidut_port_info2]
========================================================================================= 1 passed, 4 warnings in 574.74s (0:09:34) ==========================================================================================
sonic@snappi-sonic-mgmt-vanilla-202405-t2:/data/tests$ 
Any platform specific information?
Specific to cisco-8000.

co-authorized by: [email protected]
@mssonicbld
Copy link
Collaborator Author

/azp run

@mssonicbld
Copy link
Collaborator Author

Original PR: #16079

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld mssonicbld merged commit ea9155d into sonic-net:202405 Jan 3, 2025
13 checks passed
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