diff options
author | Steve Sakoman <steve@sakoman.com> | 2023-12-21 07:49:26 -1000 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-12-26 04:18:08 -1000 |
commit | 94e9019d2f170a26206c2774381a1d183313ecaa (patch) | |
tree | 30475b5931c81506539959213c691c0159b9a0cb /meta/classes | |
parent | 1df2bdf370346dac70451159adf1ae85d1a2dacd (diff) | |
download | openembedded-core-contrib-94e9019d2f170a26206c2774381a1d183313ecaa.tar.gz |
testimage: drop target_dumper and host_dumper
The target_dumper code is basically broken. It has been reading binary files
over the text base serial communication and runs at every command failure which
makes no sense. Each run might overwrite files from the previous run and the
output appears corrupted due to confusion from the binary data.
It isn't possible to cherry-pick "testimage: Drop target_dumper and most of monitor_dumper"
from master, so just make target_dumper and host_dumper empty functions.
For further details see:
https://lists.openembedded.org/g/openembedded-architecture/message/1888
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/testimage.bbclass | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index 97e68d94b0..7c8b2b30a1 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass @@ -99,30 +99,9 @@ TESTIMAGE_DUMP_DIR ?= "${LOG_DIR}/runtime-hostdump/" TESTIMAGE_UPDATE_VARS ?= "DL_DIR WORKDIR DEPLOY_DIR" testimage_dump_target () { - top -bn1 - ps - free - df - # The next command will export the default gateway IP - export DEFAULT_GATEWAY=$(ip route | awk '/default/ { print $3}') - ping -c3 $DEFAULT_GATEWAY - dmesg - netstat -an - ip address - # Next command will dump logs from /var/log/ - find /var/log/ -type f -name !wtmp* 2>/dev/null -exec echo "====================" \; -exec echo {} \; -exec echo "====================" \; -exec cat {} \; -exec echo "" \; } 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 } python do_testimage() { |