Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[202405] Add log ignore to account for FDB flush race condition #15798

Open
wants to merge 1 commit into
base: 202405
Choose a base branch
from

Conversation

justin-wong-ce
Copy link
Contributor

Description of PR

Summary:
Fixes # (issue)

202405 version of #15797

During fdb/test_fdb_mac_learning.py::testARPCompleted, syslog will output the following error log:

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

This is not an actual error, but a minor race condition - it is caused by Broadcom SAI sending a FDB AGED event after the FDB entry has been flushed, causing orchagent to check on a bridge port that does not exist. Fix by extending log ignore to the test.

Same issue as the one reoslved in
#9818

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

Approach

What is the motivation for this PR?

How did you do it?

How did you verify/test it?

Test no longer fails with log analyzer on Broadcom platforms.

Any platform specific information?

Broadcom platforms only.

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

Documentation

During fdb/test_fdb_mac_learning.py::testARPCompleted, syslog will
output the following error log:

```
ERR swss#orchagent: :- update: Failed to get port by bridge port ID
0x3a00000000155c.
```

This is not an actual error, but a minor race condition - it is
caused by Broadcom SAI sending a FDB AGED event after the FDB entry
has been flushed, causing orchagent to check on a bridge port that
does not exist.

Same issue as the one reoslved in
sonic-net#9818
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant