def METHOD_NAME(self, cmd):
    cmd = cmd.format(
        s=self.params['nbd_server_%s' % self.params['nbd_image_tag']])
    result = process.run(cmd, ignore_status=True, shell=True)
    if result.exit_status != 0:
        self.test.error('command error: %s' % result.stderr.decode())