Message ID | 20240626141748.2138968-1-richard.purdie@linuxfoundation.org |
---|---|
State | Accepted, archived |
Commit | ef4623be60226e8caaf7813705aa4941ff354eac |
Headers | show |
Series | oeqa/runtime/parselogs: Add some kernel log trigger keywords | expand |
diff --git a/meta/lib/oeqa/runtime/cases/parselogs.py b/meta/lib/oeqa/runtime/cases/parselogs.py index 6966923c94d..47c77fccd50 100644 --- a/meta/lib/oeqa/runtime/cases/parselogs.py +++ b/meta/lib/oeqa/runtime/cases/parselogs.py @@ -34,7 +34,7 @@ class ParseLogsTest(OERuntimeTestCase): log_locations = ["/var/log/", "/var/log/dmesg", "/tmp/dmesg_output.log"] # The keywords that identify error messages in the log files - errors = ["error", "cannot", "can't", "failed"] + errors = ["error", "cannot", "can't", "failed", "---[ cut here ]---", "No irq handler for vector"] # A list of error messages that should be ignored ignore_errors = []
During testing we're finding some kernel oops messages and other key kernel errors such as irq issues are not triggering our log parsing. Add those keywords to the list of things to scan for, making such failures much more visible. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- meta/lib/oeqa/runtime/cases/parselogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)