From 20310e68a2930dd1ddc6d0d9fc577fffa5a2777f Mon Sep 17 00:00:00 2001 From: Lucian Musat Date: Thu, 20 Nov 2014 14:21:18 +0200 Subject: oeqa/runtime: Added some new filters for the log parser Including custom filters for edgerouter, minnow and jasperforest. Signed-off-by: Lucian Musat Signed-off-by: Ross Burton --- meta/lib/oeqa/runtime/parselogs.py | 36 +++++++++++++++++++++++++++++------- 1 file changed, 29 insertions(+), 7 deletions(-) (limited to 'meta/lib') diff --git a/meta/lib/oeqa/runtime/parselogs.py b/meta/lib/oeqa/runtime/parselogs.py index 42cb1b5e6f..19a4f1bf79 100644 --- a/meta/lib/oeqa/runtime/parselogs.py +++ b/meta/lib/oeqa/runtime/parselogs.py @@ -7,10 +7,22 @@ from oeqa.utils.decorators import * errors = ["error", "cannot", "can\'t", "failed"] common_errors = [ - '(WW) warning, (EE) error, (NI) not implemented, (??) unknown.', - 'dma timeout', - 'can\'t add hid device:', - 'usbhid: probe of ', + "(WW) warning, (EE) error, (NI) not implemented, (??) unknown.", + "dma timeout", + "can\'t add hid device:", + "usbhid: probe of ", + "_OSC failed (AE_ERROR)", + "_OSC failed (AE_SUPPORT)", + "AE_ALREADY_EXISTS" + "ACPI _OSC request failed (AE_SUPPORT)" + "can\'t disable ASPM", + "Failed to load module \"vesa\"", + "Failed to load module vesa", + "Failed to load module \"modesetting\"", + "Failed to load module modesetting", + "Failed to load module \"glx\"", + "Failed to load module glx", + "[drm] Cannot find any crtc or sizes - going 1024x768" ] x86_common = [ @@ -24,9 +36,6 @@ qemux86_common = [ 'Fast TSC calibration', '_OSC failed (AE_NOT_FOUND); disabling ASPM', 'Open ACPI failed (/var/run/acpid.socket) (No such file or directory)', - 'Failed to load module "vesa"', - 'Failed to load module "modesetting"', - 'Failed to load module "glx"', 'wrong ELF class', ] + common_errors @@ -54,6 +63,19 @@ ignore_errors = { 'crownbay' : x86_common, 'genericx86' : x86_common, 'genericx86-64' : x86_common, + 'edgerouter' : [ + 'Fatal server error:', + ] + common_errors, + 'minnow' : [ + 'netlink init failed', + 'NETLINK INITIALIZATION FAILED', + ] + common_errors, + 'jasperforest' : [ + 'Activated service \'org.bluez\' failed:', + 'Unable to find NFC netlink family', + 'netlink init failed', + 'NETLINK INITIALIZATION FAILED', + ] + common_errors, } log_locations = ["/var/log/","/var/log/dmesg", "/tmp/dmesg_output.log"] -- cgit 1.2.3-korg