aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-27 14:59:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-06-02 23:32:45 +0100
commitc6334795af795b692d390b9e6eabba452b0b1b4b (patch)
tree43fd79f865126d30faa9967b067ec9ed59d9e1f2
parenteb766b57aa7963ef7dc227d175e67084ca5f4a50 (diff)
downloadpoky-c6334795af795b692d390b9e6eabba452b0b1b4b.tar.gz
poky-c6334795af795b692d390b9e6eabba452b0b1b4b.tar.bz2
poky-c6334795af795b692d390b9e6eabba452b0b1b4b.zip
oeqa/runtime/rpm: Drop log message counting test componenthardknott-next
This test is flawed since multiple parts of the system can write to the log and we obtain different numbers of log messages depending on factors we can't control. Drop the log testing component of the test. [YOCTO #12465] (From OE-Core rev: 6ca1047e98a1c8bc305a3f40ad1919c5038e1698) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/runtime/cases/rpm.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/meta/lib/oeqa/runtime/cases/rpm.py b/meta/lib/oeqa/runtime/cases/rpm.py
index 8e18b426f8..7a9d62c003 100644
--- a/meta/lib/oeqa/runtime/cases/rpm.py
+++ b/meta/lib/oeqa/runtime/cases/rpm.py
@@ -141,13 +141,4 @@ class RpmInstallRemoveTest(OERuntimeTestCase):
self.tc.target.run('rm -f %s' % self.dst)
- # if using systemd this should ensure all entries are flushed to /var
- status, output = self.target.run("journalctl --sync")
- # Get the amount of entries in the log file
- status, output = self.target.run(check_log_cmd)
- msg = 'Failed to get the final size of the log file.'
- self.assertEqual(0, status, msg=msg)
- # Check that there's enough of them
- self.assertGreaterEqual(int(output), 80,
- 'Cound not find sufficient amount of rpm entries in /var/log/messages, found {} entries'.format(output))