diff options
author | Adrian Lane <adrian.lane@canonical.com> | 2020-04-29 15:16:44 -0700 |
---|---|---|
committer | Adrian Lane <adrian.lane@canonical.com> | 2020-04-29 15:16:44 -0700 |
commit | b3edeb2ae96ad5a1747fd08dad8d6c59ec4350cd (patch) | |
tree | 2b50cef08becb73ac7297db19284c9c9dbdc74df | |
parent | 5e9ccfa99301a36adc3bafdd84ec216feb9b658d (diff) |
Made ipmi_locate() informational for the time being. Getting segfaults w/ some Focal systems, and Jeff has opened a bug w/ FreeIPMI.
-rwxr-xr-x | bin/ipmi_test.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/bin/ipmi_test.py b/bin/ipmi_test.py index c501333..685c381 100755 --- a/bin/ipmi_test.py +++ b/bin/ipmi_test.py @@ -268,6 +268,12 @@ class IpmiTest(object): # call ipmi-locate # pass if drivers are loaded + # -- update 4-29-20 -- + # ipmi-locate is throwing segfault when run on some focal + # systems during regression testing. bladernr/Jeff has + # filed a bug w/ FreeIPMI to address. + # we've opted to leave this test informational for data + # while this is being investigated. def ipmi_locate(self): logging.info('-----------------------') logging.info('Locating IPMI drivers:') @@ -277,7 +283,8 @@ class IpmiTest(object): self._ipmi_locate_hlpr(ipmi_drivers) except self._sub_proc_excs as exc: self._proc_exc(exc, self.ipmi_locate.__qualname__) - return 1 + # see above comments + return 0 else: if (len(ipmi_drivers) > 0): logging.info(f'- Found {len(ipmi_drivers)} IPMI driver(s)!') @@ -285,7 +292,8 @@ class IpmiTest(object): return 0 else: logging.info('* Unable to locate IPMI driver(s)!\n') - return 1 + # see above comments + return 0 # initialize kernel modules, run ipmi tests def run_test(self): |