intel nfv ci testcase repo.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OpenDev Sysadmins e6ce725be3 OpenDev Migration Patch 5 days ago
intel_nfv_ci_tests Use admin client to create/modify flavors 10 months ago
tools tox: Integrate 'flake8wrap' script 3 years ago
.editorconfig Repository for Intel's tests for NFV CI system 3 years ago
.gitignore nit: fix Intel NFV CI link in README 2 years ago
.gitreview OpenDev Migration Patch 5 days ago
.travis.yml Repository for Intel's tests for NFV CI system 3 years ago
CONTRIBUTING.rst cleanup references to stackforge 2 years ago
LICENSE license: Update license to Apache 3 years ago
README.rst Improve README 10 months ago
requirements.txt Convert to pbr 3 years ago
setup.cfg doc: Move docs into README 2 years ago
setup.py Convert to pbr 3 years ago
test-requirements.txt Repository for Intel's tests for NFV CI system 3 years ago
tox.ini H402 hacking have been deprecated 2 years ago

README.rst

intel-nfv-ci-tests

A Tempest plugin providing integration tests for NFV features.

This plugin is run as part of the Intel NFV third-party CI.

Features

The tests validate the following features:

  • NUMA topologies
  • CPU pinning
  • Hugepages

Requirements

The features tested are all dependent on underlying hardware support. As such, the following platform features are required:

  • Simultaneous multithreading (SMT) technology, e.g. Hyper-threading, must be available and enabled
  • A NUMA topology is required. This will generally mean a dual-socket board or a CPU with Cluster-on-Die technology
  • Hugepages must be supported

Installation

The plugin should be installed like any other package. Once installed, it will be detected on subsequent runs of Temptest and enabled by default.

At the command line, run:

$ pip install intel-nfv-ci-tests

Or, if you have virtualenvwrapper installed, run:

$ mkvirtualenv intel-nfv-ci-tests
$ pip install intel-nfv-ci-tests

If you want to hack on the tests themselves, install them in editable mode (setuptools develop mode):

$ pip install -e

Be aware that this package will not be available if running Tempest in a different virtualenv, e.g. via a Tox target.

Usage

All test commands should be run from the Tempest install directory, e.g. /opt/stack/tempest.

To list all Intel NFV CI tempest cases, run:

$ stestr list intel_nfv_ci_tests

To run only these tests, run:

$ stestr run intel_nfv_ci_tests

Or via tox:

$ tox -e all-plugin intel_nfv_ci_tests

To run a single test case, run with test case name:

$ stestr run intel_nfv_ci_tests.tests.scenario.test_hugepages.TestHugepages