* [PATCH 0/1] testimage.bbclass: remove boot parameter systemd.log_target
@ 2018-12-25 9:39 kai.kang
2018-12-25 9:39 ` [PATCH 1/1] " kai.kang
0 siblings, 1 reply; 2+ messages in thread
From: kai.kang @ 2018-12-25 9:39 UTC (permalink / raw)
To: openembedded-core
From: Kai Kang <kai.kang@windriver.com>
The following changes since commit 801745d918e83f976c706f29669779f5b292ade3:
populate_sdk_ext.bbclass: Include site.conf in parsing for contents for local.conf (2018-12-20 14:53:55 +0000)
are available in the Git repository at:
git://git.pokylinux.org/poky-contrib kangkai/testimage
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/testimage
Kai Kang (1):
testimage.bbclass: remove boot parameter systemd.log_target
meta/classes/testimage.bbclass | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
--
2.19.0.rc2
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] testimage.bbclass: remove boot parameter systemd.log_target
2018-12-25 9:39 [PATCH 0/1] testimage.bbclass: remove boot parameter systemd.log_target kai.kang
@ 2018-12-25 9:39 ` kai.kang
0 siblings, 0 replies; 2+ messages in thread
From: kai.kang @ 2018-12-25 9:39 UTC (permalink / raw)
To: openembedded-core
From: Kai Kang <kai.kang@windriver.com>
Boot parameter systemd.log_target=console affects command journalctl's
output and causes oe selftest case test_systemd_boot_time fail to pass.
| Error at obtaining the boot time from journalctl
| RESULTS:
| RESULTS - systemd.SystemdJournalTests.test_systemd_boot_time - Testcase -1: SKIPPED (0.74s)
systemd.log_target=console was introduced by oe-core commit a0bb649 and
work with parameter systemd.log_level to enable systemd debug.
systemd.log_level has been removed already, so remove systemd.log_target
too to make case test_systemd_boot_time pass.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
meta/classes/testimage.bbclass | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index 8a15c30c79..e8fa4a3b32 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -293,18 +293,12 @@ def testimage_main(d):
package_extraction(d, tc.suites)
- bootparams = None
- if d.getVar('VIRTUAL-RUNTIME_init_manager', '') == 'systemd':
- # Add systemd.log_level=debug to enable systemd debug logging
- bootparams = 'systemd.log_target=console'
-
results = None
orig_sigterm_handler = signal.signal(signal.SIGTERM, sigterm_exception)
try:
# We need to check if runqemu ends unexpectedly
# or if the worker send us a SIGTERM
- tc.target.start(params=d.getVar("TEST_QEMUPARAMS"),
- extra_bootparams=bootparams)
+ tc.target.start(params=d.getVar("TEST_QEMUPARAMS"))
results = tc.runTests()
except (RuntimeError, BlockingIOError) as err:
if isinstance(err, RuntimeError):
--
2.19.0.rc2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-12-25 9:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-25 9:39 [PATCH 0/1] testimage.bbclass: remove boot parameter systemd.log_target kai.kang
2018-12-25 9:39 ` [PATCH 1/1] " kai.kang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox