intel nfv ci testcase repo.
Go to file
Artom Lifshitz 9ee2dd4529 Improve README
Update REAMDE to reflect:
* Disappearance of run_tempest.sh
* Tempest's use of stestr instead of testr

Also, add line about installation in development mode.

Change-Id: If927fe93efa3fa6a9d026f97880a21aff3114819
2018-06-18 09:03:14 -04:00
intel_nfv_ci_tests fix nits + validate numa_topology_test 2016-12-12 10:31:07 +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 Improve README 2018-06-18 09:03:14 -04: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 H402 hacking have been deprecated 2017-01-06 11:32:21 -05: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

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