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

LogAnalyser failures in ARP tests : arp/test_arp_garp_no_update, arp/testNeighborMacNoPtf #6149

Open
judyjoseph opened this issue Aug 11, 2022 · 4 comments
Assignees
Labels

Comments

@judyjoseph
Copy link
Contributor

judyjoseph commented Aug 11, 2022

Description

Errors seen during ARP run tests in Chassis with multi-asic linecards. This happens when neighbors learned in an asic is getting programmed in the other asic. The command used is "ip neigh add" which fails if there is already an entry present and the mac address is getting changed.

Steps to reproduce the issue:

  1. Run the tests test_arp_garp_no_update/testNeighborMacNoPtf

Describe the results you received:
The tests fail with error

2022-07-31T04:29:25.5850517Z E               Match Messages:
2022-07-31T04:29:25.5853685Z E               Jul 31 04:21:17.084414 str2--lc1-1 ERR swss0#nbrmgrd: :- addKernelNeigh: Failed to add Nbr for 29.0.0.2, error: 2
2022-07-31T04:29:25.5856493Z E               
2022-07-31T04:29:25.5859585Z E               Jul 31 04:21:17.084634 str2--lc1-1 ERR swss1#nbrmgrd: :- addKernelNeigh: Failed to add Nbr for 29.0.0.2, error: 2
2022-07-31T04:29:25.5862339Z E               
2022-07-31T04:29:25.5865290Z E               Jul 31 04:21:18.091901 str2--lc1-1 ERR swss0#nbrmgrd: :- addKernelRoute: Failed to add route for 29.0.0.2, error: 2
2022-07-31T04:29:25.5868104Z E               
2022-07-31T04:29:25.5871219Z E               Jul 31 04:21:18.091901 str2--lc1-1 ERR swss0#nbrmgrd: :- doStateSystemNeighTask: Route entry add on dev Ethernet-IB0 failed for 'str2--lc2-1|asic0|PortChannel101|29.0.0.2'
2022-07-31T04:29:25.5874081Z E               
2022-07-31T04:29:25.5877060Z E               Jul 31 04:21:18.093208 str2--lc1-1 ERR swss1#nbrmgrd: :- addKernelRoute: Failed to add route for 29.0.0.2, error: 2
2022-07-31T04:29:25.5879799Z E               
2022-07-31T04:29:25.5882955Z E               Jul 31 04:21:18.093208 str2--lc1-1 ERR swss1#nbrmgrd: :- doStateSystemNeighTask: Route entry add on dev Ethernet-IB1 failed for 'str2--lc2-1|asic0|PortChannel101|29.0.0.2'

Describe the results you expected:
The tests should pass.

Additional information you deem important:

**Output of `show version`:**

```
(paste your output here)
```

**Attach debug file `sudo generate_dump`:**

```
(paste your output here)
```
@sanmalho-git
Copy link
Contributor

@judyjoseph - do we expect a fix in sonic-buildimage to not print the error messages, or a fix in sonic-mgmt tests to extend the logAnalyzer to ignore these messages

@judyjoseph
Copy link
Contributor Author

@sanmalho-git I have this PR raised for fixing it with changing the log messages in sonic-swss, sonic-net/sonic-swss#2416

@yxieca
Copy link
Collaborator

yxieca commented Sep 7, 2022

@judyjoseph can you close this issue if the fix has be merged and validated?

@judyjoseph
Copy link
Contributor Author

@yxieca The fix is in sonic-swss/master, still getting pulled into sonic-buildimage via this PR : sonic-net/sonic-buildimage#11884. I will close this PR once that is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants