diff options
Diffstat (limited to 'meta/classes-recipe/testimage.bbclass')
-rw-r--r-- | meta/classes-recipe/testimage.bbclass | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/meta/classes-recipe/testimage.bbclass b/meta/classes-recipe/testimage.bbclass index c6b7a1e142..f36d941891 100644 --- a/meta/classes-recipe/testimage.bbclass +++ b/meta/classes-recipe/testimage.bbclass | |||
@@ -109,21 +109,6 @@ TESTIMAGE_DUMP_DIR ?= "${LOG_DIR}/runtime-hostdump/" | |||
109 | 109 | ||
110 | TESTIMAGE_UPDATE_VARS ?= "DL_DIR WORKDIR DEPLOY_DIR_IMAGE IMAGE_LINK_NAME" | 110 | TESTIMAGE_UPDATE_VARS ?= "DL_DIR WORKDIR DEPLOY_DIR_IMAGE IMAGE_LINK_NAME" |
111 | 111 | ||
112 | testimage_dump_target () { | ||
113 | top -bn1 | ||
114 | ps | ||
115 | free | ||
116 | df | ||
117 | # The next command will export the default gateway IP | ||
118 | export DEFAULT_GATEWAY=$(ip route | awk '/default/ { print $3}') | ||
119 | ping -c3 $DEFAULT_GATEWAY | ||
120 | dmesg | ||
121 | netstat -an | ||
122 | ip address | ||
123 | # Next command will dump logs from /var/log/ | ||
124 | find /var/log/ -type f -name !wtmp* 2>/dev/null -exec echo "====================" \; -exec echo {} \; -exec echo "====================" \; -exec cat {} \; -exec echo "" \; | ||
125 | } | ||
126 | |||
127 | testimage_dump_monitor () { | 112 | testimage_dump_monitor () { |
128 | query-status | 113 | query-status |
129 | query-block | 114 | query-block |
@@ -352,7 +337,6 @@ def testimage_main(d): | |||
352 | target_kwargs['serialcontrol_cmd'] = d.getVar("TEST_SERIALCONTROL_CMD") or None | 337 | target_kwargs['serialcontrol_cmd'] = d.getVar("TEST_SERIALCONTROL_CMD") or None |
353 | target_kwargs['serialcontrol_extra_args'] = d.getVar("TEST_SERIALCONTROL_EXTRA_ARGS") or "" | 338 | target_kwargs['serialcontrol_extra_args'] = d.getVar("TEST_SERIALCONTROL_EXTRA_ARGS") or "" |
354 | target_kwargs['testimage_dump_monitor'] = d.getVar("testimage_dump_monitor") or "" | 339 | target_kwargs['testimage_dump_monitor'] = d.getVar("testimage_dump_monitor") or "" |
355 | target_kwargs['testimage_dump_target'] = d.getVar("testimage_dump_target") or "" | ||
356 | 340 | ||
357 | def export_ssh_agent(d): | 341 | def export_ssh_agent(d): |
358 | import os | 342 | import os |