modifying Ignore message for 'Failed to get port by bridge port ID'#13915
Merged
bpar9 merged 1 commit intosonic-net:masterfrom Mar 7, 2025
Merged
modifying Ignore message for 'Failed to get port by bridge port ID'#13915bpar9 merged 1 commit intosonic-net:masterfrom
bpar9 merged 1 commit intosonic-net:masterfrom
Conversation
bpar9
approved these changes
Mar 7, 2025
nnelluri-cisco
pushed a commit
to nnelluri-cisco/sonic-mgmt
that referenced
this pull request
Mar 15, 2025
Contributor
Author
|
Need this PR to be back-ported to these branches -202311 |
OriTrabelsi
pushed a commit
to OriTrabelsi/sonic-mgmt
that referenced
this pull request
Apr 1, 2025
StormLiangMS
added a commit
to Azure/sonic-mgmt.msft
that referenced
this pull request
May 15, 2025
…dge port ID' (#263) Cherry-pick of sonic-net/sonic-mgmt#13915
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. |
Contributor
|
Hi @yejianquan , could you please approve this for 202505 |
Collaborator
this PR is merged on Mar, 202505 is cherry-picked on May, this commit is included in 202505 already |
Collaborator
|
@CharudattaSChitale PR conflicts with 202505 branch |
Collaborator
|
The change is included, please ignore the conflict notification |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.