Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Running functional tests with RPMs

  1. 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.

  2. 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>
  3. Run the test

    1. 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>
    2. 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>
  4. View results

    Code Block
    less ~/avocado/job-results/latest/job.log

...