intel nfv ci testcase repo.
Go to file
OpenDev Sysadmins e6ce725be3 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:51:33 +00:00
intel_nfv_ci_tests Use admin client to create/modify flavors 2018-06-18 09:32:39 -04: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 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 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