summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2022-08-19 17:54:34 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-05 12:54:50 +0100
commit4ecdd44f0d6b1577d6131f65291b96db9cd4a951 (patch)
tree5c264e82b084d48db9788a4fbdf94748ee3a1997 /meta/lib/oeqa/runtime
parentedbfd06927ef4a9bb1ea1ff80fbc901ede89ce42 (diff)
downloadopenembedded-core-4ecdd44f0d6b1577d6131f65291b96db9cd4a951.tar.gz
parselogs.py: ignore systemd-logind warning message
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@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime')
-rw-r--r--meta/lib/oeqa/runtime/cases/parselogs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/cases/parselogs.py b/meta/lib/oeqa/runtime/cases/parselogs.py
index e16c230dfa..e67d3750da 100644
--- a/meta/lib/oeqa/runtime/cases/parselogs.py
+++ b/meta/lib/oeqa/runtime/cases/parselogs.py
@@ -67,6 +67,8 @@ common_errors = [
"was skipped because of a failed condition check",
"was skipped because all trigger condition checks failed",
"xf86OpenConsole: Switching VT failed",
+ "Failed to read LoaderConfigTimeoutOneShot variable, ignoring: Operation not supported",
+ "Failed to read LoaderEntryOneShot variable, ignoring: Operation not supported",
]
video_related = [