Skip to content

Fix test_lo_interface.py on t2/voq systems#23589

Open
arista-nwolfe wants to merge 1 commit intosonic-net:masterfrom
arista-nwolfe:master-test_lo_interface-voq
Open

Fix test_lo_interface.py on t2/voq systems#23589
arista-nwolfe wants to merge 1 commit intosonic-net:masterfrom
arista-nwolfe:master-test_lo_interface-voq

Conversation

@arista-nwolfe
Copy link
Copy Markdown
Contributor

Description of PR

T2/VOQ systems have a Loopback4096 interface which returns an error when generic_config_updater/test_lo_interface.py tries to delete it.

> sudo config loopback del Loopback4096
Usage: config loopback del [OPTIONS] <loopback_name>
Try 'config loopback del -h' for help.

Error: Loopback4096 is invalid, name should have prefix 'Loopback' and suffix '<0-999>'

The test doesn't need to delete this interface so skip it.
More details in #23586

Summary:
Fixes #23586

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?

Fix generic_config_updater/test_lo_interface.py on T2/VOQ systems

How did you do it?

Don't delete Loopback4096

How did you verify/test it?

Ran generic_config_updater/test_lo_interface.py on a T2/VOQ system and saw it passed

Any platform specific information?

N/A

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

N/A

Documentation

N/A

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

T2/VOQ systems have a Loopback4096 interface which returns an error when
the test tries to delete it.
The test doesn't need to delete this interface so skip it.
sonic-net#23586

Signed-off-by: Nathan Wolfe <[email protected]>
@arista-nwolfe arista-nwolfe force-pushed the master-test_lo_interface-voq branch from 4fce427 to 4e145f2 Compare April 2, 2026 23:18
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Copy Markdown
Collaborator

@yxieca yxieca left a comment

Choose a reason for hiding this comment

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

AI agent on behalf of Ying. Reviewed; no issues found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Bug: T2 fails test_lo_interface.py with Failed: Loopback interface 'Loopback4096' is not deleted successfully

3 participants