summaryrefslogtreecommitdiffstats
path: root/meta/lib
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-03 16:30:56 +0100
commit94ecd96f901d4867d4e17d97b6a61e71a022d490 (patch)
tree44d73573012f102fb66fd3bb1fc6957209ae6961 /meta/lib
parentb9e8b3cc49ea12718b03c43c6c328dc0d4543f64 (diff)
downloadpoky-94ecd96f901d4867d4e17d97b6a61e71a022d490.tar.gz
oeqa/runtime/rpm: Drop log message counting test component
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: fb22cf1891fa8d057348c5270715c45ac3ab9e25) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2ad815dbafda0b90f5164f05d22dbbc26cb53f13) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-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):
141 141
142 self.tc.target.run('rm -f %s' % self.dst) 142 self.tc.target.run('rm -f %s' % self.dst)
143 143
144 # if using systemd this should ensure all entries are flushed to /var
145 status, output = self.target.run("journalctl --sync")
146 # Get the amount of entries in the log file
147 status, output = self.target.run(check_log_cmd)
148 msg = 'Failed to get the final size of the log file.'
149 self.assertEqual(0, status, msg=msg)
150 144
151 # Check that there's enough of them
152 self.assertGreaterEqual(int(output), 80,
153 'Cound not find sufficient amount of rpm entries in /var/log/messages, found {} entries'.format(output))