...
Running functional tests with RPMs
Set python environment for avocado modules, e.g.,
Code Block export PYTHONPATH=/usr/lib64/python3.6/site-packages/
Note: /usr/ directory in the above path might be /usr/local, if the python modules were not installed by superuser.
Apply any python test code changes in the RPM install path (owned by root)
Code Block sudo vi /usr/lib/daos/TESTING/ftest/<dir>/<file> sudo cp <modified_file> /usr/lib/daos/TESTING/ftest/<dir>
Run the test
When running with unique server and client nodes
Code Block cd /usr/lib/daos/TESTING/ftest ./launch.py -crispa -ts <server_nodes> -tc <client_nodes> <test_tag_or_file>
When running with nodes that can perform any role
Code Block cd /usr/lib/daos/TESTING/ftest ./launch.py -crispa -ts <all_nodes> <test_tag_or_file>
View results
Code Block less ~/avocado/job-results/latest/job.log
...