def METHOD_NAME(self):
    whiteboard = process.system_output("dmesg").decode()
    pattern = ['WARNING: CPU:', 'Oops', 'Segfault', 'soft lockup',
               'Unable to handle', 'ard LOCKUP']
    for fail_pattern in pattern:
        if fail_pattern in whiteboard:
            self.fail("Test Failed : %s in dmesg" % fail_pattern)