]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/core/target/qemu.py: display contents of dumped files
authorSakib Sajal <sakib.sajal@windriver.com>
Tue, 8 Jun 2021 14:57:34 +0000 (10:57 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 Jun 2021 07:38:22 +0000 (08:38 +0100)
commit441390b707bf681bc308c9ebd45ea2ae20c37d7c
tree6911db8ed563364c618b0f8699f403641fe115b6
parent82d6411b80a46d8ec0258ca75c3c80dc6128d44e
oeqa/core/target/qemu.py: display contents of dumped files

During do_testimage, if the target is not started within a certain
timeout, TEST_QEMUBOOT_TIMEOUT, host data is dumped to files for
each command in
${TMPDIR}/log/runtime-hostdump/<datetime>_qemu/host_<seq>_<command>.

Display the first 20 lines of top output and the last 20 lines of
bootlog to standard output for more context for the target not being
started up.

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/core/target/qemu.py