Ignore failure on trace:transactions w/ karaf cli 15/77515/1
authorJamo Luhrsen <jluhrsen@redhat.com>
Mon, 5 Nov 2018 21:09:02 +0000 (13:09 -0800)
committerJamo Luhrsen <jluhrsen@redhat.com>
Mon, 5 Nov 2018 21:09:02 +0000 (13:09 -0800)
this is part of a common test teardown keyword which is
blindly run on all ODL nodes. However, sometimes those
nodes are actually down in our 3node jobs. We don't
want to fail the test case in that instance.

Change-Id: I99e543e0aefa2d3b56487e854ef4a5dc055bc309
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
csit/libraries/OpenStackOperations.robot

index 6fdb66253b30fd7a429e3f200b7f8ae5325dd1ad..2a66bc1762adaea3ef4c96317c8bda7ddfe9d798 100644 (file)
@@ -643,7 +643,7 @@ Get Test Teardown Debugs
     BuiltIn.Run Keyword And Ignore Error    DataModels.Get Model Dump    ${HA_PROXY_IP}    ${netvirt_data_models}
     KarafKeywords.Fail If Exceptions Found During Test    ${test_name}    fail=${fail}
     : FOR    ${i}    IN RANGE    ${NUM_ODL_SYSTEM}
-    \    Issue_Command_On_Karaf_Console    trace:transactions    ${ODL_SYSTEM_${i+1}_IP}
+    \    BuiltIn.Run Keyword And Ignore Error    Issue_Command_On_Karaf_Console    trace:transactions    ${ODL_SYSTEM_${i+1}_IP}
 
 Get Suite Debugs
     Get Test Teardown Debugs    test_name=${SUITE_NAME}    fail=False