Skip to content

modifying Ignore message for 'Failed to get port by bridge port ID'#13915

Merged
bpar9 merged 1 commit intosonic-net:masterfrom
CharudattaSChitale:modify-ignore-message
Mar 7, 2025
Merged

modifying Ignore message for 'Failed to get port by bridge port ID'#13915
bpar9 merged 1 commit intosonic-net:masterfrom
CharudattaSChitale:modify-ignore-message

Conversation

@CharudattaSChitale
Copy link
Contributor

What is the motivation for this PR?
When a vlan member is removed, we get an error message in syslog like below

ERR swss#orchagent: :- update: Failed to get port by bridge port ID 0x3a000000000583

This message is already added to loganalyzer_common_ignore.txt as seen below because it does not have a functionality impact.
https://github.com/sonic-net/sonic-mgmt/blob/master/ansible/roles/test/files/tools/loganalyzer/loganalyzer_common_ignore.txt#L210

The message that we are seeing in the latest Image is a bit different than the message that is being ignored.
This PR modifies loganalyzer_common_ignore.txt so that both old and new messages get ignored.

How did you do it?
Modified the message in loganalyzer_common_ignore.txt file
old:
r, ". ERR swss#orchagent: :- update: FdbOrch MOVE notification: Failed to get port by bridge port ID."
new:
r, ". *ERR swss#orchagent.Failed to get port by bridge port ID."

Back port request
-202311
-202305
-202405

How did you verify/test it?
Ran the test with correct Ignore messages. Made sure that the testcases did not fail with these errors.

Copy link
Contributor

@wsycqyz wsycqyz left a comment

Choose a reason for hiding this comment

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

lğtm

@bpar9 bpar9 merged commit b97a809 into sonic-net:master Mar 7, 2025
nnelluri-cisco pushed a commit to nnelluri-cisco/sonic-mgmt that referenced this pull request Mar 15, 2025
@CharudattaSChitale
Copy link
Contributor Author

Need this PR to be back-ported to these branches

-202311
-202405
-202411

@AnantKishorSharma
Copy link
Contributor

Hi @wsycqyz @bpar9, @StormLiangMS could you please approve this change for 202411, 202405 and 202311 branches? Our CICD pipeline has been failing because of this LA error.

@AnantKishorSharma
Copy link
Contributor

Hi @yejianquan , could you please approve this for 202505

@yejianquan
Copy link
Collaborator

Hi @yejianquan , could you please approve this for 202505

this PR is merged on Mar, 202505 is cherry-picked on May, this commit is included in 202505 already

@mssonicbld
Copy link
Collaborator

@CharudattaSChitale PR conflicts with 202505 branch

@yejianquan
Copy link
Collaborator

The change is included, please ignore the conflict notification

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.

6 participants