fuel-plugin-contrail/plugin_test/vapor
Georgy Dyuldin b256d15a97 Switch to ubuntu xenial
Change-Id: I3dad55df61225e138d1e2f6bbedf066711fb30e4
2017-04-17 11:20:19 +03:00
..
vapor Switch to ubuntu xenial 2017-04-17 11:20:19 +03:00
.dockerignore Add Dockerfile 2017-02-17 11:52:46 +03:00
Dockerfile Fix SRIOV and DPDK tests 2017-04-12 14:11:20 +03:00
README.rst Some MCP-related tests fixes 2017-03-27 17:05:28 +03:00
cloud.key update Docker file for mcp virtual lab 2017-03-21 14:05:41 +02:00
exports.sh update exports 2017-04-10 15:21:42 +03:00
pytest.ini Fix some MCP-related issues 2017-03-29 15:50:51 +03:00
requirements.txt Fix SRIOV and DPDK tests 2017-04-12 14:11:20 +03:00
roles_distribution_example.yaml Fixes for MK 2017-02-10 17:11:17 +03:00
roles_mcp10_contrail.yaml update exports 2017-04-10 15:21:42 +03:00
roles_mk22_qa_lab01.yaml Add roles.yaml for mk22-qa-lab01 2017-02-06 15:20:29 +02:00
setup.py add vapor tests 2016-12-15 12:55:29 +03:00
tox.ini Add stepler plugins to ini file 2017-02-21 17:26:55 +03:00
xfail.yaml Add plugin to mark tests as expected to fail 2017-02-07 17:34:46 +03:00

README.rst

Vapor

Open Stack Contrail plugin test suite

Requirements

It's strongly advised to use virtualenv and update pip, tox, virtualenv and setuptools.

virtualenv venv
. venv/bin/activate
pip install -U pip tox virtualenv setuptools

Run tests

>> tox

Use Docker for run tests

Build image

Fill env file

# os-faults config
OS_FAULTS_CLOUD_DRIVER=fuel
OS_FAULTS_CLOUD_DRIVER_ADDRESS=10.109.0.2
OS_FAULTS_CLOUD_DRIVER_KEYFILE=/opt/app/cloud.key
OS_FAULTS_CLOUD_DRIVER_USERNAME=root

CONTRAIL_ROLES_DISTRIBUTION_YAML=/opt/app/roles_distribution.yaml
EOF

Set path to files

Run tests

Results will be written to $(pwd)/reports folder

Run only some tests (look tests under vapor directory, filter by "smoke" in test/class/path, exit after first fail)

Use Docker for developing tests

Build image (only for dependencies)

Go to tests directory

Copy private key and contrail roles files to current directory

Fill env file

# os-faults config
OS_FAULTS_CLOUD_DRIVER=fuel
OS_FAULTS_CLOUD_DRIVER_ADDRESS=10.109.0.2
OS_FAULTS_CLOUD_DRIVER_KEYFILE=/opt/app/$PRIVATE_KEY
OS_FAULTS_CLOUD_DRIVER_USERNAME=root

CONTRAIL_ROLES_DISTRIBUTION_YAML=/opt/app/$ROLES_DISTRIBUTION
EOF

Make any changes in current directory and run tests with changes