Skip to contentSkip to conversation

parselogs.py: ignore pulseaudio startup warning messages

PATCH New Changqing Li 1 participant 1 message Apr 8, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 parselogs.py: ignore pulseaudio startup warning messages

From: Changqing Li <[email protected]>

If set default syslog to rsyslog, we can see below messages in user.log,

[pulseaudio] authkey.c: Failed to open cookie file [pulseaudio] authkey.c: Failed to load authentication key

They are only warnings when cookie file is not found. And PulseAudio will create it if it doesn't exist.

refer:
https://wiki.archlinux.org/index.php/PulseAudio/Configuration
https://lists.freedesktop.org/archives/pulseaudio-discuss/2014-December/022719.html

---
 meta/lib/oeqa/runtime/cases/parselogs.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/lib/oeqa/runtime/cases/parselogs.py +3 -1
index f94387c..a1791b5 100644
@@ -58,7 +58,9 @@ 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",
+    "[pulseaudio] authkey.c: Failed to open cookie file",
+    "[pulseaudio] authkey.c: Failed to load authentication key",
     ]
 
 video_related = [
Signature · 1 line
2.7.4