tests: Add diagnostic info for kernel bug, warning, and oops
authorKienan Stewart <kstewart@efficios.com>
Tue, 23 Jan 2024 15:08:34 +0000 (10:08 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 7 Mar 2024 19:04:14 +0000 (14:04 -0500)
commitf6fd58e865ae9918ca5c9b935c526140b1622f3c
tree61f69e7ed49111c96c3dd90bea7175b04a9eee4b
parent11927a7859022cf38a4153767cc96fda4987070d
tests: Add diagnostic info for kernel bug, warning, and oops

When test_select_poll_epoll fails with an error due to hitting one a new
WARNING, OOPS, or BUG statements in dmesg, the user must go and read the
the logs themselves to try and find the matching statements.

Providing the previous and new messages in diagnostic output will allow
a person reading the test results to more quickly ascertain if the
messages are pertinent to lttng-modules or not. That being said, there
is no guarantee that there are not other WARNINGs, OOPs, or BUGs in
dmesg between before and after that are pertinent.

Change-Id: Ida026dfe852cafdcc55979089c92995949e2ef0d
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/regression/kernel/test_select_poll_epoll
This page took 0.025543 seconds and 4 git commands to generate.