[code sync] Merge code from sonic-net/sonic-utilities:202605 to 202606 - #455
Merged
Conversation
mssonicbld
commented
Sep 10, 2026
Collaborator
When GCU deletes a VLAN prefix from CONFIG_DB, intfmgrd asynchronously removes the address and its neighbors from the kernel. The subsequent ip neigh flush in vlanintf_validator can race with this removal and fail with ENOENT ("No such file or directory"), which is benign since the neighbors are already gone.
Treat this specific failure as success instead of logging ERR records that cause LogAnalyzer teardown failures in test suites. Other flush failures (device not found, etc.) still fail as before.
The change can be verified by reproducing the scenario by running generic_config_updater/test_vlan_interface.py::test_vlan_interface_tc1_suite sonic-mgmt test.
What I did
Given the scenario not being an ERR state, change the vlanintf_validator behavior to not log benign messages as ERRs
How I did it
By NOT logging benign ENOENT in vlanintf_validator as syslog ERR
How to verify it
The change can be verified by reproducing the scenario by running generic_config_updater/test_vlan_interface.py::test_vlan_interface_tc1_suite sonic-mgmt test.
Previous command output (if the output of a command-line utility has changed)
New command output (if the output of a command-line utility has changed)
closes #4836
Collaborator
Author
|
/azp run |
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.