intel nfv ci testcase repo.
Go to file
Stephen Finucane a8807613ad Move get_placement out of test
This doesn't really need to be a class function, due to the limited use
of 'self'

Change-Id: Ib397ef59730786ca970cf5cae2ce1087abcdb8c5
2016-12-09 16:59:57 +00:00
intel_nfv_ci_tests Move get_placement out of test 2016-12-09 16:59:57 +00:00
tools tox: Integrate 'flake8wrap' script 2016-02-01 13:15:09 +00:00
.editorconfig Repository for Intel's tests for NFV CI system 2015-06-16 12:36:34 +00:00
.gitignore nit: fix Intel NFV CI link in README 2016-10-18 21:02:17 +00:00
.gitreview Update .gitreview for new namespace 2015-10-17 22:30:14 +00:00
.travis.yml Repository for Intel's tests for NFV CI system 2015-06-16 12:36:34 +00:00
CONTRIBUTING.rst cleanup references to stackforge 2016-10-24 12:41:03 +00:00
LICENSE license: Update license to Apache 2016-01-18 06:50:02 +00:00
README.rst nit: fix Intel NFV CI link in README 2016-10-18 21:02:17 +00:00
requirements.txt Convert to pbr 2016-01-18 07:01:26 +00:00
setup.cfg doc: Move docs into README 2016-06-08 13:20:06 +00:00
setup.py Convert to pbr 2016-01-18 07:01:26 +00:00
test-requirements.txt Repository for Intel's tests for NFV CI system 2015-06-16 12:36:34 +00:00
tox.ini doc: Move docs into README 2016-06-08 13:20:06 +00:00

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

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:

$ testr list-tests intel_nfv_ci_tests

To run only these tests, run:

$ ./run_tempest.sh -N -- intel_nfv_ci_tests

Alternatively, run via testr:

$ testr 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:

$ ./run_tempest.sh -N -- intel_nfv_ci_tests.tests.scenario.test_hugepages.TestHugepages