Update BGPVPN and VNF test cases 75/64175/4
authorxudan <xudan16@huawei.com>
Tue, 30 Oct 2018 02:41:53 +0000 (22:41 -0400)
committerDan Xu <xudan16@huawei.com>
Wed, 7 Nov 2018 08:14:34 +0000 (08:14 +0000)
Due to change to Functest Gambia, bgpvpn and vnf test cases failed.
Update the testcases.yaml according to Functest's new format.

Change-Id: Ia5d9ba291161f7da84a0aadf241e9ab81d83cfa9
Signed-off-by: xudan <xudan16@huawei.com>
etc/testcase/functest.bgpvpn.router_association.yml
etc/testcase/functest.bgpvpn.router_association_floating_ip.yml
etc/testcase/functest.bgpvpn.subnet_connectivity.yml
etc/testcase/functest.bgpvpn.tenant_separation.yml
etc/testcase/functest.vnf.vepc.yml
etc/testcase/functest.vnf.vims.yml
etc/userconfig/bgpvpn_testcases.yaml [new file with mode: 0644]
etc/userconfig/testcases.yaml
etc/userconfig/vnf_testcases.yaml [new file with mode: 0644]

index 6b30315..0922fb0 100644 (file)
@@ -9,6 +9,8 @@ functest.bgpvpn.router_association:
     pre_copy:
       exist_src_file: sdnvpn_config_testcase4.yaml
       dest_path: /usr/lib/python2.7/site-packages/sdnvpn/test/functest/config.yaml
+    pre_condition:
+      - 'cp /home/opnfv/userconfig/pre_config/bgpvpn_testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml'
   report:
     source_archive_files:
       - functest.log
index d6d0355..d27400f 100644 (file)
@@ -9,6 +9,8 @@ functest.bgpvpn.router_association_floating_ip:
     pre_copy:
       exist_src_file: sdnvpn_config_testcase8.yaml
       dest_path: /usr/lib/python2.7/site-packages/sdnvpn/test/functest/config.yaml
+    pre_condition:
+      - 'cp /home/opnfv/userconfig/pre_config/bgpvpn_testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml'
   report:
     source_archive_files:
       - functest.log
index 296cafd..7260ccd 100644 (file)
@@ -9,6 +9,8 @@ functest.bgpvpn.subnet_connectivity:
     pre_copy:
       exist_src_file: sdnvpn_config_testcase1.yaml
       dest_path: /usr/lib/python2.7/site-packages/sdnvpn/test/functest/config.yaml
+    pre_condition:
+      - 'cp /home/opnfv/userconfig/pre_config/bgpvpn_testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml'
   report:
     source_archive_files:
       - functest.log
index 91a3b57..efc34fb 100644 (file)
@@ -9,6 +9,8 @@ functest.bgpvpn.tenant_separation:
     pre_copy:
       exist_src_file: sdnvpn_config_testcase2.yaml
       dest_path: /usr/lib/python2.7/site-packages/sdnvpn/test/functest/config.yaml
+    pre_condition:
+      - 'cp /home/opnfv/userconfig/pre_config/bgpvpn_testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml'
   report:
     source_archive_files:
       - functest.log
index 7cf09f6..63a4835 100644 (file)
@@ -6,6 +6,8 @@ functest.vnf.vepc:
     type: functest
     testcase: juju_epc
     image_name: opnfv/functest-vnf
+    pre_condition:
+      - 'cp /home/opnfv/userconfig/pre_config/vnf_testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml'
   report:
     source_archive_files:
       - functest.log
index 3e95e9d..8217972 100644 (file)
@@ -6,6 +6,8 @@ functest.vnf.vims:
     type: functest
     testcase: cloudify_ims
     image_name: opnfv/functest-vnf
+    pre_condition:
+      - 'cp /home/opnfv/userconfig/pre_config/vnf_testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml'
   report:
     source_archive_files:
       - functest.log
diff --git a/etc/userconfig/bgpvpn_testcases.yaml b/etc/userconfig/bgpvpn_testcases.yaml
new file mode 100644 (file)
index 0000000..cadfe02
--- /dev/null
@@ -0,0 +1,18 @@
+---
+tiers:
+    -
+        name: features
+        order: 2
+        description: >-
+            Test suites from feature projects
+            integrated in functest
+        testcases:
+            -
+                case_name: bgpvpn
+                project_name: sdnvpn
+                criteria: 100
+                blocking: false
+                description: >-
+                    Test suite from SDNVPN project.
+                run:
+                    name: bgpvpn
index 529e116..44b99bb 100644 (file)
@@ -24,63 +24,3 @@ tiers:
                 run:
                     module: 'functest.opnfv_tests.openstack.tempest.tempest'
                     class: 'TempestCustom'
-
-    -
-        name: features
-        order: 2
-        ci_loop: '(daily)|(weekly)'
-        description: >-
-            Test suites from feature projects
-            integrated in functest
-        testcases:
-            -
-                case_name: bgpvpn
-                project_name: sdnvpn
-                criteria: 100
-                blocking: false
-                description: >-
-                    Test suite from SDNVPN project.
-                dependencies:
-                    installer: ''
-                    scenario: ''
-                run:
-                    module: 'sdnvpn.test.functest.run_sdnvpn_tests'
-                    class: 'SdnvpnFunctest'
-
-    -
-        name: vnf
-        order: 4
-        ci_loop: '(daily)|(weekly)'
-        description: >-
-            Collection of VNF test cases.
-        testcases:
-            -
-                case_name: cloudify_ims
-                project_name: functest
-                criteria: 80
-                blocking: false
-                description: >-
-                    This test case deploys an OpenSource vIMS solution from
-                    Clearwater using the Cloudify orchestrator. It also runs
-                    some signaling traffic.
-                dependencies:
-                    installer: ''
-                    scenario: ''
-                run:
-                    module: 'functest.opnfv_tests.vnf.ims.cloudify_ims'
-                    class: 'CloudifyIms'
-
-            -
-                case_name: juju_epc
-                project_name: functest
-                criteria: 100
-                blocking: false
-                description: >-
-                    vEPC validation with Juju as VNF manager and ABoT as test
-                    executor.
-                dependencies:
-                    installer: ''
-                    scenario: ''
-                run:
-                    module: 'functest.opnfv_tests.vnf.epc.juju_epc'
-                    class: 'JujuEpc'
diff --git a/etc/userconfig/vnf_testcases.yaml b/etc/userconfig/vnf_testcases.yaml
new file mode 100644 (file)
index 0000000..fbf91ca
--- /dev/null
@@ -0,0 +1,30 @@
+---
+tiers:
+    -
+        name: vnf
+        order: 5
+        description: >-
+            Collection of VNF test cases.
+        testcases:
+            -
+                case_name: cloudify_ims
+                project_name: functest
+                criteria: 100
+                blocking: false
+                description: >-
+                    This test case deploys an OpenSource vIMS solution from
+                    Clearwater using the Cloudify orchestrator. It also runs
+                    some signaling traffic.
+                run:
+                    name: cloudify_ims
+
+            -
+                case_name: juju_epc
+                project_name: functest
+                criteria: 100
+                blocking: false
+                description: >-
+                    vEPC validation with Juju as VNF manager and ABoT as test
+                    executor.
+                run:
+                    name: juju_epc