Re: [kirkstone][master][PATCH] parselogs.py: ignore systemd-logind warning message


Changqing Li
 

ping

On 8/19/22 17:54, Changqing Li wrote:
From: Changqing Li <changqing.li@...>

During upower.servie startup, it will send message "GetAll
org.freedesktop.DBus.Properties" to systemd-logind.service. Property
RebootToBootLoaderMenu and RebootToBootLoaderEntry will return warning
message when env SYSTEMD_REBOOT_TO_BOOT_LOADER_MENU,
SYSTEMD_REBOOT_TO_BOOT_LOADER_ENTRY are not set, and also efi boot is
not used. The message just warning and not harmful.

Since do_testimage run qemu, and use basic bios to boot, test_parselogs
failed with error:
-----------------------
Central error: Aug 8 02:53:59 qemuarm systemd-logind[383]: Failed to read LoaderConfigTimeoutOneShot variable, ignoring: Operation not supported
***********************

So just ignore this error message so that parselogs.py test case does not
fail.

Signed-off-by: Changqing Li <changqing.li@...>
---
meta/lib/oeqa/runtime/cases/parselogs.py | 2 ++
1 file changed, 2 insertions(+)

diff --git a/meta/lib/oeqa/runtime/cases/parselogs.py b/meta/lib/oeqa/runtime/cases/parselogs.py
index 15dda7947f..1b678f2ff7 100644
--- a/meta/lib/oeqa/runtime/cases/parselogs.py
+++ b/meta/lib/oeqa/runtime/cases/parselogs.py
@@ -66,6 +66,8 @@ common_errors = [
"[pulseaudio] authkey.c: Failed to load authentication key",
"was skipped because of a failed condition check",
"was skipped because all trigger condition checks failed",
+ "Failed to read LoaderConfigTimeoutOneShot variable, ignoring: Operation not supported",
+ "Failed to read LoaderEntryOneShot variable, ignoring: Operation not supported",
]
video_related = [

Join openembedded-core@lists.openembedded.org to automatically receive all group messages.