docs: def after_feature(context, feature):
      """ stop all Patronis, remove their data directory and cleanup the keys in etcd """
      context.pctl.stop_all()
      shutil.rmtree(os.path.join(context.pctl.patroni_path, 'data'))
      context.dcs_ctl.cleanup_service_tree()
      if feature.status == 'failed':
          shutil.copytree(context.pctl.output_dir, context.pctl.output_dir + '_failed')