Use vm instance names for Show Debugs
[integration/test.git] / csit / suites / openstack / clustering / 02_l3_tests.robot
index b7ad7bbdffb79c291dc60c41cc5887d49b9b8bc5..88c9835d9f5d517cfd80963a32eb147712d65042 100644 (file)
@@ -2,9 +2,10 @@
 Documentation     Test suite to check connectivity in L3 using routers.
 Suite Setup       Devstack Suite Setup Tests    source_pwd=yes
 Suite Teardown    Close All Connections
-Test Teardown     Run Keywords    Show Debugs    ${NET_1_VM_IPS}
-...               AND    Show Debugs    ${NET_2_VM_IPS}
-...               AND    Get OvsDebugInfoLibrary           SSHLibrary
+Test Teardown     Run Keywords    Show Debugs    ${NET_1_VM_INSTANCES}
+...               AND    Show Debugs    ${NET_2_VM_INSTANCES}
+...               AND    Get OvsDebugInfo
+Library           SSHLibrary
 Library           OperatingSystem
 Library           RequestsLibrary
 Resource          ../../../libraries/Utils.robot
@@ -50,7 +51,6 @@ Take Down ODL1
 Create Vm Instances For l3_net_1
     [Documentation]    Create Four Vm instances using flavor and image names for a network.
     OpenStackOperations.Create Vm Instances    l3_net_1    ${NET_1_VM_INSTANCES}     sg=csit
-    [Teardown]    OpenStackOperations.Show Debugs    ${NET_1_VM_INSTANCES}
 
 Bring Up ODL1
     [Documentation]    Bring up ODL1 again
@@ -63,7 +63,6 @@ Take Down ODL2
 Create Vm Instances For l3_net_2
     [Documentation]    Create Four Vm instances using flavor and image names for a network.
     OpenStackOperations.Create Vm Instances    l3_net_2    ${NET_2_VM_INSTANCES}     sg=csit
-    [Teardown]    Show Debugs    ${NET_2_VM_INSTANCES}
 
 Bring Up ODL2
     [Documentation]    Bring up ODL2 again
@@ -76,6 +75,7 @@ Take Down ODL3
 Create Router router_2
     [Documentation]    Create Router and Add Interface to the subnets. this fails sometimes.
     OpenStackOperations.Create Router    router_2
+    [Teardown]    Report_Failure_Due_To_Bug     6117
 
 Create Router router_3
     [Documentation]    Create Router and Add Interface to the subnets.