summaryrefslogtreecommitdiffstats
path: root/meta/lib
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:55:09 +0100
commita1608592c8e292774b8fd2ea9fdf3fdb4c8e9b89 (patch)
tree79001444be944896edd7bb5ed17de86cdd700ce4 /meta/lib
parente490bc826287b681a62868267bf238843bf5b3c1 (diff)
downloadpoky-a1608592c8e292774b8fd2ea9fdf3fdb4c8e9b89.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. (From OE-Core rev: 4ecdd44f0d6b1577d6131f65291b96db9cd4a951) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-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 = [
67 "was skipped because of a failed condition check", 67 "was skipped because of a failed condition check",
68 "was skipped because all trigger condition checks failed", 68 "was skipped because all trigger condition checks failed",
69 "xf86OpenConsole: Switching VT failed", 69 "xf86OpenConsole: Switching VT failed",
70 "Failed to read LoaderConfigTimeoutOneShot variable, ignoring: Operation not supported",
71 "Failed to read LoaderEntryOneShot variable, ignoring: Operation not supported",
70 ] 72 ]
71 73
72video_related = [ 74video_related = [