summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2021-07-20 15:10:55 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-20 18:59:18 +0100
commite8b13b98098416a65259424a2c3c8fe24a2c0df4 (patch)
tree47fc70f10d401d8c252656773d409f29a43b7f5c /meta/lib/oeqa
parent6d1eec4512881d1f678f1e7c2a2bbde7ab35fd60 (diff)
downloadpoky-e8b13b98098416a65259424a2c3c8fe24a2c0df4.tar.gz
parselogs.py: ignore rndr initialization failure
After rng-tools upgraded to 6.13, the RNDR instruction added as an entropy source [1]. But for some cpu which doesn't support rndr, there comes below warning message: # systemctl status rngd [snip] Jul 20 06:48:07 qemuarm64 rngd[163]: [rndr ]: No HW SUPPORT Jul 20 06:48:07 qemuarm64 rngd[163]: [rndr ]: Initialization Failed [snip] Actually the failed message doesn't matter as it only indicates one entropy source rndr fails to initialize and won't affect rngd function, so ignore the failure message to fix below error during do_testimage. NOTE: ====================================================================== NOTE: FAIL: test_parselogs (parselogs.ParseLogsTest) NOTE: ---------------------------------------------------------------------- NOTE: Traceback (most recent call last): File "/build/layers/oe-core/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f return func(*args, **kwargs) File "/build/layers/oe-core/meta/lib/oeqa/runtime/cases/parselogs.py", line 382, in test_parselogs self.assertEqual(errcount, 0, msg=self.msg) AssertionError: 1 != 0 : Log: /build/tmp/work/qemuarm64-wrs-linux/wrlinux-image-std/1.0-r5/target_logs/daemon.log ----------------------- Central error: 2021-06-23T20:44:18.374494+00:00 qemuarm64 rngd[162]: [rndr ]: Initialization Failed (From OE-Core rev: 1edc840d6921668b69d248f9b32fa1d5c95e3138) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r--meta/lib/oeqa/runtime/cases/parselogs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/cases/parselogs.py b/meta/lib/oeqa/runtime/cases/parselogs.py
index 1bb0425521..73243c3659 100644
--- a/meta/lib/oeqa/runtime/cases/parselogs.py
+++ b/meta/lib/oeqa/runtime/cases/parselogs.py
@@ -59,6 +59,7 @@ common_errors = [
59 "Failed to process device, ignoring: Device or resource busy", 59 "Failed to process device, ignoring: Device or resource busy",
60 "Cannot find a map file", 60 "Cannot find a map file",
61 "[rdrand]: Initialization Failed", 61 "[rdrand]: Initialization Failed",
62 "[rndr ]: Initialization Failed",
62 "[pulseaudio] authkey.c: Failed to open cookie file", 63 "[pulseaudio] authkey.c: Failed to open cookie file",
63 "[pulseaudio] authkey.c: Failed to load authentication key", 64 "[pulseaudio] authkey.c: Failed to load authentication key",
64 ] 65 ]