add tests for LRU-dedup notification queue for FDB events#24848
Open
senthil-nexthop wants to merge 1 commit into
Open
add tests for LRU-dedup notification queue for FDB events#24848senthil-nexthop wants to merge 1 commit into
senthil-nexthop wants to merge 1 commit into
Conversation
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Signed-off-by: Senthil Krishnamurthy <senthil@nexthop.ai>
6a070c5 to
fd02cbf
Compare
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
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.
Description of PR
Adds
tests/fdb/test_fdb_churn.py— functional + storm validation for the LRU-dedup queue policy + op-allowlist + per-consumer COUNTERS_DB stats described in HLD: sonic-net/SONiC#2334The suite covers functional correctness: verify LRU+dedup preserves end-state correctness for FDB events.
Summary:
Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
Under the presence of FDB mac move storm, the memory usage of Orchagent grows unbounded. These tests validate the mitigation strategy discussed in the HLD linked above.
How did you do it?
test_fdb_repeated_learn_deduptest_fdb_learn_delete_relearntest_fdb_port_move_not_dedupedtest_fdb_mac_ping_pongtest_fdb_distinct_macs_bulk_learntest_fdb_flush_during_learnFdbOrch:flushconsumer (channelFLUSHFDBREQUEST, FIFO policy) while LEARN consumer is dedup-activeHow did you verify/test it?
Tested manually.
Any platform specific information?
N/A
Supported testbed topology if it's a new test case?
t0, for vlan configuration