Trident is a framework to test and explore Poseidon OS (POS). It has python APIs for all the POS CLI commands, for user to develop their own test suite. It is built on top of pytest framework, The tool contains following test cases to cover base scenarios:
- Array, Volume management (create, delete, rename)
- CLI test suite
- Subsystem, QOS management
- GC and flush
- Telemetry and Prometheus
- Array Disk Replace and Hot Remove
A setup tool is developed to check if setup is ready for test execution.
- Download the Source Code
- Install Prerequisites
- Download and Build POS
- Updating Trident config
- Run Test cases
- Notes
$git clone https://github.com/poseidonos/trident.git
$pip3 install --upgrade pip
$pip3 install -r requirements.txt
Please refer to https://github.com/poseidonos/poseidonos/blob/main/README.md
Update testcases/config_files/topology.json with system details such as IP addresses and POS path
Test the system by executing setup tool from utils
$python3 utils/setup_tool.py all
Please refer docs/UserGuide.md for details
$python3 -m pytest -v -s testcase/ -m 'sanity'
Please refer docs/UserGuide.md for details
Trident currently supports 1.0.x version of Poseidon OS