def METHOD_NAME(self):
    output = process.run("perf --version", sudo=True, shell=True)
    if not re.search(r'\d', output.stdout.decode()):
        self.fail("perf: failed to execute command perf --version")