[lldp] Add test_lldp_after_config_reload to verify LLDP recovery#22449
Closed
rustiqly wants to merge 1 commit intosonic-net:masterfrom
Closed
[lldp] Add test_lldp_after_config_reload to verify LLDP recovery#22449rustiqly wants to merge 1 commit intosonic-net:masterfrom
rustiqly wants to merge 1 commit intosonic-net:masterfrom
Conversation
Fixes sonic-net#22376. Adds a new test case that verifies LLDP neighbors are correctly restored after config reload, catching regressions where lldpd fails to detect all interfaces during boot (e.g. the race condition fixed in sonic-net/sonic-buildimage#25436). The test validates: 1. All LLDP neighbor entries present before reload are restored after 2. Chassis ID type is 'mac' (not hostname fallback from missing eth0) 3. All interfaces appear in 'lldpcli show interfaces' 4. Checks syslog for 'cannot find port' / lldpmgrd errors (warning only) Signed-off-by: Rustiqly <[email protected]> Signed-off-by: Sonicly1G <[email protected]>
Collaborator
|
/azp run |
|
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
Closing in favor of #22562 which covers the same test. |
Contributor
Author
Collaborator
|
/azp run |
|
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command. |
Contributor
Author
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.
Fixes #22376.
Adds a new test case that verifies LLDP neighbors are correctly restored
after config reload, catching regressions where lldpd fails to detect all
interfaces during boot (e.g. the race condition fixed in
sonic-net/sonic-buildimage#25436).
The test validates:
Signed-off-by: Rustiqly [email protected]
Signed-off-by: Sonicly1G [email protected]
Re-submitted from rustiqly (closes #22428). Fixes #22376.