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

Add check ASIC vs DB state after comparison logic #393

Merged
merged 3 commits into from
Dec 5, 2018

Conversation

kcudnik
Copy link
Collaborator

@kcudnik kcudnik commented Nov 29, 2018

No description provided.

@lguohan
Copy link
Contributor

lguohan commented Dec 1, 2018

build fails?

@lguohan
Copy link
Contributor

lguohan commented Dec 3, 2018

@kcudnik , can you take a look?

@kcudnik
Copy link
Collaborator Author

kcudnik commented Dec 3, 2018

yea, i send email about this, it's jenkins issue
+ sudo service rsyslog start rsyslog: unrecognized service Build step 'Execute shell' marked build as failure Archiving artifacts

@kcudnik
Copy link
Collaborator Author

kcudnik commented Dec 3, 2018

test this please

@yxieca
Copy link
Contributor

yxieca commented Dec 4, 2018

Looks like your DB/SAI comparison is working! The only problem is that it surely triggers Broadcom SAI segment fault while comparing.

Can you make it optional?

I think the best way to trigger it might be reuse the syncd_request_shutdown program to send an event to check. What do you think?

Alternative would be if you receive a signal then start checking. like USR1 :-)

@kcudnik
Copy link
Collaborator Author

kcudnik commented Dec 4, 2018

i would rather like to avoid using linux signals to make make something like this

@kcudnik kcudnik merged commit b5ba6c4 into sonic-net:master Dec 5, 2018
@kcudnik kcudnik deleted the statecheck branch December 5, 2018 08:06
lguohan pushed a commit to sonic-net/sonic-buildimage that referenced this pull request Dec 8, 2018
Includes changes:

- Fix pre shutdown select (sonic-net/sonic-sairedis#397)
- [.gitignore]: Add more files in .gitignore file (sonic-net/sonic-sairedis#396)
- Add check ASIC vs DB state after comparison logic (sonic-net/sonic-sairedis#393)
- Process only shutdown requests after pre shutdown (sonic-net/sonic-sairedis#395)
volodymyrsamotiy pushed a commit to volodymyrsamotiy/sonic-sairedis that referenced this pull request Jul 30, 2019
* Add check ASIC vs DB state after comparison logic

* Add aspell exceptions

* Add cmd flag to enable consistency check explicitly
pettershao-ragilenetworks pushed a commit to pettershao-ragilenetworks/sonic-sairedis that referenced this pull request Nov 18, 2022
* Add check ASIC vs DB state after comparison logic

* Add aspell exceptions

* Add cmd flag to enable consistency check explicitly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants