Add MCE and PCIe AER sub-checks to check_syslogs#55
Add MCE and PCIe AER sub-checks to check_syslogs#55gustcol wants to merge 1 commit intofacebookresearch:mainfrom
Conversation
CI CommandsThe following CI workflows run automatically on every push and pull request:
The following commands can be used by maintainers to trigger additional tests that require access to secrets:
|
|
Hi @gustcol! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks! |
|
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks! |
|
@gustcol same comment from #54, if you could add a small doc: https://github.com/facebookresearch/gcm/tree/main/website/docs/GCM_Health_Checks/health_checks |
53fc6db to
822200d
Compare
|
Hi @luccabb, thanks for the feedback! I've added the documentation page:
The doc follows the same structure as existing health check pages like Let me know if you'd like any adjustments! |
a0675d8 to
bc77d65
Compare
|
what do you think of:
|
Implement mce and pcie-aer sub-commands under the existing check_syslogs Click group for detecting Machine Check Exceptions and PCIe Advanced Error Reporting messages from dmesg. Follows the established pattern of xid, link-flaps, and io-errors sub-checks. Include documentation pages and comprehensive test coverage.
bc77d65 to
9f59a6c
Compare
|
Hi @luccabb, great suggestion! I've refactored the PR:
Now the usage looks like: # MCE check
health_checks check-syslogs mce [CLUSTER] app
# PCIe AER check
health_checks check-syslogs pcie-aer [CLUSTER] appEach sub-check has its own:
XIDs remain at their current location in |
Summary
mceandpcie-aersub-commands to the existingcheck_syslogsClick groupxid,link-flaps, andio-errorssub-checkscheck-syslogs/and test coverageTest plan
Sample output
MCE check (clean):
MCE check (errors found):
PCIe AER check (corrected errors):
PCIe AER check (uncorrectable errors):