[oe-commits] Lucian Musat : oeqa/runtime: Added some new filters for the log parser Including custom filters for edgerouter , minnow and jasperforest.

git at git.openembedded.org git at git.openembedded.org
Wed Nov 26 17:07:09 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 20310e68a2930dd1ddc6d0d9fc577fffa5a2777f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=20310e68a2930dd1ddc6d0d9fc577fffa5a2777f

Author: Lucian Musat <george.l.musat at intel.com>
Date:   Thu Nov 20 14:21:18 2014 +0200

oeqa/runtime: Added some new filters for the log parser Including custom filters for edgerouter, minnow and jasperforest.

Signed-off-by: Lucian Musat <george.l.musat at intel.com>
Signed-off-by: Ross Burton <ross.burton 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"]



More information about the Openembedded-commits mailing list