Skip to content

Comments

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

Merged
vmittal-msft merged 1 commit intosonic-net:202511from
mssonicbld:cherry/202511/21143
Feb 3, 2026
Merged

[action] [PR:21143] configlet/test_add_rack.py Add comparison ignore for extra entries added by generic patcher#22162
vmittal-msft merged 1 commit intosonic-net:202511from
mssonicbld:cherry/202511/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.
@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).

@radha-danda
Copy link

/azpw run Azure.sonic-mgmt

@mssonicbld
Copy link
Collaborator Author

/AzurePipelines run Azure.sonic-mgmt

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@radha-danda
Copy link

/azpw run Azure.sonic-mgmt

@mssonicbld
Copy link
Collaborator Author

/AzurePipelines run Azure.sonic-mgmt

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@vmittal-msft vmittal-msft merged commit caa77f2 into sonic-net:202511 Feb 3, 2026
21 checks passed
lakshmi-nexthop pushed a commit to lakshmi-nexthop/sonic-mgmt that referenced this pull request Feb 11, 2026
…ic-net#21143) (sonic-net#22162)

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.

Co-authored-by: Justin Wong <51811017+justin-wong-ce@users.noreply.github.com>
Signed-off-by: Lakshmi Yarramaneni <lakshmi@nexthop.ai>
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.

4 participants