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

feat: enable forced mgmt route test on T2 #17210

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

cyw233
Copy link
Contributor

@cyw233 cyw233 commented Feb 27, 2025

Description of PR

Enable route/test_forced_mgmt_route.py::test_update_forced_mgmt test case on T2 topo to resolve the T2 test gap.

Summary:
Fixes # (issue) Microsoft ADO 28837282

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?

We want to run more tests on T2 topo to increase the test coverage. In this PR, we enabled route/test_forced_mgmt_route.py::test_update_forced_mgmt on T2 topo.

The other test case test_forced_mgmt_route_add_and_remove_by_mgmt_port_status() will still be skipped for multi-asic devices (for example, T2 devices) as I couldn't find a device with eth1 port available, so I never got the chance to verify it. I have created a GitHub issue here to track this: #17250

How did you do it?

How did you verify/test it?

Elastictest link: https://elastictest.org/scheduler/testplan/67bf90c1fdc60a30648c223b?testcase=route%2Ftest_forced_mgmt_route.py&type=console&leftSideViewMode=detail

Any platform specific information?

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

Documentation

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Collaborator

@yejianquan yejianquan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yejianquan yejianquan merged commit 42bcbd7 into sonic-net:master Mar 3, 2025
15 checks passed
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Mar 3, 2025
Description of PR
Enable route/test_forced_mgmt_route.py::test_update_forced_mgmt test case on T2 topo to resolve the T2 test gap.

Summary:
Fixes # (issue) Microsoft ADO 28837282

Approach
What is the motivation for this PR?
We want to run more tests on T2 topo to increase the test coverage. In this PR, we enabled route/test_forced_mgmt_route.py::test_update_forced_mgmt on T2 topo.

The other test case test_forced_mgmt_route_add_and_remove_by_mgmt_port_status() will still be skipped for multi-asic devices (for example, T2 devices) as I couldn't find a device with eth1 port available, so I never got the chance to verify it. I have created a GitHub issue here to track this: sonic-net#17250

How did you do it?
How did you verify/test it?
Elastictest link: https://elastictest.org/scheduler/testplan/67bf90c1fdc60a30648c223b?testcase=route%2Ftest_forced_mgmt_route.py&type=console&leftSideViewMode=detail

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

Cherry-pick PR to 202411: #17279

mssonicbld pushed a commit that referenced this pull request Mar 3, 2025
Description of PR
Enable route/test_forced_mgmt_route.py::test_update_forced_mgmt test case on T2 topo to resolve the T2 test gap.

Summary:
Fixes # (issue) Microsoft ADO 28837282

Approach
What is the motivation for this PR?
We want to run more tests on T2 topo to increase the test coverage. In this PR, we enabled route/test_forced_mgmt_route.py::test_update_forced_mgmt on T2 topo.

The other test case test_forced_mgmt_route_add_and_remove_by_mgmt_port_status() will still be skipped for multi-asic devices (for example, T2 devices) as I couldn't find a device with eth1 port available, so I never got the chance to verify it. I have created a GitHub issue here to track this: #17250

How did you do it?
How did you verify/test it?
Elastictest link: https://elastictest.org/scheduler/testplan/67bf90c1fdc60a30648c223b?testcase=route%2Ftest_forced_mgmt_route.py&type=console&leftSideViewMode=detail

co-authorized by: [email protected]
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.

3 participants