Skip to content

[action] [PR:16959] [Chassis] Fix flakiness of nhop_group, routes not programmed into har…#16974

Merged
mssonicbld merged 1 commit intosonic-net:202411from
mssonicbld:cherry/202411/16959
Feb 14, 2025
Merged

[action] [PR:16959] [Chassis] Fix flakiness of nhop_group, routes not programmed into har…#16974
mssonicbld merged 1 commit intosonic-net:202411from
mssonicbld:cherry/202411/16959

Conversation

@mssonicbld
Copy link
Collaborator

…dward after port toggle

Description of PR

Summary:
Fixes flakiness nhop_group failures on chassis.

Type of change

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

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405
  • 202411

Approach

What is the motivation for this PR?

Fixes flakiness nhop_group failures on chassis.
We observe flakiness failure on chassis devices
Suspect it's because the route is not programmed into hardware
Add external sleep to make sure route is in hardware

How did you do it?

Add extra waiting time for chassis device port toggle tests.

How did you verify/test it?

Run on PR test, and physical testbed.

ipfwd/test_nhop_group.py::test_nhop_group_member_count PASSED [ 20%]
ipfwd/test_nhop_group.py::test_nhop_group_member_order_capability[str3-xx-1-2] SKIPPED (Order ECMP is not configured so skipping the test-case) [ 40%]
ipfwd/test_nhop_group.py::test_nhop_group_interface_flap[str3-xx-1-2] PASSED [ 60%]
ipfwd/test_nhop_group.py::test_nhop_group_member_order_capability[str3-xx-1-0] SKIPPED (Order ECMP is not configured so skipping the test-case) [ 80%]
ipfwd/test_nhop_group.py::test_nhop_group_interface_flap[str3-xx-1-2] PASSED [100%]

Any platform specific information?

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

Documentation

…dward after port toggle (sonic-net#16959)

…dward after port toggle

Description of PR
Summary:
Fixes flakiness nhop_group failures on chassis.


Approach
What is the motivation for this PR?
Fixes flakiness nhop_group failures on chassis.
We observe flakiness failure on chassis devices
Suspect it's because the route is not programmed into hardware
Add external sleep to make sure route is in hardware

How did you do it?
Add extra waiting time for chassis device port toggle tests.

How did you verify/test it?
Run on PR test, and physical test passes

ipfwd/test_nhop_group.py::test_nhop_group_member_count PASSED [ 20%]
ipfwd/test_nhop_group.py::test_nhop_group_member_order_capability[str3-xx-1-2] SKIPPED (Order ECMP is not configured so skipping the test-case) [ 40%]
ipfwd/test_nhop_group.py::test_nhop_group_interface_flap[str3-xx-1-2] PASSED [ 60%]
ipfwd/test_nhop_group.py::test_nhop_group_member_order_capability[str3-xx-1-0] SKIPPED (Order ECMP is not configured so skipping the test-case) [ 80%]
ipfwd/test_nhop_group.py::test_nhop_group_interface_flap[str3-xx-1-2] PASSED [100%]

authorized by: jianquanye@microsoft.com
@mssonicbld
Copy link
Collaborator Author

/azp run

@mssonicbld
Copy link
Collaborator Author

Original PR: #16959

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld mssonicbld merged commit fc0807c into sonic-net:202411 Feb 14, 2025
16 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