summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/targetcontrol.py
diff options
context:
space:
mode:
authorThomas Roos <throos@amazon.de>2023-05-17 16:36:13 +0200
committerSteve Sakoman <steve@sakoman.com>2023-07-20 12:10:40 -1000
commit4f1eb64d154da11acf5835e0e72c9a5f5b9f7f3d (patch)
tree2e06034a5f88a9f5925cf2684dc16021af9a8fbf /meta/lib/oeqa/targetcontrol.py
parent4c02657a44aa9a8fdc0a804793120f0018d8528a (diff)
downloadpoky-4f1eb64d154da11acf5835e0e72c9a5f5b9f7f3d.tar.gz
testimage/oeqa: Drop testimage_dump_host functionality
The intent behind these functions was to dump the system state when issues occured but it has never really worked as we'd planned. Regular monitoring as the build runs has largely replaced this as that allows a trend to be seen rather than a spot value which was never really useful. The code is bitrotting and not functioning correctly so drop it. [YOCTO #13872] RP: Reword commit message (From OE-Core rev: 8d1bc34cffdd9f054e51db4e880747c79bf834fe) Signed-off-by: Thomas Roos <throos@amazon.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit dea37ba49a236029da73d5cfbfc069bffc38b508) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/lib/oeqa/targetcontrol.py')
-rw-r--r--meta/lib/oeqa/targetcontrol.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py
index d686fe07ec..e21655c979 100644
--- a/meta/lib/oeqa/targetcontrol.py
+++ b/meta/lib/oeqa/targetcontrol.py
@@ -104,7 +104,6 @@ class QemuTarget(BaseTarget):
104 self.kernel = os.path.join(d.getVar("DEPLOY_DIR_IMAGE"), d.getVar("KERNEL_IMAGETYPE", False) + '-' + d.getVar('MACHINE', False) + '.bin') 104 self.kernel = os.path.join(d.getVar("DEPLOY_DIR_IMAGE"), d.getVar("KERNEL_IMAGETYPE", False) + '-' + d.getVar('MACHINE', False) + '.bin')
105 self.qemulog = os.path.join(self.testdir, "qemu_boot_log.%s" % self.datetime) 105 self.qemulog = os.path.join(self.testdir, "qemu_boot_log.%s" % self.datetime)
106 dump_target_cmds = d.getVar("testimage_dump_target") 106 dump_target_cmds = d.getVar("testimage_dump_target")
107 dump_host_cmds = d.getVar("testimage_dump_host")
108 dump_monitor_cmds = d.getVar("testimage_dump_monitor") 107 dump_monitor_cmds = d.getVar("testimage_dump_monitor")
109 dump_dir = d.getVar("TESTIMAGE_DUMP_DIR") 108 dump_dir = d.getVar("TESTIMAGE_DUMP_DIR")
110 if not dump_dir: 109 if not dump_dir:
@@ -141,7 +140,6 @@ class QemuTarget(BaseTarget):
141 boottime = int(d.getVar("TEST_QEMUBOOT_TIMEOUT")), 140 boottime = int(d.getVar("TEST_QEMUBOOT_TIMEOUT")),
142 use_kvm = use_kvm, 141 use_kvm = use_kvm,
143 dump_dir = dump_dir, 142 dump_dir = dump_dir,
144 dump_host_cmds = dump_host_cmds,
145 logger = logger, 143 logger = logger,
146 tmpfsdir = d.getVar("RUNQEMU_TMPFS_DIR"), 144 tmpfsdir = d.getVar("RUNQEMU_TMPFS_DIR"),
147 serial_ports = len(d.getVar("SERIAL_CONSOLES").split())) 145 serial_ports = len(d.getVar("SERIAL_CONSOLES").split()))