Skip to contentSkip to conversation

parselogs.py: ignore systemd-logind warning message

PATCH Changqing Li 1 participant 1 message Sep 1, 2022 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

ping

Quoted 45 lines · Changqing Li

From: Changqing Li <[email protected]>

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.

---
  meta/lib/oeqa/runtime/cases/parselogs.py | 2 ++
  1 file changed, 2 insertions(+)
meta/lib/oeqa/runtime/cases/parselogs.py +2 -1
index 15dda7947f..1b678f2ff7 100644
@@ -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 = [
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#169620): https://lists.openembedded.org/g/openembedded-core/message/169620
Mute This Topic: https://lists.openembedded.org/mt/93121196/3616873
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-