Skip to content

Comments

[action] [PR:21143] configlet/test_add_rack.py Add comparison ignore for extra entries added by generic patcher#22492

Merged
mssonicbld merged 1 commit intosonic-net:202505from
mssonicbld:cherry/202505/21143
Feb 20, 2026
Merged

[action] [PR:21143] configlet/test_add_rack.py Add comparison ignore for extra entries added by generic patcher#22492
mssonicbld merged 1 commit intosonic-net:202505from
mssonicbld:cherry/202505/21143

Conversation

@mssonicbld
Copy link
Collaborator

Description of PR

Summary:
When patching the DUT to remove t0 peers, the test fails the DB comparison due to extra entries being added to APP_DB.

These entries only get added when generic patcher in SONiC (config apply-patch) is used to remove t0 from the DUT.

Ideally this should be fixed in config apply-patch code. This PR is a workaround for the issue since the extra entries are harmless and does not get used.

Fixes # (issue)

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
  • msft_202412
  • 202505

Approach

What is the motivation for this PR?

configlet/test_add_rack.py is failing.

How did you do it?

Adding extra entries to ignore. These entries seems to be harmless and not used. However it is not understood why it is being added by config apply-patch.

Again, ideally this should be fixed in config apply-patch code. This PR is a workaround for the issue since the extra entries are harmless and does not get used.

How did you verify/test it?

Test no longer fails

Any platform specific information?

Broadcom platform is used for testing.

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

Documentation

…ic-net#21143)

What is the motivation for this PR?
configlet/test_add_rack.py is failing.

How did you do it?
Adding extra entries to ignore. These entries seems to be harmless and not used. However it is not understood why it is being added by config apply-patch.

Again, ideally this should be fixed in config apply-patch code. This PR is a workaround for the issue since the extra entries are harmless and does not get used.

How did you verify/test it?
Test no longer fails

Any platform specific information?
Broadcom platform is used for testing.

Signed-off-by: mssonicbld <sonicbld@microsoft.com>
@mssonicbld
Copy link
Collaborator Author

Original PR: #21143

@mssonicbld
Copy link
Collaborator Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld mssonicbld merged commit c5759b4 into sonic-net:202505 Feb 20, 2026
19 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