]> code.ossystems Code Review - openembedded-core.git/commit
testimage: Don't use systemd.log_level=debug logging
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 14 Mar 2017 07:20:38 +0000 (07:20 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 14 Mar 2017 07:49:00 +0000 (07:49 +0000)
commit84d4daffaebcb4816d597671b287329e8a472f59
tree1a8a7506353eabceed170da5fb34172e736737a2
parent048af2455aa65b25fd74bfe0e6d3a0af7562b42f
testimage: Don't use systemd.log_level=debug logging

This causes MBs of log messages which overload the standard 200kb syslog limit
used by busybox syslog by default. This means some tests which rely on messages
being detected in syslog, e.g.
rpm.RpmInstallRemoveTest.test_check_rpm_install_removal_log_file_size
fail (AssertionError: 54 not greater than or equal to 80 : Cound not find sufficient
amount of rpm entries in /var/log/messages, found 54 entries).

We enabled this to aid debugging of some systemd race issues, those are
now resolved so we can disable this. Leave the log level parameter as a
comment to save others having to look it up if they need debugging.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/testimage.bbclass