Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
longlink and shortlink combinations (#14746)
Description of PR Summary: Fixes MIGSMSFT-647 Approach What is the motivation for this PR? Have different combinations of longlink and shortlink in test_qos_sai.py. How did you do it? Extend params in select_src_dst_dut_and_asic. How did you verify/test it? Verified on T2 testbed which has 3 linecards, 1st linecard longlink, 2nd linecard shortlink, 3rd linecard shortlink. ---------------------------------------------- generated xml file: /tmp/qos/test_qos_sai.py::TestQosSai::testParameter_2024-09-25-20-41-38.xml ----------------------------------------------- ----------------------------------------------------------------------------------- live log sessionfinish ----------------------------------------------------------------------------------- 21:08:01 __init__.pytest_terminal_summary L0067 INFO | Can not get Allure report URL. Please check logs ================================================================================== short test summary info =================================================================================== PASSED qos/test_qos_sai.py::TestQosSai::testParameter[single_asic] PASSED qos/test_qos_sai.py::TestQosSai::testParameter[single_dut_multi_asic] PASSED qos/test_qos_sai.py::TestQosSai::testParameter[multi_dut_longlink_to_shortlink] PASSED qos/test_qos_sai.py::TestQosSai::testParameter[multi_dut_shortlink_to_shortlink] PASSED qos/test_qos_sai.py::TestQosSai::testParameter[multi_dut_shortlink_to_longlink] ========================================================================= 5 passed, 1 warning in 1581.20s (0:26:21) ========================================================================== INFO:root:Can not get Allure report URL. Please check logs sonic@sonic-ucs-m6-4:/data/tests$ [multi_dut_longlink_to_shortlink]: src_dut_index=0;src_asic_index=0;dst_dut_index=1;dst_asic_index=0 [multi_dut_shortlink_to_shortlink]: src_dut_index=1;src_asic_index=0;dst_dut_index=2;dst_asic_index=0 [multi_dut_shortlink_to_longlink]: src_dut_index=1;src_asic_index=0;dst_dut_index=0;dst_asic_index=0 Verified on T1, no impact on T1. ------------------------------------------------- generated xml file: /tmp/qos/test_qos_sai.py::TestQosSai::testParameter_2024-09-27-18-34-12.xml ------------------------------------------------- INFO:root:Can not get Allure report URL. Please check logs ------------------------------------------------------------------------------------- live log sessionfinish -------------------------------------------------------------------------------------- 18:38:06 __init__.pytest_terminal_summary L0067 INFO | Can not get Allure report URL. Please check logs ===================================================================================== short test summary info ===================================================================================== PASSED qos/test_qos_sai.py::TestQosSai::testParameter[single_asic] SKIPPED [1] qos/test_qos_sai.py:315: Did not find any frontend node that is multi-asic - so can't run single_dut_multi_asic tests SKIPPED [3] qos/test_qos_sai.py:315: multi-dut is not supported on T1 topologies ======================================================================= 1 passed, 4 skipped, 1 warning in 232.24s (0:03:52) ======================================================================= sonic@sonic-ucs-m5-8:/data/tests$ Signed-off-by: Zhixin Zhu <[email protected]>
- Loading branch information