New Notifier to check the DMesg Logs for OOPS Exceptions#3617
New Notifier to check the DMesg Logs for OOPS Exceptions#3617
Conversation
|
The notifier isn't a right place for panic checks, and the dmesg tool handles more scenarios. The notifier cannot fail the test case, so the results is hard to associate with the failed cause.
|
@squirrelsc Thanks for the comment. The purpose of the Notifier is not to fail the test cases in case of an OOPS/Kernel Error but to simply save the detections in a file, which can then be later utilized for notification purposes. There are many tests which do not check the Dmesg logs for issues since the purpose of the test case might not necessarily need it - though it was still important to check Dmesg logs for each of the tests without actually failing them. |
At the moment when a test case is executed, the Pass/Fail status is specific to the tasks executed as part of the test but the OOPS exceptions are not checked. Hence creating a notifier that can run a regex pattern against the DMesg logs and capture the contextual log lines around the found OOPS.
These findings will then be saved in the artifacts generated against the tests which can further be utilized for creating any kind of notifications/alerts.