-
Notifications
You must be signed in to change notification settings - Fork 266
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
How to use saiplayer to verify consistency between ASIC_DB and ASIC. #1405
Comments
@kcudnik, can you help? |
You have option to call inspect ASIC, look throu the code, since this is not my code you can ask author |
@vaibhavhd still unsolved ? there should be no scenario where ASIC_DB != ASIC data, we have discovery and every operation is recorded, not sure how you landed on this state, and how did you trigger that |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What I want to do: to verify consistency between ASIC_DB and ASIC.
Why?: We have had some issues recently where what SONiC wants to be on ASIC is not present on ASIC. Hence ASIC_DB data != ASIC data. Particularly, an issue was seen due to BRCM bug where ECN marking was enabled on ASIC_DB, but was disabled on ASIC.
This is BRCM bug, but we want to include a new step (consistency checker for diff in ASIC vs ASIC_DB) in our sonic-mgmt tests.
So this is what I am hoping to do:
After warm-reboot, run through ASIC_DB entries.
For every entry in ASIC_DB, do SAI GET operation (on the fly)
Check if ASIC_DB entry attributes are not matching SAI response.
My plan to do GET operations is via saiplayer. I am trying to replay a part of sairedis logs, but I keep getting this error. translate_local_to_redis: failed to translate local RID'
I am positive that the local RID exists in the DB. I get this error for all the different kinds of objects I tried. For eg., if I have just one entry (as below) on rec, it still fails with above error:
The text was updated successfully, but these errors were encountered: