diff options
author | Georg Kunz <georg.kunz@ericsson.com> | 2018-06-27 22:26:50 +0200 |
---|---|---|
committer | Dan Xu <xudan16@huawei.com> | 2018-06-29 07:02:12 +0000 |
commit | 964b0aaceaff268d6e12d50d92ed766b8e6cd2d4 (patch) | |
tree | 99088385675c7cc4e74c61afc8056822a91b31f2 | |
parent | 60e46040086cc8d866bfea565ae3d0b5a52db265 (diff) |
Splitting IPv6 tests in API and scenario tests
Spliting the IPv6 test case in Tempest API tests and scenario tests. The
API tests will be promoted to mandatory while the scenario tests will
remain optional.
JIRA: DOVETAIL-677
Change-Id: If3dca5ecf2ce5c9e02de5c6d45e674da029b609f
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
-rw-r--r-- | etc/compliance/ovp.next.yaml | 3 | ||||
-rw-r--r-- | etc/testcase/tempest.ipv6_api.yml (renamed from etc/testcase/tempest.ipv6.yml) | 20 | ||||
-rw-r--r-- | etc/testcase/tempest.ipv6_scenario.yml | 32 |
3 files changed, 40 insertions, 15 deletions
diff --git a/etc/compliance/ovp.next.yaml b/etc/compliance/ovp.next.yaml index deb20093..67c5d743 100644 --- a/etc/compliance/ovp.next.yaml +++ b/etc/compliance/ovp.next.yaml @@ -19,7 +19,8 @@ ovp.next: - dovetail.ha.haproxy # optional test cases # ipv6 - - dovetail.tempest.ipv6 + - dovetail.tempest.ipv6_api + - dovetail.tempest.ipv6_scenario # tempest # some of the previous tempest test suites tc001 - tc005 have been merged # with the smoke tests executed as part of the proposed_test test suite diff --git a/etc/testcase/tempest.ipv6.yml b/etc/testcase/tempest.ipv6_api.yml index 83dae126..b0706fe9 100644 --- a/etc/testcase/tempest.ipv6.yml +++ b/etc/testcase/tempest.ipv6_api.yml @@ -1,7 +1,7 @@ --- -dovetail.tempest.ipv6: - name: dovetail.tempest.ipv6 - objective: IPv6 tenant network capabilities +dovetail.tempest.ipv6_api: + name: dovetail.tempest.ipv6_api + objective: IPv6 API tempest tests validate: type: functest testcase: tempest_custom @@ -17,9 +17,9 @@ dovetail.tempest.ipv6: - tempest/tempest.log - tempest/tempest-report.html dest_archive_files: - - tempest_logs/dovetail.tempest.ipv6.functest.log - - tempest_logs/dovetail.tempest.ipv6.log - - tempest_logs/dovetail.tempest.ipv6.html + - tempest_logs/dovetail.tempest.ipv6_api.functest.log + - tempest_logs/dovetail.tempest.ipv6_api.log + - tempest_logs/dovetail.tempest.ipv6_api.html check_results_file: 'functest_results.txt' sub_testcase_list: - tempest.api.network.test_networks.BulkNetworkOpsIpV6Test.test_bulk_create_delete_network[id-d4f9024d-1e28-4fc1-a6b1-25dbc6fa11e2,smoke] @@ -43,11 +43,3 @@ dovetail.tempest.ipv6: - tempest.api.network.test_security_groups.SecGroupIPv6Test.test_create_list_update_show_delete_security_group[id-bfd128e5-3c92-44b6-9d66-7fe29d22c802,smoke] - tempest.api.network.test_security_groups.SecGroupIPv6Test.test_create_show_delete_security_group_rule[id-cfb99e0e-7410-4a3d-8a0c-959a63ee77e9,smoke] - tempest.api.network.test_security_groups.SecGroupIPv6Test.test_list_security_groups[id-e30abd17-fef9-4739-8617-dc26da88e686,smoke] - - tempest.scenario.test_network_v6.TestGettingAddress.test_dhcp6_stateless_from_os[compute,id-d7e1f858-187c-45a6-89c9-bdafde619a9f,network,slow] - - tempest.scenario.test_network_v6.TestGettingAddress.test_dualnet_dhcp6_stateless_from_os[compute,id-76f26acd-9688-42b4-bc3e-cd134c4cb09e,network,slow] - - tempest.scenario.test_network_v6.TestGettingAddress.test_multi_prefix_dhcpv6_stateless[compute,id-7ab23f41-833b-4a16-a7c9-5b42fe6d4123,network,slow] - - tempest.scenario.test_network_v6.TestGettingAddress.test_dualnet_multi_prefix_dhcpv6_stateless[compute,id-cf1c4425-766b-45b8-be35-e2959728eb00,network,slow] - - tempest.scenario.test_network_v6.TestGettingAddress.test_slaac_from_os[compute,id-2c92df61-29f0-4eaa-bee3-7c65bef62a43,network,slow] - - tempest.scenario.test_network_v6.TestGettingAddress.test_dualnet_slaac_from_os[compute,id-b6399d76-4438-4658-bcf5-0d6c8584fde2,network,slow] - - tempest.scenario.test_network_v6.TestGettingAddress.test_multi_prefix_slaac[compute,id-dec222b1-180c-4098-b8c5-cc1b8342d611,network,slow] - - tempest.scenario.test_network_v6.TestGettingAddress.test_dualnet_multi_prefix_slaac[compute,id-9178ad42-10e4-47e9-8987-e02b170cc5cd,network] diff --git a/etc/testcase/tempest.ipv6_scenario.yml b/etc/testcase/tempest.ipv6_scenario.yml new file mode 100644 index 00000000..c33b02a5 --- /dev/null +++ b/etc/testcase/tempest.ipv6_scenario.yml @@ -0,0 +1,32 @@ +--- +dovetail.tempest.ipv6_scenario: + name: dovetail.tempest.ipv6_scenario + objective: IPv6 tempest scenario tests + validate: + type: functest + testcase: tempest_custom + pre_condition: + - 'cp /home/opnfv/userconfig/pre_config/tempest_conf.yaml /usr/lib/python2.7/site-packages/functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml' + - 'cp /home/opnfv/userconfig/pre_config/testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml' + pre_copy: + src_file: tempest_custom.txt + dest_path: /usr/lib/python2.7/site-packages/functest/opnfv_tests/openstack/tempest/custom_tests/test_list.txt + report: + source_archive_files: + - functest.log + - tempest/tempest.log + - tempest/tempest-report.html + dest_archive_files: + - tempest_logs/dovetail.tempest.ipv6_scenario.functest.log + - tempest_logs/dovetail.tempest.ipv6_scenario.log + - tempest_logs/dovetail.tempest.ipv6_scenario.html + check_results_file: 'functest_results.txt' + sub_testcase_list: + - tempest.scenario.test_network_v6.TestGettingAddress.test_dhcp6_stateless_from_os[compute,id-d7e1f858-187c-45a6-89c9-bdafde619a9f,network,slow] + - tempest.scenario.test_network_v6.TestGettingAddress.test_dualnet_dhcp6_stateless_from_os[compute,id-76f26acd-9688-42b4-bc3e-cd134c4cb09e,network,slow] + - tempest.scenario.test_network_v6.TestGettingAddress.test_multi_prefix_dhcpv6_stateless[compute,id-7ab23f41-833b-4a16-a7c9-5b42fe6d4123,network,slow] + - tempest.scenario.test_network_v6.TestGettingAddress.test_dualnet_multi_prefix_dhcpv6_stateless[compute,id-cf1c4425-766b-45b8-be35-e2959728eb00,network,slow] + - tempest.scenario.test_network_v6.TestGettingAddress.test_slaac_from_os[compute,id-2c92df61-29f0-4eaa-bee3-7c65bef62a43,network,slow] + - tempest.scenario.test_network_v6.TestGettingAddress.test_dualnet_slaac_from_os[compute,id-b6399d76-4438-4658-bcf5-0d6c8584fde2,network,slow] + - tempest.scenario.test_network_v6.TestGettingAddress.test_multi_prefix_slaac[compute,id-dec222b1-180c-4098-b8c5-cc1b8342d611,network,slow] + - tempest.scenario.test_network_v6.TestGettingAddress.test_dualnet_multi_prefix_slaac[compute,id-9178ad42-10e4-47e9-8987-e02b170cc5cd,network] |