mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
303421dce0
commit
f82c3bd37d
@@ -10,7 +10,6 @@ import sys
|
||||
from oeqa.core.context import OETestContext, OETestContextExecutor
|
||||
from oeqa.core.target.ssh import OESSHTarget
|
||||
from oeqa.core.target.qemu import OEQemuTarget
|
||||
from oeqa.utils.dump import HostDumper
|
||||
|
||||
from oeqa.runtime.loader import OERuntimeTestLoader
|
||||
|
||||
@@ -20,12 +19,11 @@ class OERuntimeTestContext(OETestContext):
|
||||
os.path.dirname(os.path.abspath(__file__)), "files")
|
||||
|
||||
def __init__(self, td, logger, target,
|
||||
host_dumper, image_packages, extract_dir):
|
||||
image_packages, extract_dir):
|
||||
super(OERuntimeTestContext, self).__init__(td, logger)
|
||||
|
||||
self.target = target
|
||||
self.image_packages = image_packages
|
||||
self.host_dumper = host_dumper
|
||||
self.extract_dir = extract_dir
|
||||
self._set_target_cmds()
|
||||
|
||||
@@ -199,10 +197,6 @@ class OERuntimeTestContextExecutor(OETestContextExecutor):
|
||||
|
||||
return image_packages
|
||||
|
||||
@staticmethod
|
||||
def getHostDumper(cmds, directory):
|
||||
return HostDumper(cmds, directory)
|
||||
|
||||
def _process_args(self, logger, args):
|
||||
if not args.packages_manifest:
|
||||
raise TypeError('Manifest file not provided')
|
||||
@@ -215,9 +209,6 @@ class OERuntimeTestContextExecutor(OETestContextExecutor):
|
||||
self.tc_kwargs['init']['target'] = \
|
||||
OERuntimeTestContextExecutor.getTarget(args.target_type,
|
||||
None, args.target_ip, args.server_ip, **target_kwargs)
|
||||
self.tc_kwargs['init']['host_dumper'] = \
|
||||
OERuntimeTestContextExecutor.getHostDumper(None,
|
||||
args.host_dumper_dir)
|
||||
self.tc_kwargs['init']['image_packages'] = \
|
||||
OERuntimeTestContextExecutor.readPackagesManifest(
|
||||
args.packages_manifest)
|
||||
|
||||
Reference in New Issue
Block a user