def METHOD_NAME(self, args, ignore_error=False):
    stdout, stderr, ret = run_cmd(args)
    if ret != 0:
        cmdline = ' '.join(args)
        if not ignore_error:
            self.fail(f'{cmdline}: Returned {ret}: {stderr}')
        else:
            self.log.warn(f'{cmdline}: Returned {ret}: {stderr}')
    return (stdout, stderr, ret)