[OE-core] [PATCH] oeqa/runtime: Added some new filters for the log parser Including custom filters for edgerouter, minnow and jasperforest.

Lucian Musat george.l.musat at intel.com
Thu Nov 20 12:21:18 UTC 2014


Signed-off-by: Lucian Musat <george.l.musat at intel.com>
---
 meta/lib/oeqa/runtime/parselogs.py | 36 +++++++++++++++++++++++++++++-------
 1 file changed, 29 insertions(+), 7 deletions(-)

diff --git a/meta/lib/oeqa/runtime/parselogs.py b/meta/lib/oeqa/runtime/parselogs.py
index 42cb1b5..19a4f1b 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"]
-- 
2.1.0




More information about the Openembedded-core mailing list