Merge "Switch to blocking: false for ODL testcase"
authorCedric Ollivier <cedric.ollivier@orange.com>
Thu, 17 Aug 2017 07:29:05 +0000 (07:29 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Thu, 17 Aug 2017 07:29:05 +0000 (07:29 +0000)
13 files changed:
docker/Dockerfile
docker/features/Dockerfile
docker/features/testcases.yaml
docker/features/thirdparty-requirements.txt
docker/thirdparty-requirements.txt
docs/release/release-notes/functest-release.rst
docs/testing/developer/devguide/index.rst
docs/testing/user/configguide/configguide.rst
docs/testing/user/userguide/index.rst
docs/testing/user/userguide/introduction.rst
docs/testing/user/userguide/runfunctest.rst
functest/ci/testcases.yaml
upper-constraints.txt

index 6f53e8d..1811e93 100644 (file)
@@ -84,7 +84,6 @@ RUN wget -q -O- https://git.openstack.org/cgit/openstack/requirements/plain/uppe
     rm thirdparty-requirements.txt upper-constraints.txt
 
 # OPNFV repositories
-RUN git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/copper /src/copper
 RUN git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/domino /src/domino
 RUN git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/doctor ${REPOS_DIR}/doctor
 RUN git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/fds /src/fds
index 73f4d2c..54bffe8 100644 (file)
@@ -4,16 +4,18 @@ ARG BRANCH=master
 ARG OPENSTACK_TAG=stable/ocata
 
 COPY thirdparty-requirements.txt thirdparty-requirements.txt
-RUN apk --no-cache add --virtual .build-deps --update \
+RUN apk --no-cache add --update nodejs nodejs-npm && \
+    apk --no-cache add --virtual .build-deps --update \
         python-dev build-base linux-headers libffi-dev \
         openssl-dev libjpeg-turbo-dev git && \
     pip install --no-cache-dir --src /src \
         -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=$OPENSTACK_TAG \
         -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$BRANCH \
         -rthirdparty-requirements.txt && \
+    npm -g install npm@latest && \
+    (cd /src/promise/source && npm install) && \
     git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/domino /src/domino && \
-    git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/copper /src/copper && \
-    rm -r thirdparty-requirements.txt /src/domino/.git /src/copper/.git && \
+    rm -r thirdparty-requirements.txt /src/domino/.git && \
     apk del .build-deps
 COPY testcases.yaml /usr/lib/python2.7/site-packages/functest/ci/testcases.yaml
 CMD ["bash","-c","prepare_env start && run_tests -t all"]
index 0fed95d..052bd47 100644 (file)
@@ -8,46 +8,45 @@ tiers:
             integrated in functest
         testcases:
             -
-                case_name: bgpvpn
-                project_name: sdnvpn
+                case_name: promise
+                project_name: promise
                 criteria: 100
                 blocking: false
                 description: >-
-                    Test suite from SDNVPN project.
+                    Test suite from Promise project.
                 dependencies:
-                    installer: '(fuel)|(apex)|(netvirt)'
-                    scenario: 'bgpvpn'
+                    installer: '(fuel)|(joid)'
+                    scenario: ''
                 run:
                     module: 'functest.core.feature'
                     class: 'BashFeature'
                     args:
-                        cmd: 'run_sdnvpn_tests.py'
+                        cmd: 'run_promise_tests.py'
 
             -
-                case_name: security_scan
-                enabled: false
-                project_name: securityscanning
+                case_name: bgpvpn
+                project_name: sdnvpn
                 criteria: 100
                 blocking: false
                 description: >-
-                    Simple Security Scan
+                    Test suite from SDNVPN project.
                 dependencies:
-                    installer: 'apex'
-                    scenario: '^((?!fdio).)*$'
+                    installer: '(fuel)|(apex)|(netvirt)'
+                    scenario: 'bgpvpn'
                 run:
                     module: 'functest.core.feature'
                     class: 'BashFeature'
                     args:
-                        cmd: '. /home/opnfv/functest/conf/stackrc && security_scan --config /usr/local/etc/securityscanning/config.ini'
+                        cmd: 'run_sdnvpn_tests.py'
 
             -
-                case_name: copper
+                case_name: security_scan
                 enabled: false
-                project_name: copper
+                project_name: securityscanning
                 criteria: 100
                 blocking: false
                 description: >-
-                    Test suite for policy management based on OpenStack Congress
+                    Simple Security Scan
                 dependencies:
                     installer: 'apex'
                     scenario: '^((?!fdio).)*$'
@@ -55,7 +54,7 @@ tiers:
                     module: 'functest.core.feature'
                     class: 'BashFeature'
                     args:
-                        cmd: 'cd /src/copper/tests && bash run.sh && cd -'
+                        cmd: '. /home/opnfv/functest/conf/stackrc && security_scan --config /usr/local/etc/securityscanning/config.ini'
 
             -
                 case_name: functest-odl-sfc
@@ -91,23 +90,6 @@ tiers:
                     args:
                         cmd: 'cd /src/domino && ./tests/run_multinode.sh'
 
-            -
-                case_name: gluon_vping
-                enabled: false
-                project_name: netready
-                criteria: 100
-                blocking: false
-                description: >-
-                    Test suite from Netready project.
-                dependencies:
-                    installer: 'apex'
-                    scenario: 'gluon'
-                run:
-                    module: 'functest.core.feature'
-                    class: 'BashFeature'
-                    args:
-                        cmd: 'gluon-test-suite.py'
-
             -
                 case_name: barometercollectd
                 enabled: false
index e720cad..84521f2 100644 (file)
@@ -4,7 +4,6 @@ opera
 securityscanning
 sfc
 promise
-netready
 tosca-parser>=0.7.0 # Apache-2.0
 heat-translator>=0.4.0 # Apache-2.0
 refstack-client
index 1ddaf70..02d99c9 100644 (file)
@@ -80,7 +80,6 @@ The OPNFV projects integrated into Functest framework for automation are:
  * domino
  * fds
  * multisite
- * netready
  * onos
  * odl-sfc
  * odl-netvirt
@@ -257,8 +256,8 @@ test [0-3]. The scoring method is described in https://wiki.opnfv.org/pages/view
 
  e.g.
  apex/odl_l2-nofeature-ha
- tests = vping_ssh+vping_userdata+tempest+rally+odl+doctor+copper
- Scoring = 21/21 = 7 * 3
+ tests = vping_ssh+vping_userdata+tempest+rally+odl+doctor
+ Scoring = 18/18 = 6 * 3
 
 By default, if not specified, the scenarios are HA.
 HA means OpenStack High Availability (main services). Note that not
index 551edec..1e794aa 100644 (file)
@@ -110,7 +110,6 @@ The external test cases are:
  * onos
  * fds
  * multisite
- * netready
  * orchestra_ims
  * parser
  * promise
@@ -360,8 +359,6 @@ Please note that currently token authorization is implemented but is not yet ena
    +---------------------+---------+---------+---------+---------+
    | parser              |         |         |    X    |         |
    +---------------------+---------+---------+---------+---------+
-   | copper              |    X    |         |         |    X    |
-   +---------------------+---------+---------+---------+---------+
    src: colorado (see release note for the last matrix version)
 
   All the testcases listed in the table are runnable on
index 35548c9..a72055c 100644 (file)
@@ -301,7 +301,6 @@ should now be in place::
         |   `-- results
         `-- repos
             |-- bgpvpn
-            |-- copper
             |-- doctor
             |-- domino
             |-- functest
index c877be7..62e0c07 100644 (file)
@@ -480,13 +480,10 @@ In Danube, Functest supports the integration of:
  * domino
  * fds
  * multisite
- * netready
  * odl-sfc
  * promise
  * security_scan
 
-Note: copper is not supported in Danube.
-
 Please refer to the dedicated feature user guides for details.
 
 
index 76a28d9..2954aaa 100644 (file)
@@ -136,9 +136,6 @@ validate the scenario for the release.
 |             |               |                | See `Multisite User Guide`_ for  |
 |             |               |                | details                          |
 |             |               +----------------+----------------------------------+
-|             |               | netready       | Testing from netready project    |
-|             |               |                | ping using gluon                 |
-|             |               +----------------+----------------------------------+
 |             |               | odl-sfc        | SFC testing for odl scenarios    |
 |             |               |                | See `SFC User Guide`_ for details|
 |             |               +----------------+----------------------------------+
@@ -252,7 +249,6 @@ section `Executing the functest suites`_ of this document.
 
 .. _`[2]`: http://docs.openstack.org/developer/tempest/overview.html
 .. _`[3]`: https://rally.readthedocs.org/en/latest/index.html
-.. _`Copper User Guide`: http://artifacts.opnfv.org/copper/colorado/docs/userguide/index.html
 .. _`Doctor User Guide`: http://artifacts.opnfv.org/doctor/colorado/userguide/index.html
 .. _`Promise User Guide`: http://artifacts.opnfv.org/promise/colorado/docs/userguide/index.html
 .. _`ONOSFW User Guide`: http://artifacts.opnfv.org/onosfw/colorado/userguide/index.html
index 079badd..58a3e4b 100644 (file)
@@ -610,7 +610,7 @@ variables:
  * The scenario [controller]-[feature]-[mode], stored in DEPLOY_SCENARIO with
 
    * controller = (odl|ocl|nosdn|onos)
-   * feature = (ovs(dpdk)|kvm|sfc|bgpvpn|multisites|netready|ovs_dpdk_bar)
+   * feature = (ovs(dpdk)|kvm|sfc|bgpvpn|multisites|ovs_dpdk_bar)
    * mode = (ha|noha)
 
 The constraints per test case are defined in the Functest configuration file
index 9a4bd53..8691448 100644 (file)
@@ -316,23 +316,6 @@ tiers:
                     args:
                         cmd: '. /home/opnfv/functest/conf/stackrc && security_scan --config /usr/local/etc/securityscanning/config.ini'
 
-            -
-                case_name: copper
-                enabled: false
-                project_name: copper
-                criteria: 100
-                blocking: false
-                description: >-
-                    Test suite for policy management based on OpenStack Congress
-                dependencies:
-                    installer: 'apex'
-                    scenario: '^((?!fdio).)*$'
-                run:
-                    module: 'functest.core.feature'
-                    class: 'BashFeature'
-                    args:
-                        cmd: 'cd /src/copper/tests && bash run.sh && cd -'
-
             -
                 case_name: multisite
                 enabled: false
@@ -382,6 +365,7 @@ tiers:
 
             -
                 case_name: parser-basics
+                enabled: false
                 project_name: parser
                 criteria: 100
                 blocking: false
@@ -413,23 +397,6 @@ tiers:
                     args:
                         cmd: 'cd /src/domino && ./tests/run_multinode.sh'
 
-            -
-                case_name: gluon_vping
-                enabled: false
-                project_name: netready
-                criteria: 100
-                blocking: false
-                description: >-
-                    Test suite from Netready project.
-                dependencies:
-                    installer: 'apex'
-                    scenario: 'gluon'
-                run:
-                    module: 'functest.core.feature'
-                    class: 'BashFeature'
-                    args:
-                        cmd: 'gluon-test-suite.py'
-
             -
                 case_name: barometercollectd
                 enabled: false
index ea6a484..4f4e1da 100644 (file)
@@ -5,8 +5,7 @@ git+https://gerrit.opnfv.org/gerrit/sdnvpn#egg=sdnvpn
 git+https://gerrit.opnfv.org/gerrit/opera#egg=opera
 git+https://gerrit.opnfv.org/gerrit/securityscanning#egg=securityscanning
 git+https://gerrit.opnfv.org/gerrit/sfc#egg=sfc
--e git+https://gerrit.opnfv.org/gerrit/promise#egg=promise&subdirectory=promise/test/functest
-git+https://gerrit.opnfv.org/gerrit/netready#egg=netready&subdirectory=test/functest
+-e git+https://gerrit.opnfv.org/gerrit/promise#egg=promise
 -e git+https://github.com/openstack/refstack-client#egg=refstack-client
 cloudify_rest_client===4.0
 iniparse===0.4