Use same tests before and after downing two nodes 82/77282/2
authorJamo Luhrsen <jluhrsen@redhat.com>
Thu, 25 Oct 2018 21:54:07 +0000 (14:54 -0700)
committerSam Hague <shague@redhat.com>
Thu, 25 Oct 2018 22:03:32 +0000 (22:03 +0000)
Sometimes we notice a failure in connectivity after the step
to take down two of three nodes, and the node that is left
is in a bad state (maybe because it's the only node up and
cannot sync with anyone). If there is a real connectivity
issue we want to see it while a healthy cluster is running

Change-Id: Ib0251318c3b58bfdce9e8327c8a2194a4ae3dd7b
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
csit/suites/openstack/clustering/ha_l2.robot
csit/suites/openstack/clustering/ha_l3.robot

index c8830b56ce5ddc3043686e5c7a6875b8228bd330..9c9d73d1fce54ff7f659a162f3834288b66ec25c 100644 (file)
@@ -173,20 +173,32 @@ Bring Up ODL3
     [Documentation]    Bring up ODL3 again
     ClusterManagement.Start Single Member    3    msg=up: ODL1, ODL2, down: ODL3
 
+Connectivity Tests From Vm Instance1 In net_2 In Healthy Cluster
+    [Documentation]    Logging to the vm instance using generated key pair.
+    OpenStackOperations.Test Operations From Vm Instance    @{NETWORKS}[1]    @{NET_2_VM_IPS}[0]    ${NET_2_VM_IPS}
+
+Connectivity Tests From Vm Instance2 In net_2 In Healthy Cluster
+    [Documentation]    Logging to the vm instance using generated key pair.
+    OpenStackOperations.Test Operations From Vm Instance    @{NETWORKS}[1]    @{NET_2_VM_IPS}[1]    ${NET_2_VM_IPS}
+
+Connectivity Tests From Vm Instance3 In net_2 In Healthy Cluster
+    [Documentation]    Logging to the vm instance using generated key pair.
+    OpenStackOperations.Test Operations From Vm Instance    @{NETWORKS}[1]    @{NET_2_VM_IPS}[2]    ${NET_2_VM_IPS}
+
 Take Down ODL1 and ODL2
     [Documentation]    Stop the karaf in First and Second Controller
     BuiltIn.Run Keyword And Ignore Error    ClusterManagement.Stop Single Member    1    msg=up: ODL1, ODL2, ODL3, down=none
     BuiltIn.Run Keyword And Ignore Error    ClusterManagement.Stop Single Member    2    msg=up: ODL2, ODL3, down=ODL1
 
-Connectivity Tests From Vm Instance1 In net_2
+Connectivity Tests From Vm Instance1 In net_2 With Two ODLs Down
     [Documentation]    Logging to the vm instance using generated key pair.
     OpenStackOperations.Test Operations From Vm Instance    @{NETWORKS}[1]    @{NET_2_VM_IPS}[0]    ${NET_2_VM_IPS}
 
-Connectivity Tests From Vm Instance2 In net_2
+Connectivity Tests From Vm Instance2 In net_2 With Two ODLs Down
     [Documentation]    Logging to the vm instance using generated key pair.
     OpenStackOperations.Test Operations From Vm Instance    @{NETWORKS}[1]    @{NET_2_VM_IPS}[1]    ${NET_2_VM_IPS}
 
-Connectivity Tests From Vm Instance3 In net_2
+Connectivity Tests From Vm Instance3 In net_2 With Two ODLs Down
     [Documentation]    Logging to the vm instance using generated key pair.
     OpenStackOperations.Test Operations From Vm Instance    @{NETWORKS}[1]    @{NET_2_VM_IPS}[2]    ${NET_2_VM_IPS}
 
index d4d15a0448e81915c95048c9da28c98aaf570d79..54201f6ad28ddcdc390487f87a2245e790ce7cd6 100644 (file)
@@ -155,25 +155,43 @@ Ping Vm Instance3 In net_1 From net_2
     [Documentation]    Check reachability of vm instances by pinging to them after creating routers.
     OpenStackOperations.Ping Vm From DHCP Namespace    @{NETWORKS}[1]    @{NET_1_L3_VM_IPS}[2]
 
+Connectivity Tests From Vm Instance1 In net_1 In Healthy Cluster
+    [Documentation]    ssh to the VM instance and test operations.
+    ${dst_list} =    BuiltIn.Create List    @{NET_2_L3_VM_IPS}    @{NET_1_L3_VM_IPS}
+    OpenStackOperations.Test Operations From Vm Instance    @{NETWORKS}[0]    @{NET_1_L3_VM_IPS}[0]    ${dst_list}
+    [Teardown]    OpenStackOperations.Get Test Teardown Debugs    fail=False
+
+Connectivity Tests From Vm Instance2 In net_1 In Healthy Cluster
+    [Documentation]    ssh to the VM instance and test operations.
+    ${dst_list} =    BuiltIn.Create List    @{NET_2_L3_VM_IPS}    @{NET_1_L3_VM_IPS}
+    OpenStackOperations.Test Operations From Vm Instance    @{NETWORKS}[0]    @{NET_1_L3_VM_IPS}[1]    ${dst_list}
+    [Teardown]    OpenStackOperations.Get Test Teardown Debugs    fail=False
+
+Connectivity Tests From Vm Instance3 In net_1 In Healthy Cluster
+    [Documentation]    ssh to the VM instance and test operations.
+    ${dst_list} =    BuiltIn.Create List    @{NET_2_L3_VM_IPS}    @{NET_1_L3_VM_IPS}
+    OpenStackOperations.Test Operations From Vm Instance    @{NETWORKS}[0]    @{NET_1_L3_VM_IPS}[2]    ${dst_list}
+    [Teardown]    OpenStackOperations.Get Test Teardown Debugs    fail=False
+
 Take Down ODL1 and ODL2
     [Documentation]    Stop the karaf in First and Second Controller
     ClusterManagement.Stop Single Member    1    msg=up: ODL1, ODL2, ODL3, down=none
     ClusterManagement.Stop Single Member    2    msg=up: ODL2, ODL3, down=ODL1
     [Teardown]    OpenStackOperations.Get Test Teardown Debugs    fail=False
 
-Connectivity Tests From Vm Instance1 In net_1
+Connectivity Tests From Vm Instance1 In net_1 With Two ODLs Down
     [Documentation]    ssh to the VM instance and test operations.
     ${dst_list} =    BuiltIn.Create List    @{NET_2_L3_VM_IPS}    @{NET_1_L3_VM_IPS}
     OpenStackOperations.Test Operations From Vm Instance    @{NETWORKS}[0]    @{NET_1_L3_VM_IPS}[0]    ${dst_list}
     [Teardown]    OpenStackOperations.Get Test Teardown Debugs    fail=False
 
-Connectivity Tests From Vm Instance2 In net_1
+Connectivity Tests From Vm Instance2 In net_1 With Two ODLs Down
     [Documentation]    ssh to the VM instance and test operations.
     ${dst_list} =    BuiltIn.Create List    @{NET_2_L3_VM_IPS}    @{NET_1_L3_VM_IPS}
     OpenStackOperations.Test Operations From Vm Instance    @{NETWORKS}[0]    @{NET_1_L3_VM_IPS}[1]    ${dst_list}
     [Teardown]    OpenStackOperations.Get Test Teardown Debugs    fail=False
 
-Connectivity Tests From Vm Instance3 In net_1
+Connectivity Tests From Vm Instance3 In net_1 With Two ODLs Down
     [Documentation]    ssh to the VM instance and test operations.
     ${dst_list} =    BuiltIn.Create List    @{NET_2_L3_VM_IPS}    @{NET_1_L3_VM_IPS}
     OpenStackOperations.Test Operations From Vm Instance    @{NETWORKS}[0]    @{NET_1_L3_VM_IPS}[2]    ${dst_list}