From 78435bee2c41e269b9151954d0ce2a84e6ea0008 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Thu, 9 Aug 2018 13:34:19 +0200 Subject: [PATCH] Add networking-sfc Tempest test suite MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I6f1452469cb5ffaf9b538ba87edaa174977b91c4 Signed-off-by: Cédric Ollivier --- docker/smoke/Dockerfile | 2 +- docker/smoke/testcases.yaml | 20 ++++++++++++++++++++ functest/ci/testcases.yaml | 20 ++++++++++++++++++++ upper-constraints.txt | 1 + 4 files changed, 42 insertions(+), 1 deletion(-) diff --git a/docker/smoke/Dockerfile b/docker/smoke/Dockerfile index 374448441..6a27759d3 100644 --- a/docker/smoke/Dockerfile +++ b/docker/smoke/Dockerfile @@ -27,7 +27,7 @@ RUN apk --no-cache add --update libxml2 libxslt && \ update-requirements -s --source /src/openstack-requirements /src/barbican-tempest-plugin/ && \ pip install --no-cache-dir --src /src -cupper-constraints.txt -cupper-constraints.opnfv.txt \ /src/patrole /src/barbican-tempest-plugin /src/neutron-tempest-plugin \ - networking-bgpvpn /src/vmtp && \ + networking-bgpvpn networking-sfc /src/vmtp && \ virtualenv --system-site-packages /src/tempest/.venv && \ rm -r upper-constraints.txt upper-constraints.opnfv.txt \ /src/patrole /src/barbican-tempest-plugin /src/neutron-tempest-plugin /src/vmtp && \ diff --git a/docker/smoke/testcases.yaml b/docker/smoke/testcases.yaml index e976bbe78..65190f414 100644 --- a/docker/smoke/testcases.yaml +++ b/docker/smoke/testcases.yaml @@ -173,6 +173,26 @@ tiers: option: - '--concurrency=4' + - + case_name: networking-sfc + project_name: functest + criteria: 100 + blocking: false + description: >- + This test case runs OpenStack networking-sfc Tempest + suite. The list of test cases is generated by Tempest + having as input the relevant regex. + run: + module: 'functest.opnfv_tests.openstack.tempest.tempest' + class: 'TempestCommon' + args: + mode: + '^(?:networking_sfc\.tests\.tempest_plugin.tests.api).*$' + neutron_extensions: + - sfc + option: + - '--concurrency=0' + - case_name: barbican project_name: functest diff --git a/functest/ci/testcases.yaml b/functest/ci/testcases.yaml index f5f5d2df0..2a6fef9e7 100644 --- a/functest/ci/testcases.yaml +++ b/functest/ci/testcases.yaml @@ -364,6 +364,26 @@ tiers: option: - '--concurrency=4' + - + case_name: networking-sfc + project_name: functest + criteria: 100 + blocking: false + description: >- + This test case runs OpenStack networking-sfc Tempest + suite. The list of test cases is generated by Tempest + having as input the relevant regex. + run: + module: 'functest.opnfv_tests.openstack.tempest.tempest' + class: 'TempestCommon' + args: + mode: + '^(?:networking_sfc\.tests\.tempest_plugin.tests.api).*$' + neutron_extensions: + - sfc + option: + - '--concurrency=0' + - case_name: barbican project_name: functest diff --git a/upper-constraints.txt b/upper-constraints.txt index bbd08b644..0122580fe 100644 --- a/upper-constraints.txt +++ b/upper-constraints.txt @@ -19,4 +19,5 @@ robotframework-sshlibrary===2.1.3;python_version=='2.7' ansible===2.3.2.0 xtesting===0.55.0 networking-bgpvpn===8.0.0 +networking-sfc===6.0.0 sphinx-opnfv-theme===0.1.1 -- 2.16.6