Additional task from original Bug #13681. The testimage.bbclass assumes multiple tools will be installed on host for the testimage_dump_host() function [1]. testimage_dump_host () { top -bn1 iostat -x -z -N -d -p ALL 20 2 ps -ef free df memstat dmesg ip -s link netstat -an } Should these tools be added to HOSTTOOLS or otherwise noted as required somewhere? At least the function should test for the presence of the tools and report a useful error rather than just a slew of file or path not found type errors. [1] http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/testimage.bbclass#n114
Delete this code.
Still in poky: commit f79046d082f3a7752e6780b2990470dcd36cbba4 (origin/master, origin/HEAD) ❯ rg testimage_dump_host meta/classes-recipe/testexport.bbclass 65: d.getVar("testimage_dump_host"), d.getVar("TESTIMAGE_DUMP_DIR")) meta/classes-recipe/testimage.bbclass 118:testimage_dump_host () { 344: d.getVar("testimage_dump_host"), meta/lib/oeqa/targetcontrol.py 107: dump_host_cmds = d.getVar("testimage_dump_host")
https://lists.openembedded.org/g/openembedded-core/message/181183
https://lists.openembedded.org/g/openembedded-core/message/181491
We have droped the testimage_dump_host() function in: https://git.yoctoproject.org/poky/commit/?id=f82c3bd37d62a3efc49fd33efa38a7f523e6c676