From 545625a009865b29d73245239559d4f1b3dc47ea Mon Sep 17 00:00:00 2001 From: xudan Date: Thu, 11 May 2017 02:33:29 -0400 Subject: Add three HA test cases into test suite proposed_tests JIRA: DOVETAIL-427 There are another three HA test cases which are stable now for adding into test suite proposed_tests for CI daily run. Change-Id: I86ed38d2e3a2bcfda29af50164aadd0da89e6aaa Signed-off-by: xudan --- dovetail/compliance/proposed_tests.yml | 12 +++++------- dovetail/testcase/ha.tc002.yml | 6 +++--- dovetail/testcase/ha.tc003.yml | 4 ++-- dovetail/testcase/ha.tc004.yml | 4 ++-- dovetail/testcase/ha.tc005.yml | 4 ++-- dovetail/testcase/ha.tc006.yml | 9 ++++++--- dovetail/testcase/ha.tc007.yml | 8 +++++--- dovetail/testcase/ha.tc008.yml | 12 ++++++------ dovetail/testcase/ha.tc009.yml | 13 ------------- dovetail/testcase/ha.tc010.yml | 12 ------------ dovetail/testcase/ha.tc011.yml | 13 ------------- dovetail/testcase/ha.tc012.yml | 11 ----------- 12 files changed, 31 insertions(+), 77 deletions(-) delete mode 100644 dovetail/testcase/ha.tc009.yml delete mode 100644 dovetail/testcase/ha.tc010.yml delete mode 100644 dovetail/testcase/ha.tc011.yml delete mode 100644 dovetail/testcase/ha.tc012.yml diff --git a/dovetail/compliance/proposed_tests.yml b/dovetail/compliance/proposed_tests.yml index cc4bfa8c..de892e5d 100644 --- a/dovetail/compliance/proposed_tests.yml +++ b/dovetail/compliance/proposed_tests.yml @@ -34,17 +34,15 @@ proposed_tests: # nfvi, vping_ssh, vping_userdata - dovetail.nfvi.tc001 - dovetail.nfvi.tc002 - # HA, ha.tc002, ha.tc012, will kill the host and can't restart, not ready yet, skip. + # HA - dovetail.ha.tc001 + - dovetail.ha.tc002 - dovetail.ha.tc003 - # - dovetail.ha.tc004 + - dovetail.ha.tc004 - dovetail.ha.tc005 - dovetail.ha.tc006 - # - dovetail.ha.tc007 - # - dovetail.ha.tc008 - - dovetail.ha.tc009 - # - dovetail.ha.tc010 - # - dovetail.ha.tc011 + - dovetail.ha.tc007 + - dovetail.ha.tc008 # sdnvpn - dovetail.sdnvpn.tc001 - dovetail.sdnvpn.tc002 diff --git a/dovetail/testcase/ha.tc002.yml b/dovetail/testcase/ha.tc002.yml index 393212f6..4ca78b45 100644 --- a/dovetail/testcase/ha.tc002.yml +++ b/dovetail/testcase/ha.tc002.yml @@ -1,10 +1,10 @@ --- dovetail.ha.tc002: name: dovetail.ha.tc002 - objective: > # This test case will verify the high availability of controller node. - # When one of the controller node abnormally shutdown, the service provided by it should be OK + objective: > # This test case will verify the high availability of the + # network service provided by OpenStack (neutro-server) on control node. validate: type: yardstick - testcase: opnfv_yardstick_tc025 + testcase: opnfv_yardstick_tc045 report: sub_testcase_list: diff --git a/dovetail/testcase/ha.tc003.yml b/dovetail/testcase/ha.tc003.yml index 2c012b9b..b3a0bf7b 100644 --- a/dovetail/testcase/ha.tc003.yml +++ b/dovetail/testcase/ha.tc003.yml @@ -2,9 +2,9 @@ dovetail.ha.tc003: name: dovetail.ha.tc003 objective: > # This test case will verify the high availability of the - # network service provided by OpenStack (neutro-server) on control node. + # user service provided by OpenStack (keystone) on control node. validate: type: yardstick - testcase: opnfv_yardstick_tc045 + testcase: opnfv_yardstick_tc046 report: sub_testcase_list: diff --git a/dovetail/testcase/ha.tc004.yml b/dovetail/testcase/ha.tc004.yml index e743415e..b25af983 100644 --- a/dovetail/testcase/ha.tc004.yml +++ b/dovetail/testcase/ha.tc004.yml @@ -2,9 +2,9 @@ dovetail.ha.tc004: name: dovetail.ha.tc004 objective: > # This test case will verify the high availability of the - # user service provided by OpenStack (keystone) on control node. + # image service provided by OpenStack (glance-api) on control node. validate: type: yardstick - testcase: opnfv_yardstick_tc046 + testcase: opnfv_yardstick_tc047 report: sub_testcase_list: diff --git a/dovetail/testcase/ha.tc005.yml b/dovetail/testcase/ha.tc005.yml index bd412e98..fd6e14d5 100644 --- a/dovetail/testcase/ha.tc005.yml +++ b/dovetail/testcase/ha.tc005.yml @@ -2,9 +2,9 @@ dovetail.ha.tc005: name: dovetail.ha.tc005 objective: > # This test case will verify the high availability of the - # image service provided by OpenStack (glance-api) on control node. + # volume service provided by OpenStack (cinder-api) on control node. validate: type: yardstick - testcase: opnfv_yardstick_tc047 + testcase: opnfv_yardstick_tc048 report: sub_testcase_list: diff --git a/dovetail/testcase/ha.tc006.yml b/dovetail/testcase/ha.tc006.yml index 52809bb9..aecbe8b2 100644 --- a/dovetail/testcase/ha.tc006.yml +++ b/dovetail/testcase/ha.tc006.yml @@ -1,10 +1,13 @@ --- dovetail.ha.tc006: name: dovetail.ha.tc006 - objective: > # This test case will verify the high availability of the - # volume service provided by OpenStack (cinder-api) on control node. + objective: > # This test case will verify the high availability of control node. + # When the CPU usage of a specified controller node is stressed to 100%, + # which breaks down the Openstack services on this node. These Openstack service + # should able to be accessed by other controller nodes, and the services on + # failed controller node should be isolated. validate: type: yardstick - testcase: opnfv_yardstick_tc048 + testcase: opnfv_yardstick_tc051 report: sub_testcase_list: diff --git a/dovetail/testcase/ha.tc007.yml b/dovetail/testcase/ha.tc007.yml index 8a8aff71..5d985534 100644 --- a/dovetail/testcase/ha.tc007.yml +++ b/dovetail/testcase/ha.tc007.yml @@ -1,10 +1,12 @@ --- dovetail.ha.tc007: name: dovetail.ha.tc007 - objective: > # This test case will verify the high availability of the - # storage service provided by OpenStack (swift-proxy) on control node. + objective: > # This test case will verify the high availability of control node. + # When the disk I/O of a specified disk is blocked, which breaks down the Openstack + # services on this node. Read and write services should still be accessed by other + # controller nodes, and the services on failed controller node should be isolated. validate: type: yardstick - testcase: opnfv_yardstick_tc049 + testcase: opnfv_yardstick_tc052 report: sub_testcase_list: diff --git a/dovetail/testcase/ha.tc008.yml b/dovetail/testcase/ha.tc008.yml index 3ee323f4..2287b8d1 100644 --- a/dovetail/testcase/ha.tc008.yml +++ b/dovetail/testcase/ha.tc008.yml @@ -1,13 +1,13 @@ --- dovetail.ha.tc008: name: dovetail.ha.tc008 - objective: > # This test case will verify the high availability of control node. - # When one of the controller failed to connect the network, which breaks down - # the Openstack services on this node. These Openstack service should able to - # be accessed by other controller nodes, and the services on failed controller - # node should be isolated + objective: > # This test case will verify the high availability of the load balance + # service(current is HAProxy) that supports OpenStack on controller node. When the + # load balance service of a specified controller node is killed, whether other + # load balancers on other controller nodes will work, and whether the controller node + # will restart the load balancer are checked. validate: type: yardstick - testcase: opnfv_yardstick_tc050 + testcase: opnfv_yardstick_tc053 report: sub_testcase_list: diff --git a/dovetail/testcase/ha.tc009.yml b/dovetail/testcase/ha.tc009.yml deleted file mode 100644 index 2625de59..00000000 --- a/dovetail/testcase/ha.tc009.yml +++ /dev/null @@ -1,13 +0,0 @@ ---- -dovetail.ha.tc009: - name: dovetail.ha.tc009 - objective: > # This test case will verify the high availability of control node. - # When the CPU usage of a specified controller node is stressed to 100%, - # which breaks down the Openstack services on this node. These Openstack service - # should able to be accessed by other controller nodes, and the services on - # failed controller node should be isolated. - validate: - type: yardstick - testcase: opnfv_yardstick_tc051 - report: - sub_testcase_list: diff --git a/dovetail/testcase/ha.tc010.yml b/dovetail/testcase/ha.tc010.yml deleted file mode 100644 index 254fa6fd..00000000 --- a/dovetail/testcase/ha.tc010.yml +++ /dev/null @@ -1,12 +0,0 @@ ---- -dovetail.ha.tc010: - name: dovetail.ha.tc010 - objective: > # This test case will verify the high availability of control node. - # When the disk I/O of a specified disk is blocked, which breaks down the Openstack - # services on this node. Read and write services should still be accessed by other - # controller nodes, and the services on failed controller node should be isolated. - validate: - type: yardstick - testcase: opnfv_yardstick_tc052 - report: - sub_testcase_list: diff --git a/dovetail/testcase/ha.tc011.yml b/dovetail/testcase/ha.tc011.yml deleted file mode 100644 index a3a91c9b..00000000 --- a/dovetail/testcase/ha.tc011.yml +++ /dev/null @@ -1,13 +0,0 @@ ---- -dovetail.ha.tc011: - name: dovetail.ha.tc011 - objective: > # This test case will verify the high availability of the load balance - # service(current is HAProxy) that supports OpenStack on controller node. When the - # load balance service of a specified controller node is killed, whether other - # load balancers on other controller nodes will work, and whether the controller node - # will restart the load balancer are checked. - validate: - type: yardstick - testcase: opnfv_yardstick_tc053 - report: - sub_testcase_list: diff --git a/dovetail/testcase/ha.tc012.yml b/dovetail/testcase/ha.tc012.yml deleted file mode 100644 index 127bf2d0..00000000 --- a/dovetail/testcase/ha.tc012.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -dovetail.ha.tc012: - name: dovetail.ha.tc012 - objective: > # This test case will verify the high availability for virtual ip in the environment. - # When master node of virtual ip is abnormally shutdown, connection to virtual ip and the - # services binded to the virtual IP it should be OK. - validate: - type: yardstick - testcase: opnfv_yardstick_tc054 - report: - sub_testcase_list: -- cgit 1.2.3-korg