From a6fad0c6f2570d089d5dfdb60221a04c7a3993f9 Mon Sep 17 00:00:00 2001 From: dongwenjuan Date: Tue, 25 Jul 2017 15:41:41 +0800 Subject: Integrate doctor-test package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It updates tescases.yaml as run.sh is located in $PATH. repo_doctor is removed as it's now useless. It must be noted that doctor-test imports modules fom a relative path which can break the integration. Pylint warms them (W0403) [1]. [1] https://docs.pylint.org/en/1.6.0/features.html Co-Authored-By: Cédric Ollivier Change-Id: Icd3071a8e371048370bd3e07e08b6b52ddb35c13 Depends-On: I2091cfe4751640bf83d77e1fdd713af1e31fa89d Signed-off-by: dongwenjuan Signed-off-by: Cédric Ollivier --- docker/Dockerfile | 1 + docker/features/Dockerfile | 2 +- docker/features/testcases.yaml | 17 +++++++++++++++++ docker/thirdparty-requirements.txt | 1 + 4 files changed, 20 insertions(+), 1 deletion(-) (limited to 'docker') diff --git a/docker/Dockerfile b/docker/Dockerfile index abb9b0d70..654643d83 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -50,6 +50,7 @@ libzmq3-dev \ python-dev \ python-mock \ python-pip \ +python3 \ postgresql \ ruby \ ruby-dev \ diff --git a/docker/features/Dockerfile b/docker/features/Dockerfile index e1214c1e8..c3b1b041d 100644 --- a/docker/features/Dockerfile +++ b/docker/features/Dockerfile @@ -4,7 +4,7 @@ ARG BRANCH=master ARG OPENSTACK_TAG=stable/ocata COPY thirdparty-requirements.txt thirdparty-requirements.txt -RUN apk --no-cache add --update nodejs nodejs-npm && \ +RUN apk --no-cache add --update nodejs nodejs-npm python3 && \ apk --no-cache add --virtual .build-deps --update \ python-dev build-base linux-headers libffi-dev \ openssl-dev libjpeg-turbo-dev git && \ diff --git a/docker/features/testcases.yaml b/docker/features/testcases.yaml index b7cf81a8a..273a20e77 100644 --- a/docker/features/testcases.yaml +++ b/docker/features/testcases.yaml @@ -23,6 +23,23 @@ tiers: args: cmd: 'run_promise_tests.py' + - + case_name: doctor-notification + enabled: false + project_name: doctor + criteria: 100 + blocking: false + description: >- + Test suite from Doctor project. + dependencies: + installer: '(apex)|(fuel)' + scenario: '^((?!fdio).)*$' + run: + module: 'functest.core.feature' + class: 'BashFeature' + args: + cmd: '(cd /src/doctor-test/tests && run.sh)' + - case_name: bgpvpn project_name: sdnvpn diff --git a/docker/thirdparty-requirements.txt b/docker/thirdparty-requirements.txt index 60bd0f28f..cc8f5f9c8 100644 --- a/docker/thirdparty-requirements.txt +++ b/docker/thirdparty-requirements.txt @@ -3,6 +3,7 @@ sdnvpn securityscanning sfc promise +doctor-test tosca-parser>=0.7.0 # Apache-2.0 heat-translator>=0.4.0 # Apache-2.0 refstack-client -- cgit 1.2.3-korg