Skip to content

Commit

Permalink
Merge pull request open-power#824 from SACHIN-BAPPALIGE/split-kdump-f…
Browse files Browse the repository at this point in the history
…adump-testsuites

Split kdump and fadump test suites to run separately
  • Loading branch information
PraveenPenguin authored Apr 15, 2024
2 parents 32a6d28 + 4d41b83 commit c14deac
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions op-test
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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(),
Expand Down

0 comments on commit c14deac

Please sign in to comment.