Skip to content

Skip forced mgmt route test if intf is invalid#13438

Merged
StormLiangMS merged 1 commit intosonic-net:masterfrom
dayouliu1:skip_test_forced_mgmt_route_on_invalid_intf
Jul 4, 2024
Merged

Skip forced mgmt route test if intf is invalid#13438
StormLiangMS merged 1 commit intosonic-net:masterfrom
dayouliu1:skip_test_forced_mgmt_route_on_invalid_intf

Conversation

@dayouliu1
Copy link
Contributor

Description of PR

Summary:
Fixes #169

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?

Skip test_forced_mgmt_route_add_and_remove_by_mgmt_port_status in route/test_forced_mgmt_route.py if eth1 does not exist or is being used. This test was failing on Arista platforms when interface eth1 did not exist.

How did you do it?

Added a check to see if eth1 does not exist, and skips the test if so.

How did you verify/test it?

Tested on a t0 setup on a Arista-7260

Any platform specific information?

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

Documentation

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jun 24, 2024

CLA Signed


The committers listed above are authorized under a signed CLA.

@dayouliu1 dayouliu1 force-pushed the skip_test_forced_mgmt_route_on_invalid_intf branch from 96edc0a to 99c10b8 Compare June 25, 2024 01:38
Skip 'test_forced_mgmt_route_add_and_remove_by_mgmt_port_status'
in 'route/test_forced_mgmt_route.py' if eth1 does not exist or
is being used
@dayouliu1 dayouliu1 force-pushed the skip_test_forced_mgmt_route_on_invalid_intf branch from 99c10b8 to 518c544 Compare June 25, 2024 01:40
@StormLiangMS StormLiangMS requested a review from liuh-80 June 27, 2024 04:24
@StormLiangMS
Copy link
Collaborator

hi @liuh-80 could you help to take a look?

@StormLiangMS
Copy link
Collaborator

/azp run Azure.sonic-mgmt

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@StormLiangMS
Copy link
Collaborator

hi @liuh-80 let's leave the cherry pick approve to the release manager.

Copy link
Collaborator

@StormLiangMS StormLiangMS left a comment

Choose a reason for hiding this comment

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

LGTM

@StormLiangMS StormLiangMS merged commit f03e50d into sonic-net:master Jul 4, 2024
@StormLiangMS
Copy link
Collaborator

hi @yxieca for cherry pick.

mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Jul 5, 2024
What is the motivation for this PR?
Skip test_forced_mgmt_route_add_and_remove_by_mgmt_port_status in route/test_forced_mgmt_route.py if eth1 does not exist or is being used. This test was failing on Arista platforms when interface eth1 did not exist.

How did you do it?
Added a check to see if eth1 does not exist, and skips the test if so.

How did you verify/test it?
Tested on a t0 setup on a Arista-7260
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Jul 5, 2024
What is the motivation for this PR?
Skip test_forced_mgmt_route_add_and_remove_by_mgmt_port_status in route/test_forced_mgmt_route.py if eth1 does not exist or is being used. This test was failing on Arista platforms when interface eth1 did not exist.

How did you do it?
Added a check to see if eth1 does not exist, and skips the test if so.

How did you verify/test it?
Tested on a t0 setup on a Arista-7260
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202405: #13583

@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202311: #13584

mssonicbld pushed a commit that referenced this pull request Jul 7, 2024
What is the motivation for this PR?
Skip test_forced_mgmt_route_add_and_remove_by_mgmt_port_status in route/test_forced_mgmt_route.py if eth1 does not exist or is being used. This test was failing on Arista platforms when interface eth1 did not exist.

How did you do it?
Added a check to see if eth1 does not exist, and skips the test if so.

How did you verify/test it?
Tested on a t0 setup on a Arista-7260
mssonicbld pushed a commit that referenced this pull request Jul 7, 2024
What is the motivation for this PR?
Skip test_forced_mgmt_route_add_and_remove_by_mgmt_port_status in route/test_forced_mgmt_route.py if eth1 does not exist or is being used. This test was failing on Arista platforms when interface eth1 did not exist.

How did you do it?
Added a check to see if eth1 does not exist, and skips the test if so.

How did you verify/test it?
Tested on a t0 setup on a Arista-7260
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Oct 17, 2024
What is the motivation for this PR?
Skip test_forced_mgmt_route_add_and_remove_by_mgmt_port_status in route/test_forced_mgmt_route.py if eth1 does not exist or is being used. This test was failing on Arista platforms when interface eth1 did not exist.

How did you do it?
Added a check to see if eth1 does not exist, and skips the test if so.

How did you verify/test it?
Tested on a t0 setup on a Arista-7260
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202305: #15022

mssonicbld pushed a commit that referenced this pull request Oct 17, 2024
What is the motivation for this PR?
Skip test_forced_mgmt_route_add_and_remove_by_mgmt_port_status in route/test_forced_mgmt_route.py if eth1 does not exist or is being used. This test was failing on Arista platforms when interface eth1 did not exist.

How did you do it?
Added a check to see if eth1 does not exist, and skips the test if so.

How did you verify/test it?
Tested on a t0 setup on a Arista-7260
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.

5 participants