diff options
author | Lucian Musat <george.l.musat@intel.com> | 2014-11-20 14:21:18 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-25 13:03:29 +0000 |
commit | 16e8b40b50254afc08319bc61d63756e0492330d (patch) | |
tree | 0da9542540f3995b683bb8fe213ce0778f8abdce | |
parent | 3857f24e2d1c7d2e11cfd11a404f7a9e0a21baf4 (diff) | |
download | poky-16e8b40b50254afc08319bc61d63756e0492330d.tar.gz |
oeqa/runtime: Added some new filters for the log parser Including custom filters for edgerouter, minnow and jasperforest.
(From OE-Core rev: 20310e68a2930dd1ddc6d0d9fc577fffa5a2777f)
Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/lib/oeqa/runtime/parselogs.py | 36 |
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 * | |||
7 | errors = ["error", "cannot", "can\'t", "failed"] | 7 | errors = ["error", "cannot", "can\'t", "failed"] |
8 | 8 | ||
9 | common_errors = [ | 9 | common_errors = [ |
10 | '(WW) warning, (EE) error, (NI) not implemented, (??) unknown.', | 10 | "(WW) warning, (EE) error, (NI) not implemented, (??) unknown.", |
11 | 'dma timeout', | 11 | "dma timeout", |
12 | 'can\'t add hid device:', | 12 | "can\'t add hid device:", |
13 | 'usbhid: probe of ', | 13 | "usbhid: probe of ", |
14 | "_OSC failed (AE_ERROR)", | ||
15 | "_OSC failed (AE_SUPPORT)", | ||
16 | "AE_ALREADY_EXISTS" | ||
17 | "ACPI _OSC request failed (AE_SUPPORT)" | ||
18 | "can\'t disable ASPM", | ||
19 | "Failed to load module \"vesa\"", | ||
20 | "Failed to load module vesa", | ||
21 | "Failed to load module \"modesetting\"", | ||
22 | "Failed to load module modesetting", | ||
23 | "Failed to load module \"glx\"", | ||
24 | "Failed to load module glx", | ||
25 | "[drm] Cannot find any crtc or sizes - going 1024x768" | ||
14 | ] | 26 | ] |
15 | 27 | ||
16 | x86_common = [ | 28 | x86_common = [ |
@@ -24,9 +36,6 @@ qemux86_common = [ | |||
24 | 'Fast TSC calibration', | 36 | 'Fast TSC calibration', |
25 | '_OSC failed (AE_NOT_FOUND); disabling ASPM', | 37 | '_OSC failed (AE_NOT_FOUND); disabling ASPM', |
26 | 'Open ACPI failed (/var/run/acpid.socket) (No such file or directory)', | 38 | 'Open ACPI failed (/var/run/acpid.socket) (No such file or directory)', |
27 | 'Failed to load module "vesa"', | ||
28 | 'Failed to load module "modesetting"', | ||
29 | 'Failed to load module "glx"', | ||
30 | 'wrong ELF class', | 39 | 'wrong ELF class', |
31 | ] + common_errors | 40 | ] + common_errors |
32 | 41 | ||
@@ -54,6 +63,19 @@ ignore_errors = { | |||
54 | 'crownbay' : x86_common, | 63 | 'crownbay' : x86_common, |
55 | 'genericx86' : x86_common, | 64 | 'genericx86' : x86_common, |
56 | 'genericx86-64' : x86_common, | 65 | 'genericx86-64' : x86_common, |
66 | 'edgerouter' : [ | ||
67 | 'Fatal server error:', | ||
68 | ] + common_errors, | ||
69 | 'minnow' : [ | ||
70 | 'netlink init failed', | ||
71 | 'NETLINK INITIALIZATION FAILED', | ||
72 | ] + common_errors, | ||
73 | 'jasperforest' : [ | ||
74 | 'Activated service \'org.bluez\' failed:', | ||
75 | 'Unable to find NFC netlink family', | ||
76 | 'netlink init failed', | ||
77 | 'NETLINK INITIALIZATION FAILED', | ||
78 | ] + common_errors, | ||
57 | } | 79 | } |
58 | 80 | ||
59 | log_locations = ["/var/log/","/var/log/dmesg", "/tmp/dmesg_output.log"] | 81 | log_locations = ["/var/log/","/var/log/dmesg", "/tmp/dmesg_output.log"] |