Skip to content

Fix Skip tests if no portchannels are found in prepare_test_port fixture#18292

Merged
bingwang-ms merged 1 commit intosonic-net:masterfrom
yanmo96:yanmo/vxlanTestFix
May 9, 2025
Merged

Fix Skip tests if no portchannels are found in prepare_test_port fixture#18292
bingwang-ms merged 1 commit intosonic-net:masterfrom
yanmo96:yanmo/vxlanTestFix

Conversation

@yanmo96
Copy link
Copy Markdown
Contributor

@yanmo96 yanmo96 commented May 8, 2025

Description of PR

Summary:
Fixes #18291

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?

Fix bug, and let code run by design.

How did you do it?

Adjust the check condition for if there is portchannel.

How did you verify/test it?

Verified by running local test on testbed with no portchannel, and was erroring out before the fix.
image

Any platform specific information?

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

Documentation

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@yanmo96 yanmo96 self-assigned this May 8, 2025
Copy link
Copy Markdown
Contributor

@Janetxxx Janetxxx left a comment

Choose a reason for hiding this comment

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

Skip when no port channels are found looks good to me.

@bingwang-ms bingwang-ms merged commit fe86262 into sonic-net:master May 9, 2025
12 checks passed
@bingwang-ms
Copy link
Copy Markdown
Collaborator

@r12f For 202412 cherry-pcik

@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to msft-202412: Azure/sonic-mgmt.msft#280

opcoder0 pushed a commit to opcoder0/sonic-mgmt that referenced this pull request Dec 8, 2025
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Dec 16, 2025
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 21, 2025
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Jan 26, 2026
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.

Bug:vxlan/test_vnet_bgp_route_precedence.py::Test_VNET_BGP_route_Precedence

6 participants