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:15755] MIGSMSFT-765 & MIGSMSFT-778 Sequential udp ports for different priorities #15805

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

mssonicbld
Copy link
Collaborator

Description of PR

Summary:
Fixes # (issue)
https://migsonic.atlassian.net/browse/MIGSMSFT-765
https://migsonic.atlassian.net/browse/MIGSMSFT-778

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?

Fixed udp ports selection, make test result stable.

How did you do it?

Remove random.

How did you verify/test it?

Verified it on T2 ixia testbed.

=============================================================== PASSES ================================================================
_________________________________________ test_m2o_fluctuating_lossless[multidut_port_info0] __________________________________________
----------------------- generated xml file: /run_logs/ixia/18470/2024-11-27-01-04-55/tr_2024-11-27-01-04-55.xml -----------------------
INFO:root:Can not get Allure report URL. Please check logs
------------------------------------------------------- live log sessionfinish --------------------------------------------------------
01:14:00 __init__.pytest_terminal_summary L0067 INFO | 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_info0]
============================================== 1 passed, 4 warnings in 542.83s (0:09:02) ==============================================
sonic@snappi-sonic-mgmt-vanilla-202405-t2:/data/tests$ 

=============================================================== PASSES ================================================================
___________________________________________ test_pfcwd_runtime_traffic[multidut_port_info0] ___________________________________________
----------------------- generated xml file: /run_logs/ixia/18470/2024-11-27-01-19-10/tr_2024-11-27-01-19-10.xml -----------------------
INFO:root:Can not get Allure report URL. Please check logs
------------------------------------------------------- live log sessionfinish --------------------------------------------------------
01:28:10 __init__.pytest_terminal_summary L0067 INFO | Can not get Allure report URL. Please check logs
======================================================= short test summary info =======================================================
PASSED snappi_tests/multidut/pfcwd/test_multidut_pfcwd_runtime_traffic_with_snappi.py::test_pfcwd_runtime_traffic[multidut_port_info0]
============================================== 1 passed, 4 warnings in 538.55s (0:08:58) ==============================================
sonic@snappi-sonic-mgmt-vanilla-202405-t2:/data/tests$ 

Any platform specific information?

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

Documentation

…ties (sonic-net#15755)

Description of PR
Summary:
Fixes # (issue)
https://migsonic.atlassian.net/browse/MIGSMSFT-765
https://migsonic.atlassian.net/browse/MIGSMSFT-778

Approach
What is the motivation for this PR?
Fixed udp ports selection, make test result stable.

How did you do it?
Remove random.

How did you verify/test it?
Verified it on T2 ixia testbed.

=============================================================== PASSES ================================================================
_________________________________________ test_m2o_fluctuating_lossless[multidut_port_info0] __________________________________________
----------------------- generated xml file: /run_logs/ixia/18470/2024-11-27-01-04-55/tr_2024-11-27-01-04-55.xml -----------------------
INFO:root:Can not get Allure report URL. Please check logs
------------------------------------------------------- live log sessionfinish --------------------------------------------------------
01:14:00 __init__.pytest_terminal_summary         L0067 INFO   | 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_info0]
============================================== 1 passed, 4 warnings in 542.83s (0:09:02) ==============================================
sonic@snappi-sonic-mgmt-vanilla-202405-t2:/data/tests$ 

=============================================================== PASSES ================================================================
___________________________________________ test_pfcwd_runtime_traffic[multidut_port_info0] ___________________________________________
----------------------- generated xml file: /run_logs/ixia/18470/2024-11-27-01-19-10/tr_2024-11-27-01-19-10.xml -----------------------
INFO:root:Can not get Allure report URL. Please check logs
------------------------------------------------------- live log sessionfinish --------------------------------------------------------
01:28:10 __init__.pytest_terminal_summary         L0067 INFO   | Can not get Allure report URL. Please check logs
======================================================= short test summary info =======================================================
PASSED snappi_tests/multidut/pfcwd/test_multidut_pfcwd_runtime_traffic_with_snappi.py::test_pfcwd_runtime_traffic[multidut_port_info0]
============================================== 1 passed, 4 warnings in 538.55s (0:08:58) ==============================================
sonic@snappi-sonic-mgmt-vanilla-202405-t2:/data/tests$ 

Signed-off-by: Zhixin Zhu <zhixzhu@cisco.com>
@mssonicbld
Copy link
Collaborator Author

Original PR: #15755

@mssonicbld mssonicbld merged commit e323a42 into sonic-net:202405 Nov 29, 2024
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