Adding Neutron trunk port tests to proposed_tests suite 93/57093/5
authorGeorg Kunz <georg.kunz@ericsson.com>
Sat, 5 May 2018 20:20:53 +0000 (20:20 +0000)
committerGeorg Kunz <georg.kunz@ericsson.com>
Fri, 11 May 2018 09:28:50 +0000 (09:28 +0000)
Adding the Neutron trunk port tempest tests to Dovetail and the
proposed_tests test suite.

JIRA: DOVETAIL-648

Change-Id: Ia77980a245fd1bca6e5f0e567467432e12bf974e
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
dovetail/test_runner.py
etc/compliance/proposed_tests.yml
etc/conf/dovetail_config.yml
etc/testcase/tempest.trunk-ports.yml [new file with mode: 0644]
etc/userconfig/testcases.yaml

index 7370c81..aba457e 100644 (file)
@@ -184,6 +184,10 @@ class FunctestRunner(DockerRunner):
             source_file = os.path.join(result_path, 'bgpvpn.log')
         elif validate_testcase == 'patrole':
             source_file = os.path.join(result_path, 'patrole', 'tempest.log')
+        elif validate_testcase == 'neutron_trunk':
+            source_file = os.path.join(result_path,
+                                       'neutron_trunk',
+                                       'tempest.log')
         else:
             source_file = None
         if source_file:
index 3612930..0c06131 100644 (file)
@@ -18,3 +18,5 @@ proposed_tests:
     - dovetail.sdnvpn.tc000
     # patrole
     - dovetail.security.patrole
+    # Neutron trunk port Tempest tests
+    - dovetail.tempest.neutron_trunk_ports
index 4c97c69..d8da555 100644 (file)
@@ -62,6 +62,7 @@ functest_testsuite:
   - rally_sanity
   - promise
   - patrole
+  - neutron_trunk
 
 functest_testcase:
   - bgpvpn
diff --git a/etc/testcase/tempest.trunk-ports.yml b/etc/testcase/tempest.trunk-ports.yml
new file mode 100644 (file)
index 0000000..ea07d65
--- /dev/null
@@ -0,0 +1,9 @@
+---
+dovetail.tempest.neutron_trunk_ports:
+  name: dovetail.tempest.neutron_trunk_ports
+  objective: Run Neutron trunk port Tempest tests
+  validate:
+    type: functest
+    testcase: neutron_trunk
+  report:
+    sub_testcase_list:
index 5e6a6c7..444eff9 100644 (file)
@@ -191,6 +191,22 @@ tiers:
                             - 'network'
                         exclude:
                             - 'test_networks_multiprovider_rbac'
+            -
+                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: ''
+                    scenario: ''
+                run:
+                    module: 'functest.opnfv_tests.openstack.tempest.tempest'
+                    class: 'TempestNeutronTrunk'
 
     -
         name: features