From 4d41b834eff8fe28e6924c8dbed1c61af6cc434e Mon Sep 17 00:00:00 2001 From: Sachin P Bappalige Date: Mon, 15 Apr 2024 10:34:01 +0530 Subject: [PATCH] Split kdump and fadump test suites to run separately Signed-off-by: Sachin P Bappalige --- op-test | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/op-test b/op-test index d8446310b..bb56b5daa 100755 --- a/op-test +++ b/op-test @@ -668,6 +668,43 @@ class OSdumpSuite(): def suite(self): return self.s +class OSdumpkdumpSuite(): + '''Crash Test Suite which Verify operating System Crash Dump Functionality''' + def __init__(self): + self.s = unittest.TestSuite() + self.s.addTest(PowerNVDump.KernelCrash_OnlyKdumpEnable()) + if 'dev_path' in OpTestConfiguration.conf.args: + self.s.addTest(PowerNVDump.KernelCrash_KdumpSAN()) + self.s.addTest(PowerNVDump.KernelCrash_KdumpDLPAR()) + self.s.addTest(PowerNVDump.KernelCrash_KdumpWorkLoad()) + self.s.addTest(PowerNVDump.KernelCrash_hugepage_checks()) + self.s.addTest(PowerNVDump.KernelCrash_XIVE_off()) + self.s.addTest(PowerNVDump.KernelCrash_disable_radix()) + self.s.addTest(PowerNVDump.OpTestMakedump()) + self.s.addTest(PowerNVDump.KernelCrash_KdumpSSH()) + self.s.addTest(PowerNVDump.KernelCrash_KdumpNFS()) + + def suite(self): + return self.s + +class OSdumpfadumpSuite(): + '''Crash Test Suite which Verify operating System Crash Dump Functionality''' + def __init__(self): + self.s = unittest.TestSuite() + self.s.addTest(PowerNVDump.KernelCrash_FadumpEnable()) + self.s.addTest(PowerNVDump.OpTestMakedump()) + self.s.addTest(PowerNVDump.KernelCrash_KdumpDLPAR()) + self.s.addTest(PowerNVDump.KernelCrash_KdumpWorkLoad()) + self.s.addTest(PowerNVDump.KernelCrash_hugepage_checks()) + self.s.addTest(PowerNVDump.KernelCrash_XIVE_off()) + self.s.addTest(PowerNVDump.KernelCrash_disable_radix()) + self.s.addTest(PowerNVDump.KernelCrash_FadumpNocma()) + self.s.addTest(PowerNVDump.KernelCrash_KdumpSSH()) + self.s.addTest(PowerNVDump.KernelCrash_KdumpNFS()) + + def suite(self): + return self.s + class OSdumpsanitySuite(): '''Test Suite which runs kdump and fadump basic sanity tests''' def __init__(self): @@ -942,6 +979,8 @@ suites = { 'opencapi': OpenCAPISuite(), 'crash-suite': CrashSuite(), 'osdump-suite': OSdumpSuite(), + 'osdumpkdumpsuite': OSdumpkdumpSuite(), + 'osdumpfadumpsuite': OSdumpfadumpSuite(), 'osdumpsanitysuite': OSdumpsanitySuite(), 'dlpario-suite': DlparIOSuite(), 'lpm-suite': LPMSuite(),