X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FOpenStackOperations.robot;h=5c6fd65ab83b6a62f782d405e5605b9cd3b34925;hb=c6092598a61bbc40918b6373319a2e9b6017eea6;hp=068bfb44bd6b561a727c2a5edebef8fc36f6c6e3;hpb=9d877bf3926d6e778619a463a35be25ebd59b1f8;p=integration%2Ftest.git diff --git a/csit/libraries/OpenStackOperations.robot b/csit/libraries/OpenStackOperations.robot index 068bfb44bd..5c6fd65ab8 100644 --- a/csit/libraries/OpenStackOperations.robot +++ b/csit/libraries/OpenStackOperations.robot @@ -555,6 +555,9 @@ Get Test Teardown Debugs BuiltIn.run Keyword And Ignore Error ODLTools.Get EOS ${HA_PROXY_IP} KarafKeywords.Fail If Exceptions Found During Test ${test_name} fail=${fail} +Get Suite Debugs + Get Test Teardown Debugs test_name=${SUITE_NAME} fail=False + Get Test Teardown Debugs For SFC [Arguments] ${test_name}=${TEST_NAME} BuiltIn.Run Keyword And Ignore Error DataModels.Get Model Dump ${HA_PROXY_IP} ${netvirt_sfc_data_models} @@ -1004,6 +1007,7 @@ OpenStack Suite Setup BuiltIn.Set Suite Variable @{tcpdump_port_6653_conn_ids} BuiltIn.Run Keyword If "${PRE_CLEAN_OPENSTACK_ALL}"=="True" OpenStack Cleanup All OpenStackOperations.Add OVS Logging On All OpenStack Nodes + Run_Keyword_If_At_Least_Oxygen Wait Until Keyword Succeeds 60 2 ClusterManagement.Check Status Of Services Is OPERATIONAL @{NETVIRT_DIAG_SERVICES} ClusterManagement.Dump_Local_Shards_For_Each_Member Verify Expected Default Tables On Nodes @@ -1012,6 +1016,9 @@ OpenStack Suite Teardown ... to clean up all openstack resources. For example, all instances, networks, ports, etc will be listed and ... and deleted. As other global cleanup tasks are needed, they can be added here and the suites will all ... benefit automatically. + # TODO: followup patch will add the list of vms to pass to Show Debugs + # OpenStackOperations.Show Debugs @{NET_1_VMS} @{NET_2_VMS} + OpenStackOperations.Get Suite Debugs OpenStack Cleanup All OpenStackOperations.Stop Packet Capture On Nodes ${tcpdump_port_6653_conn_ids} SSHLibrary.Close All Connections @@ -1115,7 +1122,7 @@ Verify Expected Default Tables On Nodes Verify Expected Default Tables [Arguments] ${ovs_ip} [Documentation] Verify if Default Table Entries are programmed on specific Node - ${flow_dump} = Utils.Write Commands Until Expected Prompt sudo ovs-ofctl dump-flows ${INTEGRATION_BRIDGE} -OOpenFlow13 ${DEFAULT_LINUX_PROMPT_STRICT} + ${flow_dump} = Utils.Run Command On Remote System ${ovs_ip} sudo ovs-ofctl dump-flows ${INTEGRATION_BRIDGE} -OOpenFlow13 BuiltIn.Log ${flow_dump} ${failed_table_list} = BuiltIn.Create List : FOR ${table} IN @{DEFAULT_FLOW_TABLES}