Skip to content

Conversation

@mssonicbld
Copy link
Collaborator

Description of PR

Summary:
Fixes # (issue)
Those
Due to #20620, the get_upstream_neigh_type in utilities.py was modified.
I fixed it in #21488
Then get_downstream_neigh_type was modified again in #20913
I have to modify the parameter again.

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
  • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202205
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505
  • 202511

Approach

What is the motivation for this PR?

Update the get_downstream_neigh_type function parameter which was modified by other PR.

How did you do it?

Use tbinfo instead of topy_type

How did you verify/test it?

Run test_ecmp_balance.py

test evidence:
https://elastictest.org/scheduler/testplan/695c7df5ed78cb175048b503?testcase=ecmp%2Ftest_ecmp_balance.py&type=console

============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-9.0.2, pluggy-1.6.0
ansible: 2.18.12
rootdir: /var/src/sonic-mgmt_vms64-t1-7260-14/tests
configfile: pytest.ini
plugins: cov-7.0.0, stress-1.0.1, sugar-1.1.1, xdist-3.8.0, plus-0.8.1, allure-pytest-2.15.2, html-4.1.1, repeat-0.9.4, metadata-3.1.1, ansible-25.12.0
collected 4 items

ecmp/test_ecmp_balance.py::test_udp_packets[ipv4] PASSED [ 25%]
ecmp/test_ecmp_balance.py::test_udp_packets_ecmp[ipv4] PASSED [ 50%]
ecmp/test_ecmp_balance.py::test_udp_packets[ipv6] PASSED [ 75%]
ecmp/test_ecmp_balance.py::test_udp_packets_ecmp[ipv6] PASSED [100%]DEBUG:tests.conftest:[log_custom_msg] item: <Function test_udp_packets_ecmp[ipv6]>
INFO:root:Can not get Allure report URL. Please check logs

Any platform specific information?

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

Documentation

…py modified (sonic-net#21830)

What is the motivation for this PR?
Update the get_downstream_neigh_type function parameter which was modified by other PR.

How did you do it?
Use tbinfo instead of topy_type

How did you verify/test it?
Run test_ecmp_balance.py

test evidence:
https://elastictest.org/scheduler/testplan/695c7df5ed78cb175048b503?testcase=ecmp%2Ftest_ecmp_balance.py&type=console

============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-9.0.2, pluggy-1.6.0
ansible: 2.18.12
rootdir: /var/src/sonic-mgmt_vms64-t1-7260-14/tests
configfile: pytest.ini
plugins: cov-7.0.0, stress-1.0.1, sugar-1.1.1, xdist-3.8.0, plus-0.8.1, allure-pytest-2.15.2, html-4.1.1, repeat-0.9.4, metadata-3.1.1, ansible-25.12.0
collected 4 items

ecmp/test_ecmp_balance.py::test_udp_packets[ipv4] PASSED                 [ 25%]
ecmp/test_ecmp_balance.py::test_udp_packets_ecmp[ipv4] PASSED            [ 50%]
ecmp/test_ecmp_balance.py::test_udp_packets[ipv6] PASSED                 [ 75%]
ecmp/test_ecmp_balance.py::test_udp_packets_ecmp[ipv6] PASSED            [100%]DEBUG:tests.conftest:[log_custom_msg] item: <Function test_udp_packets_ecmp[ipv6]>
INFO:root:Can not get Allure report URL. Please check logs
@mssonicbld
Copy link
Collaborator Author

Original PR: #21830

@mssonicbld
Copy link
Collaborator Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@wangxin wangxin merged commit bdf556f into sonic-net:202511 Jan 9, 2026
17 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.

4 participants