Skip to content

openafs-contrib/openafs-robotest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAFS Robotest

OpenAFS Robotest is a Robot Framework based test suite for OpenAFS.

Documentation: https://openafs-robotest.readthedocs.io

Overview

OpenAFS Robotest is a set of Robot Framework test cases for the OpenAFS distributed filesystem. The test cases cover a basic workload from a single client and general OpenAFS administration.

An Ansible Molecule scenario is provided to easily deploy a Kerberos test realm and OpenAFS test cell on virtual machines.

Quick start

Install these system requirements:

  • Vagrant
  • Python 3.10 or later

Install the required python packages:

$ make init

If make is not available, then run the following commands to create the virtualenv and install the required packages:

$ /usr/bin/python3.12 -m venv .venv
$ source .venv/bin/activate
(.venv) $ pip install -U pip
(.venv) $ pip install -r requirements.txt
(.venv) $ patch-molecule-schema

To create a test cell and run the tests:

$ source .venv/bin/activate
(.venv) $ cd scenarios
(.venv) $ molecule create
(.venv) $ molecule converge
(.venv) $ molecule verify
(.venv) $ molecule destroy

The molecule actions may be combined as:

(.venv) $ molecule test