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
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-29 10:57:27 +0100
commitf82c3bd37d62a3efc49fd33efa38a7f523e6c676 (patch)
treeaf91e742b938e4116a5082bfb9351dba83616cca /meta/lib/oeqa/targetcontrol.py
parent303421dce02fec67daab0dc86d85e11963d5741f (diff)
downloadpoky-f82c3bd37d62a3efc49fd33efa38a7f523e6c676.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: dea37ba49a236029da73d5cfbfc069bffc38b508) 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>
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()))