[OE-core] [PATCH 2/2] parselogs.py: whitelist more xserver related error

changqing.li at windriver.com changqing.li at windriver.com
Wed Mar 11 02:13:24 UTC 2020


From: Changqing Li <changqing.li at windriver.com>

With default config, these errors always exist for
core-image-sato, and xserver-nodm.server start successfully,
these errors are not critially.

If set default syslog to rsyslog, all these errors
will go into daemon.log and user.log, then test_parselog
will fail, so whitelist these errors

Signed-off-by: Changqing Li <changqing.li at windriver.com>
---
 meta/lib/oeqa/runtime/cases/parselogs.py | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/runtime/cases/parselogs.py b/meta/lib/oeqa/runtime/cases/parselogs.py
index 6e22520..2a5e5c6 100644
--- a/meta/lib/oeqa/runtime/cases/parselogs.py
+++ b/meta/lib/oeqa/runtime/cases/parselogs.py
@@ -58,7 +58,15 @@ common_errors = [
     "Failed to rename network interface",
     "Failed to process device, ignoring: Device or resource busy",
     "Cannot find a map file",
-    "[rdrand]: Initialization Failed"
+    "[rdrand]: Initialization Failed",
+    "libGL error:",
+    "[pulseaudio] authkey.c: Failed to open cookie file",
+    "[pulseaudio] authkey.c: Failed to load authentication key",
+    "FBIOPUT_VSCREENINFO failed, double buffering disabled",
+    "xserver-nodm.service: Failed with result 'exit-code'",
+    "xinit: server error",
+    "matchbox-wm: X error warning",
+    "X11 cannot support keycodes above 255"
     ]
 
 video_related = [
@@ -86,6 +94,8 @@ qemux86_common = [
     'tsc: HPET/PMTIMER calibration failed',
     "modeset(0): Failed to initialize the DRI2 extension",
     "glamor initialization failed",
+    "xf86OpenConsole: Switching VT failed",
+    "Fatal server error:",
 ] + common_errors
 
 ignore_errors = {
-- 
2.7.4



More information about the Openembedded-core mailing list