summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucian Musat <george.l.musat@intel.com>2014-11-20 14:21:18 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-25 12:58:20 +0000
commit20310e68a2930dd1ddc6d0d9fc577fffa5a2777f (patch)
tree7d3c6543f245443cc0f14a0acd31a0ba1017805f
parenta32869fcbcb5f31741a32fdca14e7f38c2abace6 (diff)
downloadopenembedded-core-contrib-20310e68a2930dd1ddc6d0d9fc577fffa5a2777f.tar.gz
openembedded-core-contrib-20310e68a2930dd1ddc6d0d9fc577fffa5a2777f.tar.bz2
openembedded-core-contrib-20310e68a2930dd1ddc6d0d9fc577fffa5a2777f.zip
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@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/lib/oeqa/runtime/parselogs.py36
1 files changed, 29 insertions, 7 deletions
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"]