def METHOD_NAME(self):
    """
    Check pre-requisites before running sensors command
    Testcase should be executed only on bare-metal environment.
    """
    s_mg = SoftwareManager()
    d_distro = distro.detect()
    if d_distro.name == "Ubuntu":
        if not s_mg.check_installed("lm-sensors") and not s_mg.install(
                "lm-sensors"):
            self.cancel('Need sensors to run the test')
    elif d_distro.name == "SuSE":
        if not s_mg.check_installed("sensors") and not s_mg.install(
                "sensors"):
            self.cancel('Need sensors to run the test')
    else:
        if not s_mg.check_installed("lm_sensors") and not s_mg.install(
                "lm_sensors"):
            self.cancel('Need sensors to run the test')
        config_check = linux_modules.check_kernel_config(
            'CONFIG_SENSORS_IBMPOWERNV')
        if config_check == linux_modules.ModuleConfig.NOT_SET:
            self.cancel('Config is not set')
        elif config_check == linux_modules.ModuleConfig.MODULE:
            if linux_modules.load_module('ibmpowernv'):
                if linux_modules.module_is_loaded('ibmpowernv'):
                    self.log.info('Module Loaded Successfully')
                else:
                    self.cancel('Module Loading Failed')
        else:
            self.log.info('Module is Built In')
    if not d_distro.name == "Ubuntu":
        try:
            process.run('service lm_sensors stop', sudo=True)
            process.run('service lm_sensors start', sudo=True)
            process.run('service lm_sensors status', sudo=True)
        except process.CmdError:
            self.error(
                'Starting Service Failed. Make sure module is loaded')
    cmd = "yes | sudo sensors-detect"
    det_op = process.run(cmd, shell=True, ignore_status=True).stdout
    if b'no sensors were detected' in det_op:
        self.cancel('No sensors found to test !')