intel nfv ci testcase repo.
Go to file
Masayuki Igawa cfe66fe563 Add pypi libraries
This commit adds a couple of libraries which are required by test
running and listing. And this commit also removes tempest-lib from
requirements.txt because there's no usage in this repo and tempest-lib
is already deprecated.

Also replace zuul aopenstack-tox-pep8 job with nfv-tox-pep8 job to
resolve its installation dependency issues.

Co-Authored-By: Lianhao Lu <lianhao.lu@intel.com>
Change-Id: I14707abded6ae337f41823614779f778694b3c64
2021-03-02 09:32:16 +08:00
intel_nfv_ci_tests move pep8 zuul job definition in repo 2021-02-26 09:24:46 +08:00
playbooks Add pypi libraries 2021-03-02 09:32:16 +08:00
roles/install-packages Add pypi libraries 2021-03-02 09:32:16 +08:00
tools tox: Integrate 'flake8wrap' script 2016-02-01 13:15:09 +00:00
zuul.d Add pypi libraries 2021-03-02 09:32:16 +08: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 OpenDev Migration Patch 2019-04-19 19:51:33 +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 Add pypi libraries 2021-03-02 09:32:16 +08: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 move pep8 zuul job definition in repo 2021-02-26 09:24:46 +08:00
tox.ini move pep8 zuul job definition in repo 2021-02-26 09:24:46 +08: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