diff options
author | Panagiotis Karalis <pkaralis@intracom-telecom.com> | 2018-02-23 14:56:25 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-03-13 16:36:08 +0100 |
commit | 0ce4ba21f5b934431adfa8a96f20065483a9f5c9 (patch) | |
tree | 9a7f128eb5c433fcdf0d6b6e63e3a9b872a8b6c2 /docker/smoke | |
parent | 632556645e8b3a4487c59e311e2cd43147c8d082 (diff) |
Implement trunk ports testcase
The tempest testcases have been integrated from Neutron trunk
testcases. It also enables every Neutron extension which may raise
side effects [1].
[1] https://docs.openstack.org/tempest/latest/sampleconf.html
JIRA: FUNCTEST-926
Change-Id: I05015acf119f504ce0a5539d677719de874594ad
Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
Diffstat (limited to 'docker/smoke')
-rw-r--r-- | docker/smoke/Dockerfile | 6 | ||||
-rw-r--r-- | docker/smoke/testcases.yaml | 17 |
2 files changed, 23 insertions, 0 deletions
diff --git a/docker/smoke/Dockerfile b/docker/smoke/Dockerfile index ad0ae9fcd..e09ea1c2c 100644 --- a/docker/smoke/Dockerfile +++ b/docker/smoke/Dockerfile @@ -34,6 +34,12 @@ RUN apk --no-cache add --virtual .build-deps --update \ git clone https://git.opendaylight.org/gerrit/p/integration/test.git /src/odl_test && \ (cd /src/odl_test && git checkout $ODL_TAG) && \ virtualenv --system-site-packages /src/tempest/.venv && \ + pip install --no-cache-dir --src /src -cupper-constraints.txt \ + -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$BRANCH \ + -e git+https://github.com/openstack/neutron.git@$OPENSTACK_TAG#egg=neutron && \ + pip install --no-cache-dir --src /src -cupper-constraints.txt \ + -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$BRANCH \ + -r /src/neutron/test-requirements.txt && \ rm -r upper-constraints.txt thirdparty-requirements.txt /src/odl_test/.git \ /src/os-faults /src/rally && \ mkdir -p /etc/rally && \ diff --git a/docker/smoke/testcases.yaml b/docker/smoke/testcases.yaml index 9f017e5f3..44539c9ea 100644 --- a/docker/smoke/testcases.yaml +++ b/docker/smoke/testcases.yaml @@ -171,3 +171,20 @@ tiers: run: module: 'functest.opnfv_tests.openstack.snaps.smoke' class: 'SnapsSmoke' + + - + case_name: neutron_trunk + project_name: functest + criteria: 100 + blocking: false + description: >- + This test case runs the neutron trunk subtest of the + OpenStack Tempest suite. The list of test cases is + generated by Tempest having as input the relevant + testcase list file. + dependencies: + installer: '(fuel)|(apex)|(compass)' + scenario: '' + run: + module: 'functest.opnfv_tests.openstack.tempest.tempest' + class: 'TempestNeutronTrunk' |