<?xml version="1.0" encoding="UTF-8"?>
<robot generator="Robot 7.4.2 (Python 3.11.10 on linux)" generated="2026-04-07T08:51:30.646040" rpa="false" schemaversion="5">
<suite id="s1" name="bgpcep-bgp-ingest.txt">
<suite id="s1-s1" name="Singlepeer Pc Shm 300Kroutes" source="/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/suites/bgpcep/bgpclustering/singlepeer_pc_shm_300kroutes.robot">
<kw name="Setup_Everything" owner="PrefixcountKeywords" type="SETUP">
<kw name="Setup_Utils_For_Setup_And_Teardown" owner="SetupUtils">
<kw name="Do_Not_Fail_Fast_From_Now_On" owner="FailFast">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.344559" level="INFO">${SuiteFastFail} = False</msg>
<arg>${SuiteFastFail}</arg>
<arg>False</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.339829" elapsed="0.004797"/>
</kw>
<doc>Set suite to not fail fast.</doc>
<status status="PASS" start="2026-04-07T08:51:31.339300" elapsed="0.005409"/>
</kw>
<kw name="Setup_Karaf_Keywords" owner="KarafKeywords">
<kw name="ClusterManagement_Setup" owner="ClusterManagement">
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.350508" level="INFO">${already_done} = False</msg>
<var>${already_done}</var>
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>False</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-07T08:51:31.346223" elapsed="0.004318"/>
</kw>
<if>
<branch type="IF" condition="${already_done}">
<return>
<status status="NOT RUN" start="2026-04-07T08:51:31.350791" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:31.350651" elapsed="0.000194"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:31.350619" elapsed="0.000251"/>
</if>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.351457" level="INFO">${ClusterManagement__has_setup_run} = True</msg>
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.351060" elapsed="0.000444"/>
</kw>
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.352077" level="INFO">${cluster_size} = 0</msg>
<var>${cluster_size}</var>
<arg>\${NUM_ODL_SYSTEM}</arg>
<arg>1</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-07T08:51:31.351696" elapsed="0.000412"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Convert To Integer" owner="BuiltIn">
<arg>${cluster_size}</arg>
<doc>Converts the given item to an integer number.</doc>
<status status="PASS" start="2026-04-07T08:51:31.352730" elapsed="0.000301"/>
</kw>
<msg time="2026-04-07T08:51:31.353141" level="INFO">${status} = PASS</msg>
<msg time="2026-04-07T08:51:31.353192" level="INFO">${possibly_int_of_members} = 0</msg>
<var>${status}</var>
<var>${possibly_int_of_members}</var>
<arg>BuiltIn.Convert_To_Integer</arg>
<arg>${cluster_size}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:51:31.352305" elapsed="0.000911"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.353818" level="INFO">${int_of_members} = 0</msg>
<var>${int_of_members}</var>
<arg>'${status}' != 'PASS'</arg>
<arg>${1}</arg>
<arg>${possibly_int_of_members}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:31.353408" elapsed="0.000439"/>
</kw>
<kw name="ClusterManagement__Compute_Derived_Variables" owner="ClusterManagement">
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.355764" level="INFO">@{member_index_list} = [ ]</msg>
<var>@{member_index_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:31.355331" elapsed="0.000464"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.356253" level="INFO">@{session_list} = [ ]</msg>
<var>@{session_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:31.355982" elapsed="0.000298"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.356826" level="INFO">&amp;{index_to_ip_mapping} = { }</msg>
<var>&amp;{index_to_ip_mapping}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:51:31.356457" elapsed="0.000399"/>
</kw>
<for flavor="IN RANGE">
<iter>
<kw name="ClusterManagement__Include_Member_Index" owner="ClusterManagement">
<arg>${index}</arg>
<arg>${member_index_list}</arg>
<arg>${session_list}</arg>
<arg>${index_to_ip_mapping}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>http_retries=${http_retries}</arg>
<doc>Add a corresponding item based on index into the last three arguments.
Create the Http session whose alias is added to list.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.359654" elapsed="0.000026"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:31.359437" elapsed="0.000307"/>
</iter>
<var>${index}</var>
<value>1</value>
<value>${int_of_members+1}</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.356916" elapsed="0.002860"/>
</for>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.360393" level="INFO">${ClusterManagement__member_index_list} = []</msg>
<arg>\${ClusterManagement__member_index_list}</arg>
<arg>${member_index_list}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.359973" elapsed="0.000465"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.361053" level="INFO">${ClusterManagement__index_to_ip_mapping} = {}</msg>
<arg>\${ClusterManagement__index_to_ip_mapping}</arg>
<arg>${index_to_ip_mapping}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.360622" elapsed="0.000475"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.361676" level="INFO">${ClusterManagement__session_list} = []</msg>
<arg>\${ClusterManagement__session_list}</arg>
<arg>${session_list}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.361279" elapsed="0.000455"/>
</kw>
<arg>int_of_members=${int_of_members}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>http_retries=${http_retries}</arg>
<doc>Construct index list, session list and IP mapping, publish them as suite variables.</doc>
<status status="PASS" start="2026-04-07T08:51:31.354828" elapsed="0.006970"/>
</kw>
<arg>http_timeout=${http_timeout}</arg>
<doc>Detect repeated call, or detect number of members and initialize derived suite variables.
Http sessions are created with parameters to not waste time when ODL is no accepting connections properly.</doc>
<status status="PASS" start="2026-04-07T08:51:31.345808" elapsed="0.016049"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.362046" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:31.361928" elapsed="0.000166"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:31.361907" elapsed="0.000210"/>
</if>
<kw name="Run_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.365533" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:31.365142" elapsed="0.000419"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.366115" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:31.365812" elapsed="0.000334"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:31.366194" elapsed="0.000042"/>
</return>
<msg time="2026-04-07T08:51:31.366370" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:31.364779" elapsed="0.001616"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<doc>Obtain IP, call Utils and return output. This keeps previous ssh session active.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.366788" elapsed="0.000025"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:31.366570" elapsed="0.000280"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.366450" elapsed="0.000428"/>
</for>
<arg>iptables -I INPUT -p tcp --dport ${KARAF_SHELL_PORT} -j ACCEPT; iptables-save</arg>
<doc>Cycle through indices (or all), run command on each.</doc>
<status status="PASS" start="2026-04-07T08:51:31.362376" elapsed="0.004558"/>
</kw>
<kw name="Comment" owner="BuiltIn">
<arg>First connections to Karaf console may fail, so WUKS is used. TODO: Track as a Bug.</arg>
<doc>Displays the given messages in the log file as keyword arguments.</doc>
<status status="PASS" start="2026-04-07T08:51:31.367105" elapsed="0.000216"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<arg>BuiltIn.Wait_Until_Keyword_Succeeds</arg>
<arg>3s</arg>
<arg>1s</arg>
<arg>Open_Controller_Karaf_Console_On_Background</arg>
<arg>member_index=${index}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.367658" elapsed="0.000022"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:31.367500" elapsed="0.000239"/>
</iter>
<var>${index}</var>
<value>@{ClusterManagement__member_index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.367373" elapsed="0.000395"/>
</for>
<arg>http_timeout=${http_timeout}</arg>
<doc>Initialize ClusterManagement. Open ssh karaf connections to each ODL.</doc>
<status status="PASS" start="2026-04-07T08:51:31.345129" elapsed="0.022707"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Test_Suite_Start_To_Controller_Karaf" owner="KarafKeywords">
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.370689" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:31.370574" elapsed="0.000178"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:31.370553" elapsed="0.000228"/>
</if>
<kw name="Log_Message_To_Controller_Karaf" owner="KarafKeywords">
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.376222" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:31.376110" elapsed="0.000160"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:31.376090" elapsed="0.000205"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.377282" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:31.376896" elapsed="0.000412"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.377794" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:31.377486" elapsed="0.000333"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:31.377865" elapsed="0.000031"/>
</return>
<msg time="2026-04-07T08:51:31.378022" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:31.376536" elapsed="0.001510"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<var>${status}</var>
<var>${output}</var>
<arg>Execute_Controller_Karaf_Command_With_Retry_On_Background</arg>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.378418" elapsed="0.000022"/>
</kw>
<if>
<branch type="IF" condition="not ${tolerate_failure} and &quot;${status}&quot; != &quot;PASS&quot;">
<kw name="Fail" owner="BuiltIn">
<arg>${output}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.378681" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:51:31.378519" elapsed="0.000231"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:51:31.378501" elapsed="0.000274"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:31.378257" elapsed="0.000542"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.378099" elapsed="0.000726"/>
</for>
<arg>Starting suite ${SUITE_SOURCE}</arg>
<arg>${member_index_list}</arg>
<doc>Make sure this resource is initialized. Send a message into the controller's karaf log file on every node listed (or all).
By default, failure while processing a node is silently ignored, unless ${tolerate_failure} is False.</doc>
<status status="PASS" start="2026-04-07T08:51:31.375794" elapsed="0.003086"/>
</kw>
<doc>Log suite name to karaf log, useful in suite setup.</doc>
<status status="PASS" start="2026-04-07T08:51:31.368453" elapsed="0.010482"/>
</kw>
<arg>KarafKeywords.Log_Test_Suite_Start_To_Controller_Karaf</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:51:31.368011" elapsed="0.010965"/>
</kw>
<arg>http_timeout=125</arg>
<doc>Prepare both FailFast and Karaf logging, log that the caller suite has started.
This keyword is to be used in suite setup, and without it the other keywords may not work properly.</doc>
<status status="PASS" start="2026-04-07T08:51:31.338900" elapsed="0.040124"/>
</kw>
<kw name="PC_Setup" owner="PrefixCounting">
<kw name="WU_Setup" owner="WaitUtils">
<kw name="SC_Setup" owner="ScalarClosures">
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:51:31.380240" elapsed="0.000032"/>
</return>
<msg time="2026-04-07T08:51:31.380454" level="INFO">${sc_fail} = ['BuiltIn.Fail', [], {}]</msg>
<var>${sc_fail}</var>
<arg>BuiltIn.Fail</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:51:31.380061" elapsed="0.000452"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.385637" level="INFO">${ScalarClosures__fail} = ['BuiltIn.Fail', [], {}]</msg>
<arg>${ScalarClosures__fail}</arg>
<arg>${sc_fail}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.380703" elapsed="0.004980"/>
</kw>
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:51:31.386102" elapsed="0.000032"/>
</return>
<msg time="2026-04-07T08:51:31.386316" level="INFO">${sc_identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<var>${sc_identity}</var>
<arg>BuiltIn.Set_Variable</arg>
<arg>placeholder</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:51:31.385912" elapsed="0.000429"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.391289" level="INFO">${ScalarClosures__identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<arg>${ScalarClosures__identity}</arg>
<arg>${sc_identity}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.386528" elapsed="0.004807"/>
</kw>
<doc>Resource setup. Create closures and assign them to suite variables.</doc>
<status status="PASS" start="2026-04-07T08:51:31.379806" elapsed="0.011587"/>
</kw>
<doc>Call dependency setup. Perhaps needed.</doc>
<status status="PASS" start="2026-04-07T08:51:31.379498" elapsed="0.011941"/>
</kw>
<doc>Call dependency setups and construct suite variables.</doc>
<status status="PASS" start="2026-04-07T08:51:31.379234" elapsed="0.012249"/>
</kw>
<kw name="List_All_Indices" owner="ClusterManagement">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.395172" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:31.394778" elapsed="0.000421"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.395668" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:31.395378" elapsed="0.000315"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:31.395754" elapsed="0.000032"/>
</return>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:31.392370" elapsed="0.003533"/>
</kw>
<msg time="2026-04-07T08:51:31.395943" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>List_Indices_Or_All</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:31.391958" elapsed="0.004037"/>
</kw>
<msg time="2026-04-07T08:51:31.396090" level="INFO">${indices} = []</msg>
<var>${indices}</var>
<doc>Create a new list of all indices.</doc>
<status status="PASS" start="2026-04-07T08:51:31.391696" elapsed="0.004419"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Resolve_Http_Session_For_Member" owner="ClusterManagement">
<var>${session}</var>
<arg>${member_index}</arg>
<doc>Return RequestsLibrary session alias pointing to node of given index.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.396499" elapsed="0.000024"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${operational_${member_index}}</arg>
<arg>${session}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.396698" elapsed="0.000035"/>
</kw>
<var name="${member_index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:31.396292" elapsed="0.000477"/>
</iter>
<var>${member_index}</var>
<value>@{indices}</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.396162" elapsed="0.000634"/>
</for>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.401731" level="INFO">${pc_all_indices} = []</msg>
<arg>${pc_all_indices}</arg>
<arg>${indices}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.396965" elapsed="0.004813"/>
</kw>
<kw name="Set Default Configuration" owner="SSHLibrary">
<arg>prompt=${TOOLS_SYSTEM_PROMPT}</arg>
<doc>Update the default `configuration`.</doc>
<status status="PASS" start="2026-04-07T08:51:31.402035" elapsed="0.000181"/>
</kw>
<kw name="Open Connection" owner="SSHLibrary">
<arg>${TOOLS_SYSTEM_IP}</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="PASS" start="2026-04-07T08:51:31.402395" elapsed="0.000216"/>
</kw>
<kw name="Flexible_Mininet_Login" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Flexible_SSH_Login" owner="SSHKeywords">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.404485" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:51:31.404566" level="INFO">${pwd_length} = 0</msg>
<var>${pwd_length}</var>
<arg>${password}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:51:31.404084" elapsed="0.000507"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${pwd_length} &gt; 0</arg>
<arg>SSHLibrary.Login</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:31.404782" elapsed="0.000323"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.406026" level="INFO">Logging into ':22' as 'jenkins'.</msg>
<msg time="2026-04-07T08:51:31.406619" level="FAIL">OSError: [Errno 16] Device or resource busy</msg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Logs into the SSH server using key-based authentication.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.405676" elapsed="0.003883">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:51:31.409623" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>SSHLibrary.Login With Public Key</arg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.405292" elapsed="0.004385"/>
</kw>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>On active SSH session: if given non-empty password, do Login, else do Login With Public Key.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.403599" elapsed="0.006210">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:51:31.409858" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Flexible SSH Login</arg>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.403191" elapsed="0.006713"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Mininet machine.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.402841" elapsed="0.007198">OSError: [Errno 16] Device or resource busy</status>
</kw>
<kw name="Put File" owner="SSHLibrary">
<arg>/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/suites/bgpcep/bgpclustering/../../../../tools/fastbgp/play.py</arg>
<doc>Uploads file(s) from the local machine to the remote machine.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.410228" elapsed="0.000022"/>
</kw>
<kw name="Require_Python" owner="SSHKeywords">
<doc>Verify current SSH connection leads to machine with python working. Fatal fail otherwise.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.410517" elapsed="0.000024"/>
</kw>
<kw name="Assure_Library_Ipaddr" owner="SSHKeywords">
<arg>target_dir=.</arg>
<doc>Tests whether ipaddr module is present on ssh-connected machine, Puts ipaddr.py to target_dir if not.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.410829" elapsed="0.000025"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${timeout}</var>
<arg>${TEST_DURATION_MULTIPLIER} * (${COUNT} * 6.0 / 10000 + 35)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.411028" elapsed="0.000021"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${bgp_filling_timeout}</arg>
<arg>${timeout}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.411223" elapsed="0.000021"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${bgp_emptying_timeout}</arg>
<arg>${bgp_filling_timeout*3.0/4}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.411415" elapsed="0.000020"/>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<arg>log:set ${KARAF_LOG_LEVEL}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.412029" elapsed="0.000026"/>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<var>${init_shard_details}</var>
<arg>${SHARD_MONITOR_LIST}</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.419569" elapsed="0.000027"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${init_shard_details}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.419825" elapsed="0.000024"/>
</kw>
<doc>Setup imported resources, SSH-login to tools system,
create HTTP session, put Python tool to tools system.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.338479" elapsed="0.081464">OSError: [Errno 16] Device or resource busy</status>
</kw>
<test id="s1-s1-t1" name="Get Example Bgp Rib Owner" line="44">
<doc>Find an odl node which is able to accept incomming connection. It is a node, which is the owner of bgp rib, as it is a singleton service.
This node should be used for bgp peer to connect to.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.420015" elapsed="0.000744">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s1-t2" name="Check_For_Empty_Ipv4_Topology_Before_Talking" line="56">
<doc>Wait for example-ipv4-topology to come up and empty. Give large timeout for case when BGP boots slower than restconf.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.421000" elapsed="0.000515">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s1-t3" name="Reconfigure_ODL_To_Accept_Connection" line="69">
<doc>Configure BGP peer module with initiate-connection set to false.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.421690" elapsed="0.000413">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s1-t4" name="Start_Talking_BGP_Speaker" line="88">
<doc>Start Python speaker to connect to ODL.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.422273" elapsed="0.000327">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s1-t5" name="Wait_For_Stable_Talking_Ipv4_Topology" line="92">
<doc>Wait until example-ipv4-topology becomes stable. This is done by checking stability of prefix count as seen from all nodes.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.422828" elapsed="0.000497">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s1-t6" name="Check_Talking_Ipv4_Topology_Count" line="106">
<doc>Count the routes in example-ipv4-topology and fail if the count is not correct as seen from node 1.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.423532" elapsed="0.000507">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s1-t7" name="Kill_Talking_BGP_Speaker" line="117">
<doc>Abort the Python speaker. Also, attempt to stop failing fast.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.424214" elapsed="0.000370">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s1-t8" name="Wait_For_Stable_Ipv4_Topology_After_Listening" line="124">
<doc>Wait until example-ipv4-topology becomes stable again as seen from node 1.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.424819" elapsed="0.000444">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s1-t9" name="Check_For_Empty_Ipv4_Topology_After_Listening" line="137">
<doc>Example-ipv4-topology should be empty now as seen from node 1.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.425439" elapsed="0.000437">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s1-t10" name="Delete_Bgp_Peer_Configuration" line="147">
<doc>Revert the BGP configuration to the original state: without any configured peers.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.426040" elapsed="0.000397">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<kw name="Teardown_Everything" owner="PrefixcountKeywords" type="TEARDOWN">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Search_And_Kill_Remote_Python" owner="KillPythonTool">
<kw name="Search_For_Remote_Python_Processes" owner="KillPythonTool">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.428642" level="INFO">Executing command 'ps -elf | egrep python | egrep 'play.py' | egrep -v grep'.</msg>
<msg time="2026-04-07T08:51:31.428792" level="INFO">${processes} = None</msg>
<msg time="2026-04-07T08:51:31.428837" level="FAIL">Connection not open</msg>
<var>${processes}</var>
<arg>ps -elf | egrep python | egrep ${filter} | egrep -v grep</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.428501" elapsed="0.000676">Connection not open</status>
</kw>
<return>
<value>${processes}</value>
<status status="PASS" start="2026-04-07T08:51:31.429240" elapsed="0.000033"/>
</return>
<msg time="2026-04-07T08:51:31.429452" level="INFO">${processes} = None</msg>
<var>${processes}</var>
<arg>${filter}</arg>
<doc>Only searches for the list of processes, in case something else than kill has to be done with them.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.428211" elapsed="0.001269">Connection not open</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.429979" level="INFO">None</msg>
<arg>${processes}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:51:31.429669" elapsed="0.000358"/>
</kw>
<kw name="Kill_Remote_Processes" owner="KillPythonTool">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.430977" level="INFO">${arg_length} = None</msg>
<msg time="2026-04-07T08:51:31.431023" level="FAIL">Could not get length of 'None'.</msg>
<var>${arg_length}</var>
<arg>${pself_lines}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.430604" elapsed="0.000572">Could not get length of 'None'.</status>
</kw>
<if>
<branch type="IF" condition="${arg_length} == 0">
<return>
<status status="NOT RUN" start="2026-04-07T08:51:31.431386" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:31.431267" elapsed="0.000161"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:31.431245" elapsed="0.000207"/>
</if>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.431826" level="INFO">Executing command 'echo 'None' | awk '{print "kill -9",$4}''.</msg>
<msg time="2026-04-07T08:51:31.431947" level="INFO">${commands} = None</msg>
<msg time="2026-04-07T08:51:31.431993" level="FAIL">Connection not open</msg>
<var>${commands}</var>
<arg>echo '${pself_lines}' | awk '{print "kill -${signal}",$4}'</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.431618" elapsed="0.000694">Connection not open</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.432773" level="INFO">None</msg>
<arg>${commands}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:51:31.432503" elapsed="0.000316"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.433169" level="INFO">Executing command 'echo 'set -exu; None' | sudo sh'.</msg>
<msg time="2026-04-07T08:51:31.433299" level="INFO">${stdout} = None</msg>
<msg time="2026-04-07T08:51:31.433344" level="INFO">${stderr} = None</msg>
<msg time="2026-04-07T08:51:31.433383" level="FAIL">Connection not open</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<arg>echo 'set -exu; ${commands}' | sudo sh</arg>
<arg>return_stderr=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.432995" elapsed="0.000675">Connection not open</status>
</kw>
<arg>${processes}</arg>
<doc>Kill processes by PIDs from given list (no-op if the list is empty), using specified signal. Log the kill commands used.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.430287" elapsed="0.003558">Several failures occurred:

1) Could not get length of 'None'.

2) Connection not open

3) Connection not open</status>
</kw>
<arg>'play\.py'</arg>
<doc>The main keyword. Search for processes, Log the list of them, kill them.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.427747" elapsed="0.006219">Several failures occurred:

1) Connection not open

2) Could not get length of 'None'.

3) Connection not open

4) Connection not open</status>
</kw>
<arg>KillPythonTool.Search_And_Kill_Remote_Python</arg>
<arg>'play\.py'</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:51:31.427303" elapsed="0.006719"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary">
<msg time="2026-04-07T08:51:31.434345" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects</doc>
<status status="PASS" start="2026-04-07T08:51:31.434261" elapsed="0.000138"/>
</kw>
<kw name="Close All Connections" owner="SSHLibrary">
<doc>Closes all open connections.</doc>
<status status="PASS" start="2026-04-07T08:51:31.434561" elapsed="0.000102"/>
</kw>
<doc>Make sure Python tool was killed and tear down imported Resources.</doc>
<status status="PASS" start="2026-04-07T08:51:31.427044" elapsed="0.007684"/>
</kw>
<doc>BGP performance of ingesting from 1 iBGP peer, data change counter is NOT used.

Copyright (c) 2015-2017 Cisco Systems, Inc. and others. All rights reserved.

This program and the accompanying materials are made available under the
terms of the Eclipse Public License v1.0 which accompanies this distribution,
and is available at http://www.eclipse.org/legal/epl-v10.html

This suite uses play.py as single iBGP peer which talks to
single controller in three node cluster configuration.
Test suite checks changes of the the example-ipv4-topology on all nodes.
RIB is not examined.

singlepeer_pc_shm_300kroutes:
pc - prefix counting
shm - shard monitoring (during the process of prefix advertizing)</doc>
<status status="FAIL" start="2026-04-07T08:51:30.687075" elapsed="0.747686">Suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</suite>
<suite id="s1-s2" name="Singlepeer Prefixcount" source="/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/suites/bgpcep/bgpingest/singlepeer_prefixcount.robot">
<kw name="Setup_Everything" type="SETUP">
<kw name="Setup_Utils_For_Setup_And_Teardown" owner="SetupUtils">
<kw name="Do_Not_Fail_Fast_From_Now_On" owner="FailFast">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.519249" level="INFO">${SuiteFastFail} = False</msg>
<arg>${SuiteFastFail}</arg>
<arg>False</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.514987" elapsed="0.004316"/>
</kw>
<doc>Set suite to not fail fast.</doc>
<status status="PASS" start="2026-04-07T08:51:31.514748" elapsed="0.004625"/>
</kw>
<kw name="Setup_Karaf_Keywords" owner="KarafKeywords">
<kw name="ClusterManagement_Setup" owner="ClusterManagement">
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.524410" level="INFO">${already_done} = False</msg>
<var>${already_done}</var>
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>False</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-07T08:51:31.520520" elapsed="0.003917"/>
</kw>
<if>
<branch type="IF" condition="${already_done}">
<return>
<status status="NOT RUN" start="2026-04-07T08:51:31.524656" elapsed="0.000018"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:31.524526" elapsed="0.000178"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:31.524500" elapsed="0.000244"/>
</if>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.525260" level="INFO">${ClusterManagement__has_setup_run} = True</msg>
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.524906" elapsed="0.000397"/>
</kw>
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.525795" level="INFO">${cluster_size} = 0</msg>
<var>${cluster_size}</var>
<arg>\${NUM_ODL_SYSTEM}</arg>
<arg>1</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-07T08:51:31.525469" elapsed="0.000352"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Convert To Integer" owner="BuiltIn">
<arg>${cluster_size}</arg>
<doc>Converts the given item to an integer number.</doc>
<status status="PASS" start="2026-04-07T08:51:31.526339" elapsed="0.000294"/>
</kw>
<msg time="2026-04-07T08:51:31.526754" level="INFO">${status} = PASS</msg>
<msg time="2026-04-07T08:51:31.526803" level="INFO">${possibly_int_of_members} = 0</msg>
<var>${status}</var>
<var>${possibly_int_of_members}</var>
<arg>BuiltIn.Convert_To_Integer</arg>
<arg>${cluster_size}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:51:31.525989" elapsed="0.000836"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.527459" level="INFO">${int_of_members} = 0</msg>
<var>${int_of_members}</var>
<arg>'${status}' != 'PASS'</arg>
<arg>${1}</arg>
<arg>${possibly_int_of_members}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:31.527008" elapsed="0.000477"/>
</kw>
<kw name="ClusterManagement__Compute_Derived_Variables" owner="ClusterManagement">
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.528526" level="INFO">@{member_index_list} = [ ]</msg>
<var>@{member_index_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:31.528257" elapsed="0.000295"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.528982" level="INFO">@{session_list} = [ ]</msg>
<var>@{session_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:31.528705" elapsed="0.000303"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.529467" level="INFO">&amp;{index_to_ip_mapping} = { }</msg>
<var>&amp;{index_to_ip_mapping}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:51:31.529172" elapsed="0.000322"/>
</kw>
<for flavor="IN RANGE">
<iter>
<kw name="ClusterManagement__Include_Member_Index" owner="ClusterManagement">
<arg>${index}</arg>
<arg>${member_index_list}</arg>
<arg>${session_list}</arg>
<arg>${index_to_ip_mapping}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>http_retries=${http_retries}</arg>
<doc>Add a corresponding item based on index into the last three arguments.
Create the Http session whose alias is added to list.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.532148" elapsed="0.000024"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:31.531945" elapsed="0.000275"/>
</iter>
<var>${index}</var>
<value>1</value>
<value>${int_of_members+1}</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.529555" elapsed="0.002695"/>
</for>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.532839" level="INFO">${ClusterManagement__member_index_list} = []</msg>
<arg>\${ClusterManagement__member_index_list}</arg>
<arg>${member_index_list}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.532422" elapsed="0.000462"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.533452" level="INFO">${ClusterManagement__index_to_ip_mapping} = {}</msg>
<arg>\${ClusterManagement__index_to_ip_mapping}</arg>
<arg>${index_to_ip_mapping}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.533050" elapsed="0.000444"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.534057" level="INFO">${ClusterManagement__session_list} = []</msg>
<arg>\${ClusterManagement__session_list}</arg>
<arg>${session_list}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.533658" elapsed="0.000441"/>
</kw>
<arg>int_of_members=${int_of_members}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>http_retries=${http_retries}</arg>
<doc>Construct index list, session list and IP mapping, publish them as suite variables.</doc>
<status status="PASS" start="2026-04-07T08:51:31.527794" elapsed="0.006363"/>
</kw>
<arg>http_timeout=${http_timeout}</arg>
<doc>Detect repeated call, or detect number of members and initialize derived suite variables.
Http sessions are created with parameters to not waste time when ODL is no accepting connections properly.</doc>
<status status="PASS" start="2026-04-07T08:51:31.520175" elapsed="0.014037"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.534403" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:31.534284" elapsed="0.000165"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:31.534261" elapsed="0.000211"/>
</if>
<kw name="Run_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.537604" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:31.537223" elapsed="0.000407"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.538098" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:31.537809" elapsed="0.000315"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:31.538169" elapsed="0.000038"/>
</return>
<msg time="2026-04-07T08:51:31.538378" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:31.536890" elapsed="0.001512"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<doc>Obtain IP, call Utils and return output. This keeps previous ssh session active.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.538814" elapsed="0.000025"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:31.538598" elapsed="0.000278"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.538458" elapsed="0.000444"/>
</for>
<arg>iptables -I INPUT -p tcp --dport ${KARAF_SHELL_PORT} -j ACCEPT; iptables-save</arg>
<doc>Cycle through indices (or all), run command on each.</doc>
<status status="PASS" start="2026-04-07T08:51:31.534698" elapsed="0.004257"/>
</kw>
<kw name="Comment" owner="BuiltIn">
<arg>First connections to Karaf console may fail, so WUKS is used. TODO: Track as a Bug.</arg>
<doc>Displays the given messages in the log file as keyword arguments.</doc>
<status status="PASS" start="2026-04-07T08:51:31.539121" elapsed="0.000212"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<arg>BuiltIn.Wait_Until_Keyword_Succeeds</arg>
<arg>3s</arg>
<arg>1s</arg>
<arg>Open_Controller_Karaf_Console_On_Background</arg>
<arg>member_index=${index}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.539661" elapsed="0.000026"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:31.539516" elapsed="0.000229"/>
</iter>
<var>${index}</var>
<value>@{ClusterManagement__member_index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.539389" elapsed="0.000414"/>
</for>
<arg>http_timeout=${http_timeout}</arg>
<doc>Initialize ClusterManagement. Open ssh karaf connections to each ODL.</doc>
<status status="PASS" start="2026-04-07T08:51:31.519673" elapsed="0.020187"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Test_Suite_Start_To_Controller_Karaf" owner="KarafKeywords">
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.542526" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:31.542413" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:31.542394" elapsed="0.000262"/>
</if>
<kw name="Log_Message_To_Controller_Karaf" owner="KarafKeywords">
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.547377" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:31.547260" elapsed="0.000163"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:31.547240" elapsed="0.000205"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.548459" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:31.548048" elapsed="0.000438"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.548961" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:31.548651" elapsed="0.000336"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:31.549033" elapsed="0.000036"/>
</return>
<msg time="2026-04-07T08:51:31.549196" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:31.547676" elapsed="0.001546"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<var>${status}</var>
<var>${output}</var>
<arg>Execute_Controller_Karaf_Command_With_Retry_On_Background</arg>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.549583" elapsed="0.000022"/>
</kw>
<if>
<branch type="IF" condition="not ${tolerate_failure} and &quot;${status}&quot; != &quot;PASS&quot;">
<kw name="Fail" owner="BuiltIn">
<arg>${output}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.549850" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:51:31.549682" elapsed="0.000221"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:51:31.549664" elapsed="0.000263"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:31.549433" elapsed="0.000517"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.549276" elapsed="0.000700"/>
</for>
<arg>Starting suite ${SUITE_SOURCE}</arg>
<arg>${member_index_list}</arg>
<doc>Make sure this resource is initialized. Send a message into the controller's karaf log file on every node listed (or all).
By default, failure while processing a node is silently ignored, unless ${tolerate_failure} is False.</doc>
<status status="PASS" start="2026-04-07T08:51:31.546965" elapsed="0.003065"/>
</kw>
<doc>Log suite name to karaf log, useful in suite setup.</doc>
<status status="PASS" start="2026-04-07T08:51:31.540451" elapsed="0.009632"/>
</kw>
<arg>KarafKeywords.Log_Test_Suite_Start_To_Controller_Karaf</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:51:31.540023" elapsed="0.010101"/>
</kw>
<doc>Prepare both FailFast and Karaf logging, log that the caller suite has started.
This keyword is to be used in suite setup, and without it the other keywords may not work properly.</doc>
<status status="PASS" start="2026-04-07T08:51:31.514402" elapsed="0.035771"/>
</kw>
<kw name="Create_Default_Session" owner="TemplatedRequests">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-07T08:51:31.554661" level="INFO">Creating Session using : alias=default, url=http://:8181, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7494bfc59d50&gt;, timeout=5, proxies=None, verify=False,                     debug=0 </msg>
<arg>default</arg>
<arg>url=${url}</arg>
<arg>auth=${auth}</arg>
<arg>timeout=${timeout}</arg>
<arg>max_retries=${max_retries}</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-04-07T08:51:31.554239" elapsed="0.000620"/>
</kw>
<doc>Create "default" session to ${url} with authentication and connection parameters.
This Keyword is in this Resource only so that user do not need to call RequestsLibrary directly.</doc>
<status status="PASS" start="2026-04-07T08:51:31.553814" elapsed="0.001117"/>
</kw>
<kw name="PC_Setup" owner="PrefixCounting">
<kw name="WU_Setup" owner="WaitUtils">
<kw name="SC_Setup" owner="ScalarClosures">
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:51:31.556103" elapsed="0.000034"/>
</return>
<msg time="2026-04-07T08:51:31.556319" level="INFO">${sc_fail} = ['BuiltIn.Fail', [], {}]</msg>
<var>${sc_fail}</var>
<arg>BuiltIn.Fail</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:51:31.555922" elapsed="0.000422"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.560879" level="INFO">${ScalarClosures__fail} = ['BuiltIn.Fail', [], {}]</msg>
<arg>${ScalarClosures__fail}</arg>
<arg>${sc_fail}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.556519" elapsed="0.004406"/>
</kw>
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:51:31.561311" elapsed="0.000030"/>
</return>
<msg time="2026-04-07T08:51:31.561521" level="INFO">${sc_identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<var>${sc_identity}</var>
<arg>BuiltIn.Set_Variable</arg>
<arg>placeholder</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:51:31.561116" elapsed="0.000430"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.566047" level="INFO">${ScalarClosures__identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<arg>${ScalarClosures__identity}</arg>
<arg>${sc_identity}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.561734" elapsed="0.004359"/>
</kw>
<doc>Resource setup. Create closures and assign them to suite variables.</doc>
<status status="PASS" start="2026-04-07T08:51:31.555648" elapsed="0.010503"/>
</kw>
<doc>Call dependency setup. Perhaps needed.</doc>
<status status="PASS" start="2026-04-07T08:51:31.555381" elapsed="0.010815"/>
</kw>
<doc>Call dependency setups and construct suite variables.</doc>
<status status="PASS" start="2026-04-07T08:51:31.555128" elapsed="0.011112"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-07T08:51:31.566738" level="INFO">Creating Session using : alias=operational, url=http://:8181, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7494bfc4ba50&gt;, timeout=125, proxies=None, verify=False,                     debug=0 </msg>
<arg>operational</arg>
<arg>http://${ODL_SYSTEM_IP}:${RESTCONFPORT}</arg>
<arg>auth=${AUTH}</arg>
<arg>timeout=125</arg>
<arg>max_retries=0</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-04-07T08:51:31.566392" elapsed="0.000464"/>
</kw>
<kw name="Set Default Configuration" owner="SSHLibrary">
<arg>prompt=${TOOLS_SYSTEM_PROMPT}</arg>
<doc>Update the default `configuration`.</doc>
<status status="PASS" start="2026-04-07T08:51:31.567089" elapsed="0.000187"/>
</kw>
<kw name="Open Connection" owner="SSHLibrary">
<arg>${TOOLS_SYSTEM_IP}</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="PASS" start="2026-04-07T08:51:31.567437" elapsed="0.000222"/>
</kw>
<kw name="Flexible_Mininet_Login" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Flexible_SSH_Login" owner="SSHKeywords">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.569388" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:51:31.569465" level="INFO">${pwd_length} = 0</msg>
<var>${pwd_length}</var>
<arg>${password}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:51:31.569108" elapsed="0.000380"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${pwd_length} &gt; 0</arg>
<arg>SSHLibrary.Login</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:31.569652" elapsed="0.000352"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.570879" level="INFO">Logging into ':22' as 'jenkins'.</msg>
<msg time="2026-04-07T08:51:31.571218" level="FAIL">OSError: [Errno 16] Device or resource busy</msg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Logs into the SSH server using key-based authentication.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.570537" elapsed="0.002544">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:51:31.573142" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>SSHLibrary.Login With Public Key</arg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.570178" elapsed="0.003014"/>
</kw>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>On active SSH session: if given non-empty password, do Login, else do Login With Public Key.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.568644" elapsed="0.004657">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:51:31.573350" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Flexible SSH Login</arg>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.568236" elapsed="0.005156"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Mininet machine.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.567890" elapsed="0.005595">OSError: [Errno 16] Device or resource busy</status>
</kw>
<kw name="Require_Python" owner="SSHKeywords">
<doc>Verify current SSH connection leads to machine with python working. Fatal fail otherwise.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.573768" elapsed="0.000027"/>
</kw>
<kw name="Assure_Library_Ipaddr" owner="SSHKeywords">
<arg>target_dir=.</arg>
<doc>Tests whether ipaddr module is present on ssh-connected machine, Puts ipaddr.py to target_dir if not.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.574036" elapsed="0.000024"/>
</kw>
<kw name="Put File" owner="SSHLibrary">
<arg>/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/suites/bgpcep/bgpingest/../../../../tools/fastbgp/play.py</arg>
<doc>Uploads file(s) from the local machine to the remote machine.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.574217" elapsed="0.000021"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${timeout}</var>
<arg>${TEST_DURATION_MULTIPLIER_PREFIX_COUNT_SINGLE} * (${COUNT_PREFIX_COUNT_SINGLE} * 9.0 / 10000 + 20)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.574390" elapsed="0.000020"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${bgp_filling_timeout}</arg>
<arg>${timeout}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.574571" elapsed="0.000020"/>
</kw>
<doc>Setup imported resources, SSH-login to tools system,
create HTTP session, put Python tool to tools system.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.514028" elapsed="0.060651">OSError: [Errno 16] Device or resource busy</status>
</kw>
<test id="s1-s2-t1" name="Check_For_Empty_Ipv4_Topology_Before_Talking" line="79">
<doc>Wait for example-ipv4-topology to come up and empty. Give large timeout for case when BGP boots slower than restconf.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.574770" elapsed="0.000574">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s2-t2" name="Reconfigure_ODL_To_Accept_Connection" line="85">
<doc>Configure BGP peer module with initiate-connection set to false.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.575528" elapsed="0.000434">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s2-t3" name="Start_Talking_BGP_Speaker" line="100">
<doc>Start Python speaker to connect to ODL.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.576131" elapsed="0.000315">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s2-t4" name="Wait_For_Stable_Talking_Ipv4_Topology" line="106">
<doc>Wait until example-ipv4-topology becomes stable. This is done by checking stability of prefix count.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.576611" elapsed="0.000449">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s2-t5" name="Check_Talking_Ipv4_Topology_Count" line="114">
<doc>Count the routes in example-ipv4-topology and fail if the count is not correct.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.577229" elapsed="0.000411">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s2-t6" name="Kill_Talking_BGP_Speaker" line="120">
<doc>Abort the Python speaker. Also, attempt to stop failing fast.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.577829" elapsed="0.000369">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s2-t7" name="Store_Results_For_Talking_BGP_Speaker" line="129">
<doc>Store results for plotting</doc>
<status status="FAIL" start="2026-04-07T08:51:31.578366" elapsed="0.000314">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s2-t8" name="Wait_For_Stable_Ipv4_Topology_After_Talking" line="137">
<doc>Wait until example-ipv4-topology becomes stable again.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.578865" elapsed="0.000389">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s2-t9" name="Check_For_Empty_Ipv4_Topology_After_Talking" line="149">
<doc>Example-ipv4-topology should be empty now.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.579422" elapsed="0.000402">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s2-t10" name="Start_Listening_BGP_Speaker" line="155">
<doc>Start Python speaker in listening mode.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.580079" elapsed="0.000324">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s2-t11" name="Reconfigure_ODL_To_Initiate_Connection" line="160">
<doc>Replace BGP peer config module, now with initiate-connection set to true.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.580569" elapsed="0.000416">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s2-t12" name="Wait_For_Stable_Listening_Ipv4_Topology" line="175">
<doc>Wait until example-ipv4-topology becomes stable.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.581151" elapsed="0.000361">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s2-t13" name="Check_Listening_Ipv4_Topology_Count" line="183">
<doc>Count the routes in example-ipv4-topology and fail if the count is not correct.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.581676" elapsed="0.000436">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s2-t14" name="Kill_Listening_BGP_Speaker" line="189">
<doc>Abort the Python speaker. Also, attempt to stop failing fast.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.582284" elapsed="0.000371">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s2-t15" name="Store_Results_For_Listening_BGP_Speaker" line="198">
<doc>Store results for plotting</doc>
<status status="FAIL" start="2026-04-07T08:51:31.582840" elapsed="0.000322">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s2-t16" name="Wait_For_Stable_Ipv4_Topology_After_Listening" line="208">
<doc>Wait until example-ipv4-topology becomes stable again.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.583330" elapsed="0.000415">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s2-t17" name="Check_For_Empty_Ipv4_Topology_After_Listening" line="217">
<doc>Example-ipv4-topology should be empty now.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.583934" elapsed="0.000383">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s2-t18" name="Delete_Bgp_Peer_Configuration" line="223">
<doc>Revert the BGP configuration to the original state: without any configured peers.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.584484" elapsed="0.000413">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<kw name="Teardown_Everything" type="TEARDOWN">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Search_And_Kill_Remote_Python" owner="KillPythonTool">
<kw name="Search_For_Remote_Python_Processes" owner="KillPythonTool">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.586847" level="INFO">Executing command 'ps -elf | egrep python | egrep 'play.py' | egrep -v grep'.</msg>
<msg time="2026-04-07T08:51:31.586999" level="INFO">${processes} = None</msg>
<msg time="2026-04-07T08:51:31.587040" level="FAIL">Connection not open</msg>
<var>${processes}</var>
<arg>ps -elf | egrep python | egrep ${filter} | egrep -v grep</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.586670" elapsed="0.000747">Connection not open</status>
</kw>
<return>
<value>${processes}</value>
<status status="PASS" start="2026-04-07T08:51:31.587485" elapsed="0.000037"/>
</return>
<msg time="2026-04-07T08:51:31.587706" level="INFO">${processes} = None</msg>
<var>${processes}</var>
<arg>${filter}</arg>
<doc>Only searches for the list of processes, in case something else than kill has to be done with them.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.586376" elapsed="0.001376">Connection not open</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.588553" level="INFO">None</msg>
<arg>${processes}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:51:31.587970" elapsed="0.000630"/>
</kw>
<kw name="Kill_Remote_Processes" owner="KillPythonTool">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.589557" level="INFO">${arg_length} = None</msg>
<msg time="2026-04-07T08:51:31.589602" level="FAIL">Could not get length of 'None'.</msg>
<var>${arg_length}</var>
<arg>${pself_lines}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.589188" elapsed="0.000567">Could not get length of 'None'.</status>
</kw>
<if>
<branch type="IF" condition="${arg_length} == 0">
<return>
<status status="NOT RUN" start="2026-04-07T08:51:31.589985" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:31.589853" elapsed="0.000174"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:31.589831" elapsed="0.000218"/>
</if>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.590377" level="INFO">Executing command 'echo 'None' | awk '{print "kill -9",$4}''.</msg>
<msg time="2026-04-07T08:51:31.590495" level="INFO">${commands} = None</msg>
<msg time="2026-04-07T08:51:31.590535" level="FAIL">Connection not open</msg>
<var>${commands}</var>
<arg>echo '${pself_lines}' | awk '{print "kill -${signal}",$4}'</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.590207" elapsed="0.000646">Connection not open</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.591285" level="INFO">None</msg>
<arg>${commands}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:51:31.591030" elapsed="0.000300"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.591667" level="INFO">Executing command 'echo 'set -exu; None' | sudo sh'.</msg>
<msg time="2026-04-07T08:51:31.591835" level="INFO">${stdout} = None</msg>
<msg time="2026-04-07T08:51:31.591880" level="INFO">${stderr} = None</msg>
<msg time="2026-04-07T08:51:31.591918" level="FAIL">Connection not open</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<arg>echo 'set -exu; ${commands}' | sudo sh</arg>
<arg>return_stderr=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.591491" elapsed="0.000707">Connection not open</status>
</kw>
<arg>${processes}</arg>
<doc>Kill processes by PIDs from given list (no-op if the list is empty), using specified signal. Log the kill commands used.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.588879" elapsed="0.003458">Several failures occurred:

1) Could not get length of 'None'.

2) Connection not open

3) Connection not open</status>
</kw>
<arg>'play\.py'</arg>
<doc>The main keyword. Search for processes, Log the list of them, kill them.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.586074" elapsed="0.006378">Several failures occurred:

1) Connection not open

2) Could not get length of 'None'.

3) Connection not open

4) Connection not open</status>
</kw>
<arg>KillPythonTool.Search_And_Kill_Remote_Python</arg>
<arg>'play\.py'</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:51:31.585608" elapsed="0.006899"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get_Sysstat_Statistics" owner="Utils">
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.593550" level="INFO">index=1
host=
alias=None
port=22
timeout=10 seconds
newline=

prompt=&gt;
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-07T08:51:31.593731" level="INFO">${current_connection} = index=1
host=
alias=None
port=22
timeout=10 seconds
newline=

prompt=&gt;
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<var>${current_connection}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-07T08:51:31.593414" elapsed="0.000347"/>
</kw>
<kw name="Open_Connection_To_ODL_System" owner="SSHKeywords">
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.594750" level="INFO">${odl_connection} = 2</msg>
<var>${odl_connection}</var>
<arg>${ip_address}</arg>
<arg>prompt=${ODL_SYSTEM_PROMPT}</arg>
<arg>timeout=${timeout}</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="PASS" start="2026-04-07T08:51:31.594335" elapsed="0.000443"/>
</kw>
<kw name="Flexible_Controller_Login" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Flexible_SSH_Login" owner="SSHKeywords">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.596443" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:51:31.596520" level="INFO">${pwd_length} = 0</msg>
<var>${pwd_length}</var>
<arg>${password}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:51:31.596176" elapsed="0.000368"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${pwd_length} &gt; 0</arg>
<arg>SSHLibrary.Login</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:31.596709" elapsed="0.000342"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.598065" level="INFO">Logging into ':22' as 'jenkins'.</msg>
<msg time="2026-04-07T08:51:31.598374" level="FAIL">OSError: [Errno 16] Device or resource busy</msg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Logs into the SSH server using key-based authentication.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.597585" elapsed="0.001239">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:51:31.598882" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>SSHLibrary.Login With Public Key</arg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.597225" elapsed="0.001721"/>
</kw>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>On active SSH session: if given non-empty password, do Login, else do Login With Public Key.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.595700" elapsed="0.003362">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:51:31.599108" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Flexible SSH Login</arg>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.595305" elapsed="0.003861"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Controller machine.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.594968" elapsed="0.004302">OSError: [Errno 16] Device or resource busy</status>
</kw>
<return>
<value>${odl_connection}</value>
<status status="PASS" start="2026-04-07T08:51:31.599319" elapsed="0.000030"/>
</return>
<arg>${ip_address}</arg>
<doc>Open a connection to the ODL system at  and return its identifier.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.594018" elapsed="0.005472">OSError: [Errno 16] Device or resource busy</status>
</kw>
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.599881" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>sar -A -f /var/log/sa/sa*</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.599656" elapsed="0.000664">Cannot open session, you need to establish a connection first.</status>
</kw>
<kw name="Read Until Prompt" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.600681" level="INFO">${output} = None</msg>
<msg time="2026-04-07T08:51:31.600749" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<var>${output}</var>
<doc>Consumes and returns the server output until the prompt is found.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.600498" elapsed="0.000811">Cannot open session, you need to establish a connection first.</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.601757" level="INFO">None</msg>
<arg>${output}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:51:31.601482" elapsed="0.000320"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-07T08:51:31.601955" elapsed="0.000101"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-07T08:51:31.602096" elapsed="0.000029"/>
</return>
<kw name="Restore_Current_Ssh_Connection_From_Index" owner="SSHKeywords" type="TEARDOWN">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-07T08:51:31.605503" elapsed="0.000138"/>
</kw>
<msg time="2026-04-07T08:51:31.605686" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${connection_index} is not None</arg>
<arg>SSHLibrary.Switch Connection</arg>
<arg>${connection_index}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:31.605022" elapsed="0.000740"/>
</kw>
<kw name="Open Connection" owner="SSHLibrary">
<arg>127.0.0.1</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.605926" elapsed="0.000022"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.606092" elapsed="0.000020"/>
</kw>
<arg>${current_connection.index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-07T08:51:31.602452" elapsed="0.003720"/>
</kw>
<doc>Store current connection index, open new connection to ip_address. Run command to get sysstat results from script,
which is running on all children nodes. Returns cpu, network, memory usage statistics from the node for each 10 minutes
that node was running. Used for debug purposes. Returns whole output of sysstat.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.593127" elapsed="0.013172">Several failures occurred:

1) OSError: [Errno 16] Device or resource busy

2) Cannot open session, you need to establish a connection first.

3) Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>Utils.Get_Sysstat_Statistics</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:51:31.592674" elapsed="0.013679"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary">
<msg time="2026-04-07T08:51:31.606582" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects</doc>
<status status="PASS" start="2026-04-07T08:51:31.606504" elapsed="0.000173"/>
</kw>
<kw name="Close All Connections" owner="SSHLibrary">
<doc>Closes all open connections.</doc>
<status status="PASS" start="2026-04-07T08:51:31.606843" elapsed="0.000100"/>
</kw>
<doc>Make sure Python tool was killed and tear down imported Resources.</doc>
<status status="PASS" start="2026-04-07T08:51:31.585348" elapsed="0.021689"/>
</kw>
<doc>BGP performance of ingesting from 1 iBGP peer, data change counter is NOT used.

Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.

This program and the accompanying materials are made available under the
terms of the Eclipse Public License v1.0 which accompanies this distribution,
and is available at http://www.eclipse.org/legal/epl-v10.html


This suite uses play.py as single iBGP peer.
The suite only looks at example-ipv4-topology, so RIB is not examined.

The suite consists of two halves, differing on which side initiates BGP connection.
State of "work is being done" is detected by increasing value of prefixes in topology.
The time for Wait_For_Stable_* cases to finish is the main performance metric.
After waiting for stability is done, full check on number of prefixes present is performed.

Brief description how to configure BGP peer can be found here:
https://wiki.opendaylight.org/view/BGP_LS_PCEP:User_Guide#BGP_Peer
http://docs.opendaylight.org/en/stable-boron/user-guide/bgp-user-guide.html#bgp-peering

TODO: Currently, if a bug causes prefix count to remain at zero,
affected test cases will wait for max time. Reconsider.
If zero is allowed as stable, higher period or repetitions would be required.

The prefix counting is quite heavyweight and may induce large variation in time.
Try the other version of the suite (singlepeer_changecount.robot) to get better precision.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.435470" elapsed="0.171602">Suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</suite>
<suite id="s1-s3" name="Singlepeer Changecount" source="/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/suites/bgpcep/bgpingest/singlepeer_changecount.robot">
<kw name="Setup_Everything" type="SETUP">
<kw name="Setup_Utils_For_Setup_And_Teardown" owner="SetupUtils">
<kw name="Do_Not_Fail_Fast_From_Now_On" owner="FailFast">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.695299" level="INFO">${SuiteFastFail} = False</msg>
<arg>${SuiteFastFail}</arg>
<arg>False</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.691023" elapsed="0.004330"/>
</kw>
<doc>Set suite to not fail fast.</doc>
<status status="PASS" start="2026-04-07T08:51:31.690786" elapsed="0.004639"/>
</kw>
<kw name="Setup_Karaf_Keywords" owner="KarafKeywords">
<kw name="ClusterManagement_Setup" owner="ClusterManagement">
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.700512" level="INFO">${already_done} = False</msg>
<var>${already_done}</var>
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>False</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-07T08:51:31.696552" elapsed="0.003987"/>
</kw>
<if>
<branch type="IF" condition="${already_done}">
<return>
<status status="NOT RUN" start="2026-04-07T08:51:31.700766" elapsed="0.000018"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:31.700628" elapsed="0.000186"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:31.700604" elapsed="0.000234"/>
</if>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.701362" level="INFO">${ClusterManagement__has_setup_run} = True</msg>
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.701000" elapsed="0.000405"/>
</kw>
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.701900" level="INFO">${cluster_size} = 0</msg>
<var>${cluster_size}</var>
<arg>\${NUM_ODL_SYSTEM}</arg>
<arg>1</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-07T08:51:31.701574" elapsed="0.000352"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Convert To Integer" owner="BuiltIn">
<arg>${cluster_size}</arg>
<doc>Converts the given item to an integer number.</doc>
<status status="PASS" start="2026-04-07T08:51:31.702446" elapsed="0.000307"/>
</kw>
<msg time="2026-04-07T08:51:31.702874" level="INFO">${status} = PASS</msg>
<msg time="2026-04-07T08:51:31.702935" level="INFO">${possibly_int_of_members} = 0</msg>
<var>${status}</var>
<var>${possibly_int_of_members}</var>
<arg>BuiltIn.Convert_To_Integer</arg>
<arg>${cluster_size}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:51:31.702097" elapsed="0.000868"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.703590" level="INFO">${int_of_members} = 0</msg>
<var>${int_of_members}</var>
<arg>'${status}' != 'PASS'</arg>
<arg>${1}</arg>
<arg>${possibly_int_of_members}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:31.703197" elapsed="0.000419"/>
</kw>
<kw name="ClusterManagement__Compute_Derived_Variables" owner="ClusterManagement">
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.704670" level="INFO">@{member_index_list} = [ ]</msg>
<var>@{member_index_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:31.704406" elapsed="0.000290"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.705124" level="INFO">@{session_list} = [ ]</msg>
<var>@{session_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:31.704869" elapsed="0.000281"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.705605" level="INFO">&amp;{index_to_ip_mapping} = { }</msg>
<var>&amp;{index_to_ip_mapping}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:51:31.705315" elapsed="0.000316"/>
</kw>
<for flavor="IN RANGE">
<iter>
<kw name="ClusterManagement__Include_Member_Index" owner="ClusterManagement">
<arg>${index}</arg>
<arg>${member_index_list}</arg>
<arg>${session_list}</arg>
<arg>${index_to_ip_mapping}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>http_retries=${http_retries}</arg>
<doc>Add a corresponding item based on index into the last three arguments.
Create the Http session whose alias is added to list.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.708276" elapsed="0.000026"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:31.708076" elapsed="0.000274"/>
</iter>
<var>${index}</var>
<value>1</value>
<value>${int_of_members+1}</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.705690" elapsed="0.002689"/>
</for>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.708966" level="INFO">${ClusterManagement__member_index_list} = []</msg>
<arg>\${ClusterManagement__member_index_list}</arg>
<arg>${member_index_list}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.708549" elapsed="0.000460"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.709595" level="INFO">${ClusterManagement__index_to_ip_mapping} = {}</msg>
<arg>\${ClusterManagement__index_to_ip_mapping}</arg>
<arg>${index_to_ip_mapping}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.709177" elapsed="0.000460"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.710203" level="INFO">${ClusterManagement__session_list} = []</msg>
<arg>\${ClusterManagement__session_list}</arg>
<arg>${session_list}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.709819" elapsed="0.000426"/>
</kw>
<arg>int_of_members=${int_of_members}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>http_retries=${http_retries}</arg>
<doc>Construct index list, session list and IP mapping, publish them as suite variables.</doc>
<status status="PASS" start="2026-04-07T08:51:31.703945" elapsed="0.006407"/>
</kw>
<arg>http_timeout=${http_timeout}</arg>
<doc>Detect repeated call, or detect number of members and initialize derived suite variables.
Http sessions are created with parameters to not waste time when ODL is no accepting connections properly.</doc>
<status status="PASS" start="2026-04-07T08:51:31.696203" elapsed="0.014207"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.710591" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:31.710477" elapsed="0.000160"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:31.710457" elapsed="0.000202"/>
</if>
<kw name="Run_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.713978" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:31.713580" elapsed="0.000425"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.714456" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:31.714171" elapsed="0.000311"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:31.714526" elapsed="0.000038"/>
</return>
<msg time="2026-04-07T08:51:31.714688" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:31.713243" elapsed="0.001469"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<doc>Obtain IP, call Utils and return output. This keeps previous ssh session active.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.715077" elapsed="0.000024"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:31.714892" elapsed="0.000244"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.714782" elapsed="0.000380"/>
</for>
<arg>iptables -I INPUT -p tcp --dport ${KARAF_SHELL_PORT} -j ACCEPT; iptables-save</arg>
<doc>Cycle through indices (or all), run command on each.</doc>
<status status="PASS" start="2026-04-07T08:51:31.710902" elapsed="0.004313"/>
</kw>
<kw name="Comment" owner="BuiltIn">
<arg>First connections to Karaf console may fail, so WUKS is used. TODO: Track as a Bug.</arg>
<doc>Displays the given messages in the log file as keyword arguments.</doc>
<status status="PASS" start="2026-04-07T08:51:31.715373" elapsed="0.000210"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<arg>BuiltIn.Wait_Until_Keyword_Succeeds</arg>
<arg>3s</arg>
<arg>1s</arg>
<arg>Open_Controller_Karaf_Console_On_Background</arg>
<arg>member_index=${index}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.715926" elapsed="0.000022"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:31.715781" elapsed="0.000210"/>
</iter>
<var>${index}</var>
<value>@{ClusterManagement__member_index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.715633" elapsed="0.000383"/>
</for>
<arg>http_timeout=${http_timeout}</arg>
<doc>Initialize ClusterManagement. Open ssh karaf connections to each ODL.</doc>
<status status="PASS" start="2026-04-07T08:51:31.695753" elapsed="0.020316"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Test_Suite_Start_To_Controller_Karaf" owner="KarafKeywords">
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.718777" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:31.718624" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:31.718605" elapsed="0.000266"/>
</if>
<kw name="Log_Message_To_Controller_Karaf" owner="KarafKeywords">
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.723833" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:31.723674" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:31.723654" elapsed="0.000248"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.724870" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:31.724469" elapsed="0.000428"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.725349" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:31.725064" elapsed="0.000311"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:31.725420" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:51:31.725572" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:31.724134" elapsed="0.001463"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<var>${status}</var>
<var>${output}</var>
<arg>Execute_Controller_Karaf_Command_With_Retry_On_Background</arg>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.725967" elapsed="0.000023"/>
</kw>
<if>
<branch type="IF" condition="not ${tolerate_failure} and &quot;${status}&quot; != &quot;PASS&quot;">
<kw name="Fail" owner="BuiltIn">
<arg>${output}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.726221" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:51:31.726065" elapsed="0.000211"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:51:31.726048" elapsed="0.000256"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:31.725817" elapsed="0.000520"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.725648" elapsed="0.000722"/>
</for>
<arg>Starting suite ${SUITE_SOURCE}</arg>
<arg>${member_index_list}</arg>
<doc>Make sure this resource is initialized. Send a message into the controller's karaf log file on every node listed (or all).
By default, failure while processing a node is silently ignored, unless ${tolerate_failure} is False.</doc>
<status status="PASS" start="2026-04-07T08:51:31.723377" elapsed="0.003096"/>
</kw>
<doc>Log suite name to karaf log, useful in suite setup.</doc>
<status status="PASS" start="2026-04-07T08:51:31.716646" elapsed="0.009884"/>
</kw>
<arg>KarafKeywords.Log_Test_Suite_Start_To_Controller_Karaf</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:51:31.716228" elapsed="0.010342"/>
</kw>
<doc>Prepare both FailFast and Karaf logging, log that the caller suite has started.
This keyword is to be used in suite setup, and without it the other keywords may not work properly.</doc>
<status status="PASS" start="2026-04-07T08:51:31.690443" elapsed="0.036175"/>
</kw>
<kw name="Create_Default_Session" owner="TemplatedRequests">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-07T08:51:31.731056" level="INFO">Creating Session using : alias=default, url=http://:8181, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7494bfc66050&gt;, timeout=5, proxies=None, verify=False,                     debug=0 </msg>
<arg>default</arg>
<arg>url=${url}</arg>
<arg>auth=${auth}</arg>
<arg>timeout=${timeout}</arg>
<arg>max_retries=${max_retries}</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-04-07T08:51:31.730640" elapsed="0.000577"/>
</kw>
<doc>Create "default" session to ${url} with authentication and connection parameters.
This Keyword is in this Resource only so that user do not need to call RequestsLibrary directly.</doc>
<status status="PASS" start="2026-04-07T08:51:31.730219" elapsed="0.001067"/>
</kw>
<kw name="CC_Setup" owner="ChangeCounter">
<kw name="Create_Default_Session" owner="TemplatedRequests">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-07T08:51:31.735788" level="INFO">Creating Session using : alias=default, url=http://:8181, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7494bfc3edd0&gt;, timeout=5, proxies=None, verify=False,                     debug=0 </msg>
<arg>default</arg>
<arg>url=${url}</arg>
<arg>auth=${auth}</arg>
<arg>timeout=${timeout}</arg>
<arg>max_retries=${max_retries}</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-04-07T08:51:31.735400" elapsed="0.000495"/>
</kw>
<doc>Create "default" session to ${url} with authentication and connection parameters.
This Keyword is in this Resource only so that user do not need to call RequestsLibrary directly.</doc>
<status status="PASS" start="2026-04-07T08:51:31.734988" elapsed="0.000975"/>
</kw>
<kw name="WU_Setup" owner="WaitUtils">
<kw name="SC_Setup" owner="ScalarClosures">
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:51:31.736874" elapsed="0.000030"/>
</return>
<msg time="2026-04-07T08:51:31.737084" level="INFO">${sc_fail} = ['BuiltIn.Fail', [], {}]</msg>
<var>${sc_fail}</var>
<arg>BuiltIn.Fail</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:51:31.736679" elapsed="0.000430"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.741704" level="INFO">${ScalarClosures__fail} = ['BuiltIn.Fail', [], {}]</msg>
<arg>${ScalarClosures__fail}</arg>
<arg>${sc_fail}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.737285" elapsed="0.004478"/>
</kw>
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:51:31.742140" elapsed="0.000033"/>
</return>
<msg time="2026-04-07T08:51:31.742354" level="INFO">${sc_identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<var>${sc_identity}</var>
<arg>BuiltIn.Set_Variable</arg>
<arg>placeholder</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:51:31.741956" elapsed="0.000423"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.746971" level="INFO">${ScalarClosures__identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<arg>${ScalarClosures__identity}</arg>
<arg>${sc_identity}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.742556" elapsed="0.004460"/>
</kw>
<doc>Resource setup. Create closures and assign them to suite variables.</doc>
<status status="PASS" start="2026-04-07T08:51:31.736438" elapsed="0.010637"/>
</kw>
<doc>Call dependency setup. Perhaps needed.</doc>
<status status="PASS" start="2026-04-07T08:51:31.736163" elapsed="0.010958"/>
</kw>
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:51:31.747504" elapsed="0.000028"/>
</return>
<msg time="2026-04-07T08:51:31.747711" level="INFO">${counter} = ['Get_Change_Count', [], {}]</msg>
<var>${counter}</var>
<arg>Get_Change_Count</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:51:31.747324" elapsed="0.000440"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.752423" level="INFO">${ChangeCounter__getter} = ['Get_Change_Count', [], {}]</msg>
<arg>${ChangeCounter__getter}</arg>
<arg>${counter}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.747941" elapsed="0.004528"/>
</kw>
<doc>Initialize dependency libraries.</doc>
<status status="PASS" start="2026-04-07T08:51:31.731503" elapsed="0.021025"/>
</kw>
<kw name="PC_Setup" owner="PrefixCounting">
<kw name="WU_Setup" owner="WaitUtils">
<kw name="SC_Setup" owner="ScalarClosures">
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:51:31.753667" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:51:31.753892" level="INFO">${sc_fail} = ['BuiltIn.Fail', [], {}]</msg>
<var>${sc_fail}</var>
<arg>BuiltIn.Fail</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:51:31.753494" elapsed="0.000423"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.754469" level="INFO">${ScalarClosures__fail} = ['BuiltIn.Fail', [], {}]</msg>
<arg>${ScalarClosures__fail}</arg>
<arg>${sc_fail}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.754084" elapsed="0.000427"/>
</kw>
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:51:31.754893" elapsed="0.000028"/>
</return>
<msg time="2026-04-07T08:51:31.755101" level="INFO">${sc_identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<var>${sc_identity}</var>
<arg>BuiltIn.Set_Variable</arg>
<arg>placeholder</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:51:31.754696" elapsed="0.000430"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.755684" level="INFO">${ScalarClosures__identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<arg>${ScalarClosures__identity}</arg>
<arg>${sc_identity}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.755301" elapsed="0.000484"/>
</kw>
<doc>Resource setup. Create closures and assign them to suite variables.</doc>
<status status="PASS" start="2026-04-07T08:51:31.753260" elapsed="0.002585"/>
</kw>
<doc>Call dependency setup. Perhaps needed.</doc>
<status status="PASS" start="2026-04-07T08:51:31.752997" elapsed="0.002893"/>
</kw>
<doc>Call dependency setups and construct suite variables.</doc>
<status status="PASS" start="2026-04-07T08:51:31.752741" elapsed="0.003192"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-07T08:51:31.756402" level="INFO">Creating Session using : alias=operational, url=http://:8181, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7494bfc90c90&gt;, timeout=125, proxies=None, verify=False,                     debug=0 </msg>
<arg>operational</arg>
<arg>http://${ODL_SYSTEM_IP}:${RESTCONFPORT}</arg>
<arg>auth=${AUTH}</arg>
<arg>timeout=125</arg>
<arg>max_retries=0</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-04-07T08:51:31.756087" elapsed="0.000433"/>
</kw>
<kw name="Set Default Configuration" owner="SSHLibrary">
<arg>prompt=${TOOLS_SYSTEM_PROMPT}</arg>
<doc>Update the default `configuration`.</doc>
<status status="PASS" start="2026-04-07T08:51:31.756694" elapsed="0.000192"/>
</kw>
<kw name="Open Connection" owner="SSHLibrary">
<arg>${TOOLS_SYSTEM_IP}</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="PASS" start="2026-04-07T08:51:31.757048" elapsed="0.000208"/>
</kw>
<kw name="Flexible_Mininet_Login" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Flexible_SSH_Login" owner="SSHKeywords">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.758943" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:51:31.759019" level="INFO">${pwd_length} = 0</msg>
<var>${pwd_length}</var>
<arg>${password}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:51:31.758650" elapsed="0.000393"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${pwd_length} &gt; 0</arg>
<arg>SSHLibrary.Login</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:31.759209" elapsed="0.000316"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.760409" level="INFO">Logging into ':22' as 'jenkins'.</msg>
<msg time="2026-04-07T08:51:31.760727" level="FAIL">OSError: [Errno 16] Device or resource busy</msg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Logs into the SSH server using key-based authentication.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.760092" elapsed="0.001115">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:51:31.761264" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>SSHLibrary.Login With Public Key</arg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.759699" elapsed="0.001613"/>
</kw>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>On active SSH session: if given non-empty password, do Login, else do Login With Public Key.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.758212" elapsed="0.003207">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:51:31.761466" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Flexible SSH Login</arg>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.757813" elapsed="0.003701"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Mininet machine.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.757461" elapsed="0.004142">OSError: [Errno 16] Device or resource busy</status>
</kw>
<kw name="Require_Python" owner="SSHKeywords">
<doc>Verify current SSH connection leads to machine with python working. Fatal fail otherwise.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.761880" elapsed="0.000025"/>
</kw>
<kw name="Assure_Library_Ipaddr" owner="SSHKeywords">
<arg>target_dir=.</arg>
<doc>Tests whether ipaddr module is present on ssh-connected machine, Puts ipaddr.py to target_dir if not.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.762321" elapsed="0.000025"/>
</kw>
<kw name="Put File" owner="SSHLibrary">
<arg>/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/suites/bgpcep/bgpingest/../../../../tools/fastbgp/play.py</arg>
<doc>Uploads file(s) from the local machine to the remote machine.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.762506" elapsed="0.000021"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${timeout}</var>
<arg>${TEST_DURATION_MULTIPLIER_CHANGE_COUNT_SINGLE} * (${COUNT_CHANGE_COUNT_SINGLE} * 9.0 / 10000 + 20)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.762680" elapsed="0.000020"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${bgp_filling_timeout}</arg>
<arg>${timeout}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.762884" elapsed="0.000021"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${bgp_emptying_timeout}</arg>
<arg>${bgp_filling_timeout*3.0/4}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.763064" elapsed="0.000021"/>
</kw>
<doc>Setup imported resources, SSH-login to tools system,
create HTTP session, put Python tool to tools system.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.690121" elapsed="0.073052">OSError: [Errno 16] Device or resource busy</status>
</kw>
<test id="s1-s3-t1" name="Check_For_Empty_Ipv4_Topology_Before_Talking" line="88">
<doc>Wait for example-ipv4-topology to come up and empty. Give large timeout for case when BGP boots slower than restconf.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.763244" elapsed="0.000592">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s3-t2" name="Reconfigure_ODL_To_Accept_Connection" line="94">
<doc>Configure BGP peer module with initiate-connection set to false.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.764020" elapsed="0.000392">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s3-t3" name="Reconfigure_Data_Change_Counter" line="109">
<doc>Configure data change counter to count transactions in example-ipv4-topology instead of example-linkstate-topology.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.764579" elapsed="0.000501">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s3-t4" name="Verify_Data_Change_Counter_Ready" line="113">
<doc>Data change counter might have been slower to start than ipv4 topology, wait for it.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.765286" elapsed="0.000405">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s3-t5" name="Start_Talking_BGP_Speaker" line="117">
<doc>Start Python speaker to connect to ODL.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.765875" elapsed="0.000308">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s3-t6" name="Wait_For_Stable_Talking_Ipv4_Topology" line="124">
<doc>Wait until example-ipv4-topology becomes stable. This is done by checking the change counter.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.766378" elapsed="0.000440">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s3-t7" name="Check_Talking_Ipv4_Topology_Count" line="132">
<doc>Count the routes in example-ipv4-topology and fail if the count is not correct.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.766989" elapsed="0.000408">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s3-t8" name="Kill_Talking_BGP_Speaker" line="138">
<doc>Abort the Python speaker. Also, attempt to stop failing fast.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.767566" elapsed="0.000401">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s3-t9" name="Store_Results_For_Talking_BGP_Speaker" line="148">
<doc>Store results for plotting</doc>
<status status="FAIL" start="2026-04-07T08:51:31.768133" elapsed="0.000322">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s3-t10" name="Wait_For_Stable_Ipv4_Topology_After_Talking" line="156">
<doc>Wait until example-ipv4-topology becomes stable again.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.768620" elapsed="0.000412">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s3-t11" name="Check_For_Empty_Ipv4_Topology_After_Talking" line="165">
<doc>Example-ipv4-topology should be empty now.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.769196" elapsed="0.000383">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s3-t12" name="Start_Listening_BGP_Speaker" line="171">
<doc>Start Python speaker in listening mode.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.769761" elapsed="0.000325">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s3-t13" name="Reconfigure_ODL_To_Initiate_Connection" line="176">
<doc>Replace BGP peer config module, now with initiate-connection set to true.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.770254" elapsed="0.000405">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s3-t14" name="Wait_For_Stable_Listening_Ipv4_Topology" line="192">
<doc>Wait until example-ipv4-topology becomes stable.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.770837" elapsed="0.000363">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s3-t15" name="Check_Listening_Ipv4_Topology_Count" line="200">
<doc>Count the routes in example-ipv4-topology and fail if the count is not correct.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.771364" elapsed="0.000461">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s3-t16" name="Kill_Listening_BGP_Speaker" line="206">
<doc>Abort the Python speaker. Also, attempt to stop failing fast.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.771996" elapsed="0.000373">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s3-t17" name="Store_Results_For_Listening_BGP_Speaker" line="216">
<doc>Store results for plotting</doc>
<status status="FAIL" start="2026-04-07T08:51:31.772536" elapsed="0.000344">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s3-t18" name="Wait_For_Stable_Ipv4_Topology_After_Listening" line="226">
<doc>Wait until example-ipv4-topology becomes stable again.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.773047" elapsed="0.000405">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s3-t19" name="Check_For_Empty_Ipv4_Topology_After_Listening" line="235">
<doc>Example-ipv4-topology should be empty now.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.773620" elapsed="0.000400">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s3-t20" name="Restore_Data_Change_Counter_Configuration" line="241">
<doc>Configure data change counter back to count transactions affecting example-linkstate-topology.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.774187" elapsed="0.000438">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s3-t21" name="Delete_Bgp_Peer_Configuration" line="246">
<doc>Revert the BGP configuration to the original state: without any configured peers.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.774804" elapsed="0.000411">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<kw name="Teardown_Everything" type="TEARDOWN">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Search_And_Kill_Remote_Python" owner="KillPythonTool">
<kw name="Search_For_Remote_Python_Processes" owner="KillPythonTool">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.777074" level="INFO">Executing command 'ps -elf | egrep python | egrep 'play.py' | egrep -v grep'.</msg>
<msg time="2026-04-07T08:51:31.777199" level="INFO">${processes} = None</msg>
<msg time="2026-04-07T08:51:31.777243" level="FAIL">Connection not open</msg>
<var>${processes}</var>
<arg>ps -elf | egrep python | egrep ${filter} | egrep -v grep</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.776937" elapsed="0.000614">Connection not open</status>
</kw>
<return>
<value>${processes}</value>
<status status="PASS" start="2026-04-07T08:51:31.777613" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:51:31.777830" level="INFO">${processes} = None</msg>
<var>${processes}</var>
<arg>${filter}</arg>
<doc>Only searches for the list of processes, in case something else than kill has to be done with them.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.776623" elapsed="0.001233">Connection not open</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.778290" level="INFO">None</msg>
<arg>${processes}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:51:31.778033" elapsed="0.000302"/>
</kw>
<kw name="Kill_Remote_Processes" owner="KillPythonTool">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.779492" level="INFO">${arg_length} = None</msg>
<msg time="2026-04-07T08:51:31.779533" level="FAIL">Could not get length of 'None'.</msg>
<var>${arg_length}</var>
<arg>${pself_lines}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.779140" elapsed="0.000517">Could not get length of 'None'.</status>
</kw>
<if>
<branch type="IF" condition="${arg_length} == 0">
<return>
<status status="NOT RUN" start="2026-04-07T08:51:31.779885" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:31.779770" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:31.779749" elapsed="0.000200"/>
</if>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.780270" level="INFO">Executing command 'echo 'None' | awk '{print "kill -9",$4}''.</msg>
<msg time="2026-04-07T08:51:31.780384" level="INFO">${commands} = None</msg>
<msg time="2026-04-07T08:51:31.780423" level="FAIL">Connection not open</msg>
<var>${commands}</var>
<arg>echo '${pself_lines}' | awk '{print "kill -${signal}",$4}'</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.780103" elapsed="0.000609">Connection not open</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.781192" level="INFO">None</msg>
<arg>${commands}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:51:31.780939" elapsed="0.000297"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.781571" level="INFO">Executing command 'echo 'set -exu; None' | sudo sh'.</msg>
<msg time="2026-04-07T08:51:31.781696" level="INFO">${stdout} = None</msg>
<msg time="2026-04-07T08:51:31.781765" level="INFO">${stderr} = None</msg>
<msg time="2026-04-07T08:51:31.781805" level="FAIL">Connection not open</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<arg>echo 'set -exu; ${commands}' | sudo sh</arg>
<arg>return_stderr=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.781402" elapsed="0.000686">Connection not open</status>
</kw>
<arg>${processes}</arg>
<doc>Kill processes by PIDs from given list (no-op if the list is empty), using specified signal. Log the kill commands used.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.778839" elapsed="0.003387">Several failures occurred:

1) Could not get length of 'None'.

2) Connection not open

3) Connection not open</status>
</kw>
<arg>'play\.py'</arg>
<doc>The main keyword. Search for processes, Log the list of them, kill them.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.776325" elapsed="0.006016">Several failures occurred:

1) Connection not open

2) Could not get length of 'None'.

3) Connection not open

4) Connection not open</status>
</kw>
<arg>KillPythonTool.Search_And_Kill_Remote_Python</arg>
<arg>'play\.py'</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:51:31.775911" elapsed="0.006484"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get_Sysstat_Statistics" owner="Utils">
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.783431" level="INFO">index=1
host=
alias=None
port=22
timeout=10 seconds
newline=

prompt=&gt;
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-07T08:51:31.783534" level="INFO">${current_connection} = index=1
host=
alias=None
port=22
timeout=10 seconds
newline=

prompt=&gt;
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<var>${current_connection}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-07T08:51:31.783305" elapsed="0.000255"/>
</kw>
<kw name="Open_Connection_To_ODL_System" owner="SSHKeywords">
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.784560" level="INFO">${odl_connection} = 2</msg>
<var>${odl_connection}</var>
<arg>${ip_address}</arg>
<arg>prompt=${ODL_SYSTEM_PROMPT}</arg>
<arg>timeout=${timeout}</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="PASS" start="2026-04-07T08:51:31.784183" elapsed="0.000403"/>
</kw>
<kw name="Flexible_Controller_Login" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Flexible_SSH_Login" owner="SSHKeywords">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.786257" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:51:31.786333" level="INFO">${pwd_length} = 0</msg>
<var>${pwd_length}</var>
<arg>${password}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:51:31.785996" elapsed="0.000360"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${pwd_length} &gt; 0</arg>
<arg>SSHLibrary.Login</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:31.786521" elapsed="0.000337"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.787743" level="INFO">Logging into ':22' as 'jenkins'.</msg>
<msg time="2026-04-07T08:51:31.787979" level="FAIL">OSError: [Errno 16] Device or resource busy</msg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Logs into the SSH server using key-based authentication.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.787399" elapsed="0.001110">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:51:31.788565" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>SSHLibrary.Login With Public Key</arg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.787034" elapsed="0.001593"/>
</kw>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>On active SSH session: if given non-empty password, do Login, else do Login With Public Key.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.785538" elapsed="0.003226">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:51:31.788812" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Flexible SSH Login</arg>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.785138" elapsed="0.003729"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Controller machine.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.784796" elapsed="0.004174">OSError: [Errno 16] Device or resource busy</status>
</kw>
<return>
<value>${odl_connection}</value>
<status status="PASS" start="2026-04-07T08:51:31.789017" elapsed="0.000027"/>
</return>
<arg>${ip_address}</arg>
<doc>Open a connection to the ODL system at  and return its identifier.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.783861" elapsed="0.005322">OSError: [Errno 16] Device or resource busy</status>
</kw>
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.789523" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>sar -A -f /var/log/sa/sa*</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.789350" elapsed="0.000618">Cannot open session, you need to establish a connection first.</status>
</kw>
<kw name="Read Until Prompt" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.790330" level="INFO">${output} = None</msg>
<msg time="2026-04-07T08:51:31.790369" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<var>${output}</var>
<doc>Consumes and returns the server output until the prompt is found.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.790146" elapsed="0.000810">Cannot open session, you need to establish a connection first.</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.791393" level="INFO">None</msg>
<arg>${output}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:51:31.791138" elapsed="0.000298"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-07T08:51:31.791593" elapsed="0.000101"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-07T08:51:31.791762" elapsed="0.000037"/>
</return>
<kw name="Restore_Current_Ssh_Connection_From_Index" owner="SSHKeywords" type="TEARDOWN">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-07T08:51:31.795117" elapsed="0.000137"/>
</kw>
<msg time="2026-04-07T08:51:31.795331" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${connection_index} is not None</arg>
<arg>SSHLibrary.Switch Connection</arg>
<arg>${connection_index}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:31.794636" elapsed="0.000755"/>
</kw>
<kw name="Open Connection" owner="SSHLibrary">
<arg>127.0.0.1</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.795554" elapsed="0.000022"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.795766" elapsed="0.000023"/>
</kw>
<arg>${current_connection.index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-07T08:51:31.792125" elapsed="0.003726"/>
</kw>
<doc>Store current connection index, open new connection to ip_address. Run command to get sysstat results from script,
which is running on all children nodes. Returns cpu, network, memory usage statistics from the node for each 10 minutes
that node was running. Used for debug purposes. Returns whole output of sysstat.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.783022" elapsed="0.012957">Several failures occurred:

1) OSError: [Errno 16] Device or resource busy

2) Cannot open session, you need to establish a connection first.

3) Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>Utils.Get_Sysstat_Statistics</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:51:31.782561" elapsed="0.013470"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary">
<msg time="2026-04-07T08:51:31.796254" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects</doc>
<status status="PASS" start="2026-04-07T08:51:31.796181" elapsed="0.000158"/>
</kw>
<kw name="Close All Connections" owner="SSHLibrary">
<doc>Closes all open connections.</doc>
<status status="PASS" start="2026-04-07T08:51:31.796490" elapsed="0.000098"/>
</kw>
<doc>Make sure Python tool was killed and tear down imported Resources.</doc>
<status status="PASS" start="2026-04-07T08:51:31.775641" elapsed="0.020998"/>
</kw>
<doc>BGP performance of ingesting from 1 iBGP peer, data change counter is used.

Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.

This program and the accompanying materials are made available under the
terms of the Eclipse Public License v1.0 which accompanies this distribution,
and is available at http://www.eclipse.org/legal/epl-v10.html


This suite uses play.py as single iBGP peer.
The suite only looks at example-ipv4-topology, so RIB is not examined.

This suite requires odl-bgpcep-data-change-counter to be installed so
make sure it is added to "install-features" of any jobs that are going
to invoke it.

The suite consists of two halves, differing on which side initiates BGP connection.
Data change counter is a lightweight way to detect "work is being done".
WaitUtils provide a nice Keyword to wait for stability, but it needs
initial value, that is why Store_Change_Count appears just before work-inducing action.
The time for Wait_For_Stable_* cases to finish is the main performance metric.
After waiting for stability is done, full check on number of prefixes present is performed.

Brief description how to configure BGP peer can be found here:
https://wiki.opendaylight.org/view/BGP_LS_PCEP:User_Guide#BGP_Peer
http://docs.opendaylight.org/en/stable-boron/user-guide/bgp-user-guide.html#bgp-peering

TODO: Currently, if a bug causes zero increase of data changes,
affected test cases will wait for max time. Reconsider.
If zero increase is allowed as stable, higher number of repetitions should be required.

Additionally this test suite is not compatible with Helium and Hydrogen
releases as they don't include data change counter feature.
Use the other version of the suite (singlepeer_prefixcount.robot) to test them.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.607891" elapsed="0.188777">Suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</suite>
<suite id="s1-s4" name="Bgp App Peer Prefixcount" source="/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/suites/bgpcep/bgpingest/bgp_app_peer_prefixcount.robot">
<kw name="Setup_Everything" type="SETUP">
<kw name="Setup_Utils_For_Setup_And_Teardown" owner="SetupUtils">
<kw name="Do_Not_Fail_Fast_From_Now_On" owner="FailFast">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.890158" level="INFO">${SuiteFastFail} = False</msg>
<arg>${SuiteFastFail}</arg>
<arg>False</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.885599" elapsed="0.004610"/>
</kw>
<doc>Set suite to not fail fast.</doc>
<status status="PASS" start="2026-04-07T08:51:31.885373" elapsed="0.004896"/>
</kw>
<kw name="Setup_Karaf_Keywords" owner="KarafKeywords">
<kw name="ClusterManagement_Setup" owner="ClusterManagement">
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.895496" level="INFO">${already_done} = False</msg>
<var>${already_done}</var>
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>False</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-07T08:51:31.891360" elapsed="0.004163"/>
</kw>
<if>
<branch type="IF" condition="${already_done}">
<return>
<status status="NOT RUN" start="2026-04-07T08:51:31.895739" elapsed="0.000019"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:31.895601" elapsed="0.000185"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:31.895582" elapsed="0.000226"/>
</if>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.896328" level="INFO">${ClusterManagement__has_setup_run} = True</msg>
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.895973" elapsed="0.000398"/>
</kw>
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.896872" level="INFO">${cluster_size} = 0</msg>
<var>${cluster_size}</var>
<arg>\${NUM_ODL_SYSTEM}</arg>
<arg>1</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-07T08:51:31.896543" elapsed="0.000355"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Convert To Integer" owner="BuiltIn">
<arg>${cluster_size}</arg>
<doc>Converts the given item to an integer number.</doc>
<status status="PASS" start="2026-04-07T08:51:31.897413" elapsed="0.000281"/>
</kw>
<msg time="2026-04-07T08:51:31.897809" level="INFO">${status} = PASS</msg>
<msg time="2026-04-07T08:51:31.897856" level="INFO">${possibly_int_of_members} = 0</msg>
<var>${status}</var>
<var>${possibly_int_of_members}</var>
<arg>BuiltIn.Convert_To_Integer</arg>
<arg>${cluster_size}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:51:31.897072" elapsed="0.000807"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.898422" level="INFO">${int_of_members} = 0</msg>
<var>${int_of_members}</var>
<arg>'${status}' != 'PASS'</arg>
<arg>${1}</arg>
<arg>${possibly_int_of_members}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:31.898055" elapsed="0.000392"/>
</kw>
<kw name="ClusterManagement__Compute_Derived_Variables" owner="ClusterManagement">
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.899441" level="INFO">@{member_index_list} = [ ]</msg>
<var>@{member_index_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:31.899175" elapsed="0.000292"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.899974" level="INFO">@{session_list} = [ ]</msg>
<var>@{session_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:31.899686" elapsed="0.000314"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.900457" level="INFO">&amp;{index_to_ip_mapping} = { }</msg>
<var>&amp;{index_to_ip_mapping}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:51:31.900169" elapsed="0.000316"/>
</kw>
<for flavor="IN RANGE">
<iter>
<kw name="ClusterManagement__Include_Member_Index" owner="ClusterManagement">
<arg>${index}</arg>
<arg>${member_index_list}</arg>
<arg>${session_list}</arg>
<arg>${index_to_ip_mapping}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>http_retries=${http_retries}</arg>
<doc>Add a corresponding item based on index into the last three arguments.
Create the Http session whose alias is added to list.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.903283" elapsed="0.000025"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:31.903081" elapsed="0.000276"/>
</iter>
<var>${index}</var>
<value>1</value>
<value>${int_of_members+1}</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.900537" elapsed="0.002848"/>
</for>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.903985" level="INFO">${ClusterManagement__member_index_list} = []</msg>
<arg>\${ClusterManagement__member_index_list}</arg>
<arg>${member_index_list}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.903555" elapsed="0.000474"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.904605" level="INFO">${ClusterManagement__index_to_ip_mapping} = {}</msg>
<arg>\${ClusterManagement__index_to_ip_mapping}</arg>
<arg>${index_to_ip_mapping}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.904207" elapsed="0.000440"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.905218" level="INFO">${ClusterManagement__session_list} = []</msg>
<arg>\${ClusterManagement__session_list}</arg>
<arg>${session_list}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.904833" elapsed="0.000428"/>
</kw>
<arg>int_of_members=${int_of_members}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>http_retries=${http_retries}</arg>
<doc>Construct index list, session list and IP mapping, publish them as suite variables.</doc>
<status status="PASS" start="2026-04-07T08:51:31.898698" elapsed="0.006620"/>
</kw>
<arg>http_timeout=${http_timeout}</arg>
<doc>Detect repeated call, or detect number of members and initialize derived suite variables.
Http sessions are created with parameters to not waste time when ODL is no accepting connections properly.</doc>
<status status="PASS" start="2026-04-07T08:51:31.891011" elapsed="0.014363"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.905551" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:31.905439" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:31.905420" elapsed="0.000198"/>
</if>
<kw name="Run_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.908898" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:31.908506" elapsed="0.000418"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.909381" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:31.909093" elapsed="0.000313"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:31.909450" elapsed="0.000030"/>
</return>
<msg time="2026-04-07T08:51:31.909604" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:31.908172" elapsed="0.001456"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<doc>Obtain IP, call Utils and return output. This keeps previous ssh session active.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.909991" elapsed="0.000024"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:31.909804" elapsed="0.000247"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.909679" elapsed="0.000397"/>
</for>
<arg>iptables -I INPUT -p tcp --dport ${KARAF_SHELL_PORT} -j ACCEPT; iptables-save</arg>
<doc>Cycle through indices (or all), run command on each.</doc>
<status status="PASS" start="2026-04-07T08:51:31.905863" elapsed="0.004265"/>
</kw>
<kw name="Comment" owner="BuiltIn">
<arg>First connections to Karaf console may fail, so WUKS is used. TODO: Track as a Bug.</arg>
<doc>Displays the given messages in the log file as keyword arguments.</doc>
<status status="PASS" start="2026-04-07T08:51:31.910290" elapsed="0.000208"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<arg>BuiltIn.Wait_Until_Keyword_Succeeds</arg>
<arg>3s</arg>
<arg>1s</arg>
<arg>Open_Controller_Karaf_Console_On_Background</arg>
<arg>member_index=${index}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.910826" elapsed="0.000022"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:31.910664" elapsed="0.000228"/>
</iter>
<var>${index}</var>
<value>@{ClusterManagement__member_index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.910547" elapsed="0.000370"/>
</for>
<arg>http_timeout=${http_timeout}</arg>
<doc>Initialize ClusterManagement. Open ssh karaf connections to each ODL.</doc>
<status status="PASS" start="2026-04-07T08:51:31.890552" elapsed="0.020417"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Test_Suite_Start_To_Controller_Karaf" owner="KarafKeywords">
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.913743" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:31.913620" elapsed="0.000170"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:31.913601" elapsed="0.000211"/>
</if>
<kw name="Log_Message_To_Controller_Karaf" owner="KarafKeywords">
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.918930" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:31.918824" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:31.918805" elapsed="0.000192"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.920036" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:31.919611" elapsed="0.000451"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.920517" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:31.920232" elapsed="0.000310"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:31.920587" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:51:31.920755" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:31.919274" elapsed="0.001507"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<var>${status}</var>
<var>${output}</var>
<arg>Execute_Controller_Karaf_Command_With_Retry_On_Background</arg>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.921133" elapsed="0.000022"/>
</kw>
<if>
<branch type="IF" condition="not ${tolerate_failure} and &quot;${status}&quot; != &quot;PASS&quot;">
<kw name="Fail" owner="BuiltIn">
<arg>${output}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.921386" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:51:31.921230" elapsed="0.000209"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:51:31.921213" elapsed="0.000248"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:31.920981" elapsed="0.000504"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:31.920834" elapsed="0.000675"/>
</for>
<arg>Starting suite ${SUITE_SOURCE}</arg>
<arg>${member_index_list}</arg>
<doc>Make sure this resource is initialized. Send a message into the controller's karaf log file on every node listed (or all).
By default, failure while processing a node is silently ignored, unless ${tolerate_failure} is False.</doc>
<status status="PASS" start="2026-04-07T08:51:31.918523" elapsed="0.003038"/>
</kw>
<doc>Log suite name to karaf log, useful in suite setup.</doc>
<status status="PASS" start="2026-04-07T08:51:31.911550" elapsed="0.010065"/>
</kw>
<arg>KarafKeywords.Log_Test_Suite_Start_To_Controller_Karaf</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:51:31.911130" elapsed="0.010526"/>
</kw>
<doc>Prepare both FailFast and Karaf logging, log that the caller suite has started.
This keyword is to be used in suite setup, and without it the other keywords may not work properly.</doc>
<status status="PASS" start="2026-04-07T08:51:31.885053" elapsed="0.036651"/>
</kw>
<kw name="Create_Default_Session" owner="TemplatedRequests">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-07T08:51:31.926312" level="INFO">Creating Session using : alias=default, url=http://:8181, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7494bfcc5cd0&gt;, timeout=5, proxies=None, verify=False,                     debug=0 </msg>
<arg>default</arg>
<arg>url=${url}</arg>
<arg>auth=${auth}</arg>
<arg>timeout=${timeout}</arg>
<arg>max_retries=${max_retries}</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-04-07T08:51:31.925940" elapsed="0.000492"/>
</kw>
<doc>Create "default" session to ${url} with authentication and connection parameters.
This Keyword is in this Resource only so that user do not need to call RequestsLibrary directly.</doc>
<status status="PASS" start="2026-04-07T08:51:31.925507" elapsed="0.000994"/>
</kw>
<kw name="PC_Setup" owner="PrefixCounting">
<kw name="WU_Setup" owner="WaitUtils">
<kw name="SC_Setup" owner="ScalarClosures">
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:51:31.927673" elapsed="0.000059"/>
</return>
<msg time="2026-04-07T08:51:31.927919" level="INFO">${sc_fail} = ['BuiltIn.Fail', [], {}]</msg>
<var>${sc_fail}</var>
<arg>BuiltIn.Fail</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:51:31.927496" elapsed="0.000448"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.932880" level="INFO">${ScalarClosures__fail} = ['BuiltIn.Fail', [], {}]</msg>
<arg>${ScalarClosures__fail}</arg>
<arg>${sc_fail}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.928117" elapsed="0.004809"/>
</kw>
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:51:31.933305" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:51:31.933512" level="INFO">${sc_identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<var>${sc_identity}</var>
<arg>BuiltIn.Set_Variable</arg>
<arg>placeholder</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:51:31.933121" elapsed="0.000417"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.938330" level="INFO">${ScalarClosures__identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<arg>${ScalarClosures__identity}</arg>
<arg>${sc_identity}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:31.933726" elapsed="0.004650"/>
</kw>
<doc>Resource setup. Create closures and assign them to suite variables.</doc>
<status status="PASS" start="2026-04-07T08:51:31.927255" elapsed="0.011179"/>
</kw>
<doc>Call dependency setup. Perhaps needed.</doc>
<status status="PASS" start="2026-04-07T08:51:31.926982" elapsed="0.011497"/>
</kw>
<doc>Call dependency setups and construct suite variables.</doc>
<status status="PASS" start="2026-04-07T08:51:31.926705" elapsed="0.011818"/>
</kw>
<kw name="Set Default Configuration" owner="SSHLibrary">
<arg>prompt=${TOOLS_SYSTEM_PROMPT}</arg>
<doc>Update the default `configuration`.</doc>
<status status="PASS" start="2026-04-07T08:51:31.938681" elapsed="0.000189"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-07T08:51:31.939372" level="INFO">Creating Session using : alias=operational, url=http://:8181, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7494c1db3d50&gt;, timeout=125, proxies=None, verify=False,                     debug=0 </msg>
<arg>operational</arg>
<arg>http://${ODL_SYSTEM_IP}:${RESTCONFPORT}</arg>
<arg>auth=${AUTH}</arg>
<arg>timeout=125</arg>
<arg>max_retries=0</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-04-07T08:51:31.939034" elapsed="0.000442"/>
</kw>
<kw name="Open_BGP_Peer_Console">
<kw name="Open Connection" owner="SSHLibrary">
<arg>${TOOLS_SYSTEM_IP}</arg>
<arg>alias=bgp_peer_console</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="PASS" start="2026-04-07T08:51:31.939892" elapsed="0.000233"/>
</kw>
<kw name="Flexible_Mininet_Login" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Flexible_SSH_Login" owner="SSHKeywords">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.941860" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:51:31.941937" level="INFO">${pwd_length} = 0</msg>
<var>${pwd_length}</var>
<arg>${password}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:51:31.941578" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${pwd_length} &gt; 0</arg>
<arg>SSHLibrary.Login</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:31.942133" elapsed="0.000317"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.943495" level="INFO">Logging into ':22' as 'jenkins'.</msg>
<msg time="2026-04-07T08:51:31.943763" level="FAIL">OSError: [Errno 16] Device or resource busy</msg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Logs into the SSH server using key-based authentication.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.943013" elapsed="0.001178">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:51:31.944247" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>SSHLibrary.Login With Public Key</arg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.942630" elapsed="0.001665"/>
</kw>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>On active SSH session: if given non-empty password, do Login, else do Login With Public Key.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.941135" elapsed="0.003263">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:51:31.944445" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Flexible SSH Login</arg>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.940732" elapsed="0.003755"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Mininet machine.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.940375" elapsed="0.004200">OSError: [Errno 16] Device or resource busy</status>
</kw>
<doc>Create a session for BGP peer.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.939627" elapsed="0.005029">OSError: [Errno 16] Device or resource busy</status>
</kw>
<kw name="Open_BGP_Aplicationp_Peer_Console">
<doc>Create a session for BGP peer.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.944810" elapsed="0.000023"/>
</kw>
<kw name="Require_Python" owner="SSHKeywords">
<doc>Verify current SSH connection leads to machine with python working. Fatal fail otherwise.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.945079" elapsed="0.000024"/>
</kw>
<kw name="Assure_Library_Ipaddr" owner="SSHKeywords">
<arg>target_dir=.</arg>
<doc>Tests whether ipaddr module is present on ssh-connected machine, Puts ipaddr.py to target_dir if not.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.945343" elapsed="0.000022"/>
</kw>
<kw name="Put File" owner="SSHLibrary">
<arg>/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/suites/bgpcep/bgpingest/../../../../tools/fastbgp/play.py</arg>
<doc>Uploads file(s) from the local machine to the remote machine.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.945522" elapsed="0.000021"/>
</kw>
<kw name="Put File" owner="SSHLibrary">
<arg>/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/suites/bgpcep/bgpingest/../../../../tools/fastbgp/bgp_app_peer.py</arg>
<doc>Uploads file(s) from the local machine to the remote machine.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.945698" elapsed="0.000096"/>
</kw>
<kw name="Put File" owner="SSHLibrary">
<arg>/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/suites/bgpcep/bgpingest/../../../../tools/fastbgp/ipv4-routes-template.xml*</arg>
<doc>Uploads file(s) from the local machine to the remote machine.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.945956" elapsed="0.000020"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${timeout}</var>
<arg>${TEST_DURATION_MULTIPLIER} * ${COUNT_APP_PEER_PREFIX_COUNT} * 3.0 / 10000 + 20</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.946130" elapsed="0.000019"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${bgp_filling_timeout}</arg>
<arg>${timeout}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.946313" elapsed="0.000020"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${bgp_emptying_timeout}</arg>
<arg>${bgp_filling_timeout*3.0/4}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.946493" elapsed="0.000020"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${result}</var>
<arg>str(int(${COUNT_APP_PEER_PREFIX_COUNT}) - int(${PREFILL}))</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.946668" elapsed="0.000019"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${remaining_prefixes}</arg>
<arg>${result}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.946869" elapsed="0.000020"/>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<arg>log:set ${ODL_LOG_LEVEL}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.947237" elapsed="0.000024"/>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<arg>log:set ${ODL_BGP_LOG_LEVEL} org.opendaylight.bgpcep</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.947595" elapsed="0.000023"/>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<arg>log:set ${ODL_BGP_LOG_LEVEL} org.opendaylight.protocol</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.947991" elapsed="0.000025"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<var>${script_uri_opt}</var>
<arg>--uri data/bgp-rib:application-rib=${BGP_APP_PEER_ID}/tables=bgp-types%3Aipv4-address-family,bgp-types%3Aunicast-subsequent-address-family</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.948677" elapsed="0.000023"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${script_uri_opt}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.948887" elapsed="0.000020"/>
</kw>
<doc>Setup imported resources, SSH-login to tools system,
create HTTP session, put Python tool to tools system.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.884762" elapsed="0.064232">OSError: [Errno 16] Device or resource busy</status>
</kw>
<test id="s1-s4-t1" name="Check_For_Empty_Ipv4_Topology_Before_Starting" line="86">
<doc>Wait for example-ipv4-topology to come up and empty. Give large timeout for case when BGP boots slower than restconf.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.949097" elapsed="0.000579">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s4-t2" name="Reconfigure_ODL_To_Accept_Connection" line="90">
<doc>Configure BGP peer module with initiate-connection set to false.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.949874" elapsed="0.000399">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s4-t3" name="Reconfigure_ODL_To_Accept_BGP_Application_Peer" line="105">
<doc>Configure BGP application peer module.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.950439" elapsed="0.000379">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s4-t4" name="Connect_BGP_Peer" line="115">
<doc>Start BGP peer tool</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.950984" elapsed="0.000287">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s4-t5" name="BGP_Application_Peer_Prefill_Routes" line="121">
<doc>Start BGP application peer tool and prefill routes.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.951433" elapsed="0.000413">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s4-t6" name="Wait_For_Ipv4_Topology_Is_Prefilled" line="128">
<doc>Wait until example-ipv4-topology reaches the target prfix count.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.952011" elapsed="0.000386">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s4-t7" name="Check_Bgp_Peer_Updates_For_Prefilled_Routes" line="136">
<doc>Count the routes introduced by updates.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.952567" elapsed="0.000379">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s4-t8" name="BGP_Application_Peer_Introduce_Single_Routes" line="147">
<doc>Start BGP application peer tool and introduce routes.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.953109" elapsed="0.000419">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s4-t9" name="Wait_For_Ipv4_Topology_Is_Filled" line="156">
<doc>Wait until example-ipv4-topology reaches the target prfix count.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.953692" elapsed="0.000392">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s4-t10" name="Check_Bgp_Peer_Updates_For_All_Routes" line="164">
<doc>Count the routes introduced by updates.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.954252" elapsed="0.000379">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s4-t11" name="Disconnect_BGP_Peer" line="174">
<doc>Stop BGP peer tool</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.954810" elapsed="0.000295">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s4-t12" name="Reconnect_BGP_Peer" line="180">
<doc>Start BGP peer tool</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.955267" elapsed="0.000294">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s4-t13" name="Check_Bgp_Peer_Updates_For_Reintroduced_Routes" line="186">
<doc>Count the routes introduced by updates.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.955754" elapsed="0.000368">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s4-t14" name="BGP_Application_Peer_Delete_All_Routes" line="196">
<doc>Start BGP application peer tool and delete all routes.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.956290" elapsed="0.000370">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s4-t15" name="Wait_For_Stable_Topology_After_Deletion" line="205">
<doc>Wait until example-ipv4-topology becomes stable again.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.956840" elapsed="0.000372">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s4-t16" name="Check_For_Empty_Ipv4_Topology_After_Deleting" line="213">
<doc>Example-ipv4-topology should be empty now.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.957374" elapsed="0.000380">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s4-t17" name="Check_Bgp_Peer_Updates_For_Prefix_Withdrawals" line="217">
<doc>Count the routes withdrawn by updates.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.957924" elapsed="0.000596">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s4-t18" name="Stop_BGP_Peer" line="227">
<doc>Stop BGP peer tool</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.958690" elapsed="0.000306">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s4-t19" name="Delete_Bgp_Peer_Configuration" line="233">
<doc>Revert the BGP configuration to the original state: without any configured peers.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.959161" elapsed="0.000400">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s4-t20" name="Delete_Bgp_Application_Peer_Configuration" line="242">
<doc>Revert the BGP configuration to the original state: without any configured peers.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:31.959766" elapsed="0.000431">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<kw name="Teardown_Everything" type="TEARDOWN">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>bgp_peer_console</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-07T08:51:31.960857" elapsed="0.000108"/>
</kw>
<kw name="Search_And_Kill_Remote_Python" owner="KillPythonTool">
<kw name="Search_For_Remote_Python_Processes" owner="KillPythonTool">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.961898" level="INFO">Executing command 'ps -elf | egrep python | egrep 'play.py' | egrep -v grep'.</msg>
<msg time="2026-04-07T08:51:31.962014" level="INFO">${processes} = None</msg>
<msg time="2026-04-07T08:51:31.962054" level="FAIL">Connection not open</msg>
<var>${processes}</var>
<arg>ps -elf | egrep python | egrep ${filter} | egrep -v grep</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.961762" elapsed="0.000584">Connection not open</status>
</kw>
<return>
<value>${processes}</value>
<status status="PASS" start="2026-04-07T08:51:31.962407" elapsed="0.000030"/>
</return>
<msg time="2026-04-07T08:51:31.962608" level="INFO">${processes} = None</msg>
<var>${processes}</var>
<arg>${filter}</arg>
<doc>Only searches for the list of processes, in case something else than kill has to be done with them.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.961468" elapsed="0.001166">Connection not open</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.963088" level="INFO">None</msg>
<arg>${processes}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:51:31.962829" elapsed="0.000303"/>
</kw>
<kw name="Kill_Remote_Processes" owner="KillPythonTool">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.964118" level="INFO">${arg_length} = None</msg>
<msg time="2026-04-07T08:51:31.964159" level="FAIL">Could not get length of 'None'.</msg>
<var>${arg_length}</var>
<arg>${pself_lines}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.963771" elapsed="0.000511">Could not get length of 'None'.</status>
</kw>
<if>
<branch type="IF" condition="${arg_length} == 0">
<return>
<status status="NOT RUN" start="2026-04-07T08:51:31.964478" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:31.964366" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:31.964347" elapsed="0.000194"/>
</if>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.964885" level="INFO">Executing command 'echo 'None' | awk '{print "kill -9",$4}''.</msg>
<msg time="2026-04-07T08:51:31.964994" level="INFO">${commands} = None</msg>
<msg time="2026-04-07T08:51:31.965033" level="FAIL">Connection not open</msg>
<var>${commands}</var>
<arg>echo '${pself_lines}' | awk '{print "kill -${signal}",$4}'</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.964700" elapsed="0.000613">Connection not open</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.965760" level="INFO">None</msg>
<arg>${commands}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:51:31.965494" elapsed="0.000310"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.966136" level="INFO">Executing command 'echo 'set -exu; None' | sudo sh'.</msg>
<msg time="2026-04-07T08:51:31.966261" level="INFO">${stdout} = None</msg>
<msg time="2026-04-07T08:51:31.966305" level="INFO">${stderr} = None</msg>
<msg time="2026-04-07T08:51:31.966343" level="FAIL">Connection not open</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<arg>echo 'set -exu; ${commands}' | sudo sh</arg>
<arg>return_stderr=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.965970" elapsed="0.000655">Connection not open</status>
</kw>
<arg>${processes}</arg>
<doc>Kill processes by PIDs from given list (no-op if the list is empty), using specified signal. Log the kill commands used.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.963420" elapsed="0.003360">Several failures occurred:

1) Could not get length of 'None'.

2) Connection not open

3) Connection not open</status>
</kw>
<arg>'play\.py'</arg>
<doc>The main keyword. Search for processes, Log the list of them, kill them.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.961183" elapsed="0.005714">Several failures occurred:

1) Connection not open

2) Could not get length of 'None'.

3) Connection not open

4) Connection not open</status>
</kw>
<kw name="Search_And_Kill_Remote_Python" owner="KillPythonTool">
<kw name="Search_For_Remote_Python_Processes" owner="KillPythonTool">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.968011" level="INFO">Executing command 'ps -elf | egrep python | egrep 'bgp_app_peer.py' | egrep -v grep'.</msg>
<msg time="2026-04-07T08:51:31.968122" level="INFO">${processes} = None</msg>
<msg time="2026-04-07T08:51:31.968162" level="FAIL">Connection not open</msg>
<var>${processes}</var>
<arg>ps -elf | egrep python | egrep ${filter} | egrep -v grep</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.967707" elapsed="0.000734">Connection not open</status>
</kw>
<return>
<value>${processes}</value>
<status status="PASS" start="2026-04-07T08:51:31.968502" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:51:31.968700" level="INFO">${processes} = None</msg>
<var>${processes}</var>
<arg>${filter}</arg>
<doc>Only searches for the list of processes, in case something else than kill has to be done with them.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.967418" elapsed="0.001326">Connection not open</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.969178" level="INFO">None</msg>
<arg>${processes}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:51:31.968922" elapsed="0.000300"/>
</kw>
<kw name="Kill_Remote_Processes" owner="KillPythonTool">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.970124" level="INFO">${arg_length} = None</msg>
<msg time="2026-04-07T08:51:31.970165" level="FAIL">Could not get length of 'None'.</msg>
<var>${arg_length}</var>
<arg>${pself_lines}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.969784" elapsed="0.000503">Could not get length of 'None'.</status>
</kw>
<if>
<branch type="IF" condition="${arg_length} == 0">
<return>
<status status="NOT RUN" start="2026-04-07T08:51:31.970488" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:31.970369" elapsed="0.000159"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:31.970350" elapsed="0.000199"/>
</if>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.970891" level="INFO">Executing command 'echo 'None' | awk '{print "kill -9",$4}''.</msg>
<msg time="2026-04-07T08:51:31.971000" level="INFO">${commands} = None</msg>
<msg time="2026-04-07T08:51:31.971039" level="FAIL">Connection not open</msg>
<var>${commands}</var>
<arg>echo '${pself_lines}' | awk '{print "kill -${signal}",$4}'</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.970707" elapsed="0.000611">Connection not open</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.971782" level="INFO">None</msg>
<arg>${commands}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:51:31.971500" elapsed="0.000327"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.972171" level="INFO">Executing command 'echo 'set -exu; None' | sudo sh'.</msg>
<msg time="2026-04-07T08:51:31.972291" level="INFO">${stdout} = None</msg>
<msg time="2026-04-07T08:51:31.972335" level="INFO">${stderr} = None</msg>
<msg time="2026-04-07T08:51:31.972373" level="FAIL">Connection not open</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<arg>echo 'set -exu; ${commands}' | sudo sh</arg>
<arg>return_stderr=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.972000" elapsed="0.000651">Connection not open</status>
</kw>
<arg>${processes}</arg>
<doc>Kill processes by PIDs from given list (no-op if the list is empty), using specified signal. Log the kill commands used.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.969465" elapsed="0.003337">Several failures occurred:

1) Could not get length of 'None'.

2) Connection not open

3) Connection not open</status>
</kw>
<arg>'bgp_app_peer\.py'</arg>
<doc>The main keyword. Search for processes, Log the list of them, kill them.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.967126" elapsed="0.005789">Several failures occurred:

1) Connection not open

2) Could not get length of 'None'.

3) Connection not open

4) Connection not open</status>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get_Sysstat_Statistics" owner="Utils">
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.973941" level="INFO">index=1
host=
alias=bgp_peer_console
port=22
timeout=10 seconds
newline=

prompt=&gt;
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-07T08:51:31.974043" level="INFO">${current_connection} = index=1
host=
alias=bgp_peer_console
port=22
timeout=10 seconds
newline=

prompt=&gt;
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<var>${current_connection}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-07T08:51:31.973827" elapsed="0.000283"/>
</kw>
<kw name="Open_Connection_To_ODL_System" owner="SSHKeywords">
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.975097" level="INFO">${odl_connection} = 2</msg>
<var>${odl_connection}</var>
<arg>${ip_address}</arg>
<arg>prompt=${ODL_SYSTEM_PROMPT}</arg>
<arg>timeout=${timeout}</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="PASS" start="2026-04-07T08:51:31.974697" elapsed="0.000426"/>
</kw>
<kw name="Flexible_Controller_Login" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Flexible_SSH_Login" owner="SSHKeywords">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.976959" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:51:31.977037" level="INFO">${pwd_length} = 0</msg>
<var>${pwd_length}</var>
<arg>${password}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:51:31.976558" elapsed="0.000502"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${pwd_length} &gt; 0</arg>
<arg>SSHLibrary.Login</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:31.977232" elapsed="0.000327"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.978439" level="INFO">Logging into ':22' as 'jenkins'.</msg>
<msg time="2026-04-07T08:51:31.978673" level="FAIL">OSError: [Errno 16] Device or resource busy</msg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Logs into the SSH server using key-based authentication.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.978127" elapsed="0.000969">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:51:31.979151" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>SSHLibrary.Login With Public Key</arg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.977756" elapsed="0.001461"/>
</kw>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>On active SSH session: if given non-empty password, do Login, else do Login With Public Key.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.976110" elapsed="0.003221">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:51:31.979376" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Flexible SSH Login</arg>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.975656" elapsed="0.003774"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Controller machine.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.975314" elapsed="0.004219">OSError: [Errno 16] Device or resource busy</status>
</kw>
<return>
<value>${odl_connection}</value>
<status status="PASS" start="2026-04-07T08:51:31.979581" elapsed="0.000027"/>
</return>
<arg>${ip_address}</arg>
<doc>Open a connection to the ODL system at  and return its identifier.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.974373" elapsed="0.005411">OSError: [Errno 16] Device or resource busy</status>
</kw>
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.980126" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>sar -A -f /var/log/sa/sa*</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.979955" elapsed="0.000588">Cannot open session, you need to establish a connection first.</status>
</kw>
<kw name="Read Until Prompt" owner="SSHLibrary">
<msg time="2026-04-07T08:51:31.980916" level="INFO">${output} = None</msg>
<msg time="2026-04-07T08:51:31.980956" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<var>${output}</var>
<doc>Consumes and returns the server output until the prompt is found.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.980741" elapsed="0.000756">Cannot open session, you need to establish a connection first.</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:51:31.981945" level="INFO">None</msg>
<arg>${output}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:51:31.981675" elapsed="0.000315"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-07T08:51:31.982149" elapsed="0.000100"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-07T08:51:31.982288" elapsed="0.000029"/>
</return>
<kw name="Restore_Current_Ssh_Connection_From_Index" owner="SSHKeywords" type="TEARDOWN">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-07T08:51:31.985792" elapsed="0.000138"/>
</kw>
<msg time="2026-04-07T08:51:31.985972" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${connection_index} is not None</arg>
<arg>SSHLibrary.Switch Connection</arg>
<arg>${connection_index}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:31.985309" elapsed="0.000721"/>
</kw>
<kw name="Open Connection" owner="SSHLibrary">
<arg>127.0.0.1</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.986198" elapsed="0.000021"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:31.986369" elapsed="0.000020"/>
</kw>
<arg>${current_connection.index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-07T08:51:31.982637" elapsed="0.003812"/>
</kw>
<doc>Store current connection index, open new connection to ip_address. Run command to get sysstat results from script,
which is running on all children nodes. Returns cpu, network, memory usage statistics from the node for each 10 minutes
that node was running. Used for debug purposes. Returns whole output of sysstat.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.973524" elapsed="0.013052">Several failures occurred:

1) OSError: [Errno 16] Device or resource busy

2) Cannot open session, you need to establish a connection first.

3) Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>Utils.Get_Sysstat_Statistics</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:51:31.973091" elapsed="0.013539"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary">
<msg time="2026-04-07T08:51:31.986874" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects</doc>
<status status="PASS" start="2026-04-07T08:51:31.986799" elapsed="0.000145"/>
</kw>
<kw name="Close All Connections" owner="SSHLibrary">
<doc>Closes all open connections.</doc>
<status status="PASS" start="2026-04-07T08:51:31.987100" elapsed="0.000098"/>
</kw>
<doc>Make sure Python tool was killed and tear down imported Resources.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.960614" elapsed="0.026702">Several failures occurred:

1) Connection not open

2) Could not get length of 'None'.

3) Connection not open

4) Connection not open

5) Connection not open

6) Could not get length of 'None'.

7) Connection not open

8) Connection not open</status>
</kw>
<doc>BGP performance of ingesting from 1 BGP application peer

Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.

This program and the accompanying materials are made available under the
terms of the Eclipse Public License v1.0 which accompanies this distribution,
and is available at http://www.eclipse.org/legal/epl-v10.html

Test suite performs basic BGP performance test cases for
BGP application peer. BGP application peer introduces routes -
using restconf - in two steps:
1. introduces the 100000 number of routes in one POST request
2. POSTs the rest of routes (up to the 180000 number) one by one
Test suite checks that the prefixes are propagated to
IPv4 topology and announced to BGP peer via updates. Test case
where the BGP peer is disconnected and reconnected and all routes
are deleted by BGP application peer are performed as well.
Brief description how to configure BGP application peer and
how to use restconf application peer interface:
https://wiki.opendaylight.org/view/BGP_LS_PCEP:User_Guide#BGP_Application_Peer
https://wiki.opendaylight.org/view/BGP_LS_PCEP:Programmer_Guide#BGP
http://docs.opendaylight.org/en/stable-boron/user-guide/bgp-user-guide.html#bgp-peering
http://docs.opendaylight.org/en/stable-boron/user-guide/bgp-user-guide.html#application-peer-configuration

Reported bugs:
Bug 4689 - Not a reasonable duration of 1M prefix introduction from BGP application peer via restconf
Bug 4791 - BGPSessionImpl: Failed to send message Update logged even all UPDATE mesages received by iBGP peer</doc>
<status status="FAIL" start="2026-04-07T08:51:31.797404" elapsed="0.190025">Suite setup failed:
OSError: [Errno 16] Device or resource busy

Also suite teardown failed:
Several failures occurred:

1) Connection not open

2) Could not get length of 'None'.

3) Connection not open

4) Connection not open

5) Connection not open

6) Could not get length of 'None'.

7) Connection not open

8) Connection not open</status>
</suite>
<suite id="s1-s5" name="Manypeers Prefixcount" source="/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/suites/bgpcep/bgpingest/manypeers_prefixcount.robot">
<kw name="Setup_Everything" type="SETUP">
<kw name="Setup_Utils_For_Setup_And_Teardown" owner="SetupUtils">
<kw name="Do_Not_Fail_Fast_From_Now_On" owner="FailFast">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.071312" level="INFO">${SuiteFastFail} = False</msg>
<arg>${SuiteFastFail}</arg>
<arg>False</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:32.067122" elapsed="0.004239"/>
</kw>
<doc>Set suite to not fail fast.</doc>
<status status="PASS" start="2026-04-07T08:51:32.066895" elapsed="0.004530"/>
</kw>
<kw name="Setup_Karaf_Keywords" owner="KarafKeywords">
<kw name="ClusterManagement_Setup" owner="ClusterManagement">
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.076446" level="INFO">${already_done} = False</msg>
<var>${already_done}</var>
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>False</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-07T08:51:32.072549" elapsed="0.003924"/>
</kw>
<if>
<branch type="IF" condition="${already_done}">
<return>
<status status="NOT RUN" start="2026-04-07T08:51:32.076666" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:32.076554" elapsed="0.000155"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:32.076533" elapsed="0.000215"/>
</if>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.077259" level="INFO">${ClusterManagement__has_setup_run} = True</msg>
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:32.076906" elapsed="0.000395"/>
</kw>
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.077791" level="INFO">${cluster_size} = 0</msg>
<var>${cluster_size}</var>
<arg>\${NUM_ODL_SYSTEM}</arg>
<arg>1</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-07T08:51:32.077466" elapsed="0.000351"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Convert To Integer" owner="BuiltIn">
<arg>${cluster_size}</arg>
<doc>Converts the given item to an integer number.</doc>
<status status="PASS" start="2026-04-07T08:51:32.078323" elapsed="0.000280"/>
</kw>
<msg time="2026-04-07T08:51:32.078699" level="INFO">${status} = PASS</msg>
<msg time="2026-04-07T08:51:32.078762" level="INFO">${possibly_int_of_members} = 0</msg>
<var>${status}</var>
<var>${possibly_int_of_members}</var>
<arg>BuiltIn.Convert_To_Integer</arg>
<arg>${cluster_size}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:51:32.077984" elapsed="0.000801"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.079327" level="INFO">${int_of_members} = 0</msg>
<var>${int_of_members}</var>
<arg>'${status}' != 'PASS'</arg>
<arg>${1}</arg>
<arg>${possibly_int_of_members}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.078961" elapsed="0.000391"/>
</kw>
<kw name="ClusterManagement__Compute_Derived_Variables" owner="ClusterManagement">
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.080366" level="INFO">@{member_index_list} = [ ]</msg>
<var>@{member_index_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.080104" elapsed="0.000289"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.080820" level="INFO">@{session_list} = [ ]</msg>
<var>@{session_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.080545" elapsed="0.000301"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.081305" level="INFO">&amp;{index_to_ip_mapping} = { }</msg>
<var>&amp;{index_to_ip_mapping}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:51:32.081017" elapsed="0.000315"/>
</kw>
<for flavor="IN RANGE">
<iter>
<kw name="ClusterManagement__Include_Member_Index" owner="ClusterManagement">
<arg>${index}</arg>
<arg>${member_index_list}</arg>
<arg>${session_list}</arg>
<arg>${index_to_ip_mapping}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>http_retries=${http_retries}</arg>
<doc>Add a corresponding item based on index into the last three arguments.
Create the Http session whose alias is added to list.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.085013" elapsed="0.000025"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.084814" elapsed="0.000272"/>
</iter>
<var>${index}</var>
<value>1</value>
<value>${int_of_members+1}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.081389" elapsed="0.003725"/>
</for>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.085683" level="INFO">${ClusterManagement__member_index_list} = []</msg>
<arg>\${ClusterManagement__member_index_list}</arg>
<arg>${member_index_list}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:32.085279" elapsed="0.000463"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.086316" level="INFO">${ClusterManagement__index_to_ip_mapping} = {}</msg>
<arg>\${ClusterManagement__index_to_ip_mapping}</arg>
<arg>${index_to_ip_mapping}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:32.085913" elapsed="0.000445"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.086920" level="INFO">${ClusterManagement__session_list} = []</msg>
<arg>\${ClusterManagement__session_list}</arg>
<arg>${session_list}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:32.086523" elapsed="0.000485"/>
</kw>
<arg>int_of_members=${int_of_members}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>http_retries=${http_retries}</arg>
<doc>Construct index list, session list and IP mapping, publish them as suite variables.</doc>
<status status="PASS" start="2026-04-07T08:51:32.079601" elapsed="0.007467"/>
</kw>
<arg>http_timeout=${http_timeout}</arg>
<doc>Detect repeated call, or detect number of members and initialize derived suite variables.
Http sessions are created with parameters to not waste time when ODL is no accepting connections properly.</doc>
<status status="PASS" start="2026-04-07T08:51:32.072195" elapsed="0.014927"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.087299" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:32.087187" elapsed="0.000157"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:32.087168" elapsed="0.000198"/>
</if>
<kw name="Run_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.090510" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.090127" elapsed="0.000410"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.091009" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.090701" elapsed="0.000334"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:32.091080" elapsed="0.000032"/>
</return>
<msg time="2026-04-07T08:51:32.091236" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:32.089795" elapsed="0.001465"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<doc>Obtain IP, call Utils and return output. This keeps previous ssh session active.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.091606" elapsed="0.000024"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.091421" elapsed="0.000244"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.091313" elapsed="0.000423"/>
</for>
<arg>iptables -I INPUT -p tcp --dport ${KARAF_SHELL_PORT} -j ACCEPT; iptables-save</arg>
<doc>Cycle through indices (or all), run command on each.</doc>
<status status="PASS" start="2026-04-07T08:51:32.087589" elapsed="0.004204"/>
</kw>
<kw name="Comment" owner="BuiltIn">
<arg>First connections to Karaf console may fail, so WUKS is used. TODO: Track as a Bug.</arg>
<doc>Displays the given messages in the log file as keyword arguments.</doc>
<status status="PASS" start="2026-04-07T08:51:32.091949" elapsed="0.000210"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<arg>BuiltIn.Wait_Until_Keyword_Succeeds</arg>
<arg>3s</arg>
<arg>1s</arg>
<arg>Open_Controller_Karaf_Console_On_Background</arg>
<arg>member_index=${index}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.092464" elapsed="0.000021"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.092325" elapsed="0.000203"/>
</iter>
<var>${index}</var>
<value>@{ClusterManagement__member_index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.092209" elapsed="0.000344"/>
</for>
<arg>http_timeout=${http_timeout}</arg>
<doc>Initialize ClusterManagement. Open ssh karaf connections to each ODL.</doc>
<status status="PASS" start="2026-04-07T08:51:32.071756" elapsed="0.020849"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Test_Suite_Start_To_Controller_Karaf" owner="KarafKeywords">
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.095242" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:32.095133" elapsed="0.000155"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:32.095115" elapsed="0.000195"/>
</if>
<kw name="Log_Message_To_Controller_Karaf" owner="KarafKeywords">
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.100111" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:32.100005" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:32.099986" elapsed="0.000192"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.101129" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.100749" elapsed="0.000407"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.101605" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.101320" elapsed="0.000310"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:32.101674" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:51:32.101849" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:32.100405" elapsed="0.001469"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<var>${status}</var>
<var>${output}</var>
<arg>Execute_Controller_Karaf_Command_With_Retry_On_Background</arg>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.102222" elapsed="0.000021"/>
</kw>
<if>
<branch type="IF" condition="not ${tolerate_failure} and &quot;${status}&quot; != &quot;PASS&quot;">
<kw name="Fail" owner="BuiltIn">
<arg>${output}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.102468" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:51:32.102320" elapsed="0.000200"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:51:32.102303" elapsed="0.000240"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.102074" elapsed="0.000526"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.101925" elapsed="0.000703"/>
</for>
<arg>Starting suite ${SUITE_SOURCE}</arg>
<arg>${member_index_list}</arg>
<doc>Make sure this resource is initialized. Send a message into the controller's karaf log file on every node listed (or all).
By default, failure while processing a node is silently ignored, unless ${tolerate_failure} is False.</doc>
<status status="PASS" start="2026-04-07T08:51:32.099703" elapsed="0.002980"/>
</kw>
<doc>Log suite name to karaf log, useful in suite setup.</doc>
<status status="PASS" start="2026-04-07T08:51:32.093197" elapsed="0.009556"/>
</kw>
<arg>KarafKeywords.Log_Test_Suite_Start_To_Controller_Karaf</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:51:32.092775" elapsed="0.010021"/>
</kw>
<doc>Prepare both FailFast and Karaf logging, log that the caller suite has started.
This keyword is to be used in suite setup, and without it the other keywords may not work properly.</doc>
<status status="PASS" start="2026-04-07T08:51:32.066561" elapsed="0.036283"/>
</kw>
<kw name="Create_Default_Session" owner="TemplatedRequests">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-07T08:51:32.131240" level="INFO">Creating Session using : alias=default, url=http://:8181, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7494bfd47d90&gt;, timeout=5, proxies=None, verify=False,                     debug=0 </msg>
<arg>default</arg>
<arg>url=${url}</arg>
<arg>auth=${auth}</arg>
<arg>timeout=${timeout}</arg>
<arg>max_retries=${max_retries}</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-04-07T08:51:32.130812" elapsed="0.000570"/>
</kw>
<doc>Create "default" session to ${url} with authentication and connection parameters.
This Keyword is in this Resource only so that user do not need to call RequestsLibrary directly.</doc>
<status status="PASS" start="2026-04-07T08:51:32.130280" elapsed="0.001184"/>
</kw>
<kw name="PC_Setup" owner="PrefixCounting">
<kw name="WU_Setup" owner="WaitUtils">
<kw name="SC_Setup" owner="ScalarClosures">
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:51:32.132696" elapsed="0.000053"/>
</return>
<msg time="2026-04-07T08:51:32.132942" level="INFO">${sc_fail} = ['BuiltIn.Fail', [], {}]</msg>
<var>${sc_fail}</var>
<arg>BuiltIn.Fail</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:51:32.132511" elapsed="0.000457"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.137570" level="INFO">${ScalarClosures__fail} = ['BuiltIn.Fail', [], {}]</msg>
<arg>${ScalarClosures__fail}</arg>
<arg>${sc_fail}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:32.133140" elapsed="0.004476"/>
</kw>
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:51:32.138037" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:51:32.138248" level="INFO">${sc_identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<var>${sc_identity}</var>
<arg>BuiltIn.Set_Variable</arg>
<arg>placeholder</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:51:32.137851" elapsed="0.000423"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.142811" level="INFO">${ScalarClosures__identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<arg>${ScalarClosures__identity}</arg>
<arg>${sc_identity}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:32.138444" elapsed="0.004415"/>
</kw>
<doc>Resource setup. Create closures and assign them to suite variables.</doc>
<status status="PASS" start="2026-04-07T08:51:32.132266" elapsed="0.010653"/>
</kw>
<doc>Call dependency setup. Perhaps needed.</doc>
<status status="PASS" start="2026-04-07T08:51:32.131999" elapsed="0.010966"/>
</kw>
<doc>Call dependency setups and construct suite variables.</doc>
<status status="PASS" start="2026-04-07T08:51:32.131739" elapsed="0.011271"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-07T08:51:32.143484" level="INFO">Creating Session using : alias=operational, url=http://:8181, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7494bfcf3590&gt;, timeout=125, proxies=None, verify=False,                     debug=0 </msg>
<arg>operational</arg>
<arg>http://${ODL_SYSTEM_IP}:${RESTCONFPORT}</arg>
<arg>auth=${AUTH}</arg>
<arg>timeout=125</arg>
<arg>max_retries=0</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-04-07T08:51:32.143164" elapsed="0.000425"/>
</kw>
<kw name="Set Default Configuration" owner="SSHLibrary">
<arg>prompt=${ODL_SYSTEM_PROMPT}</arg>
<doc>Update the default `configuration`.</doc>
<status status="PASS" start="2026-04-07T08:51:32.143803" elapsed="0.000177"/>
</kw>
<kw name="Open Connection" owner="SSHLibrary">
<arg>${ODL_SYSTEM_IP}</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="PASS" start="2026-04-07T08:51:32.144141" elapsed="0.000201"/>
</kw>
<kw name="Flexible_Controller_Login" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Flexible_SSH_Login" owner="SSHKeywords">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.146016" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:51:32.146092" level="INFO">${pwd_length} = 0</msg>
<var>${pwd_length}</var>
<arg>${password}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:51:32.145745" elapsed="0.000370"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${pwd_length} &gt; 0</arg>
<arg>SSHLibrary.Login</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:32.146280" elapsed="0.000519"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-07T08:51:32.147697" level="INFO">Logging into ':22' as 'jenkins'.</msg>
<msg time="2026-04-07T08:51:32.148047" level="FAIL">OSError: [Errno 16] Device or resource busy</msg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Logs into the SSH server using key-based authentication.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.147350" elapsed="0.001173">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:51:32.148579" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>SSHLibrary.Login With Public Key</arg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.146978" elapsed="0.001649"/>
</kw>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>On active SSH session: if given non-empty password, do Login, else do Login With Public Key.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.145293" elapsed="0.003457">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:51:32.148799" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Flexible SSH Login</arg>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.144892" elapsed="0.004013"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Controller machine.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.144542" elapsed="0.004456">OSError: [Errno 16] Device or resource busy</status>
</kw>
<kw name="Require_Python" owner="SSHKeywords">
<doc>Verify current SSH connection leads to machine with python working. Fatal fail otherwise.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.149267" elapsed="0.000026"/>
</kw>
<kw name="Assure_Library_Ipaddr" owner="SSHKeywords">
<arg>target_dir=.</arg>
<doc>Tests whether ipaddr module is present on ssh-connected machine, Puts ipaddr.py to target_dir if not.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.149531" elapsed="0.000023"/>
</kw>
<kw name="Put File" owner="SSHLibrary">
<arg>/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/suites/bgpcep/bgpingest/../../../../tools/fastbgp/play.py</arg>
<doc>Uploads file(s) from the local machine to the remote machine.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.149709" elapsed="0.000035"/>
</kw>
<kw name="Convert Time" owner="DateTime">
<var>${period}</var>
<arg>${CHECK_PERIOD_PREFIX_COUNT_MANY}</arg>
<arg>result_format=number</arg>
<doc>Converts between supported `time formats`.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.149898" elapsed="0.000020"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${timeout}</var>
<arg>${TEST_DURATION_MULTIPLIER_PREFIX_COUNT_MANY} * (${COUNT_PREFIX_COUNT_MANY} * 3.0 / 10000 + ${period} * (${REPETITIONS_PREFIX_COUNT_MANY} + 1)) + 20</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.150073" elapsed="0.000020"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${bgp_filling_timeout}</arg>
<arg>${timeout}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.150251" elapsed="0.000020"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${timeout}</var>
<arg>${TEST_DURATION_MULTIPLIER_PREFIX_COUNT_MANY} * (${COUNT_PREFIX_COUNT_MANY} * 2.0 / 10000 + ${period} * (${REPETITIONS_PREFIX_COUNT_MANY} + 1)) + 20</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.150423" elapsed="0.000019"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${bgp_emptying_timeout}</arg>
<arg>${timeout}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.150600" elapsed="0.000020"/>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<arg>log:set ${KARAF_LOG_LEVEL}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.150973" elapsed="0.000024"/>
</kw>
<doc>Setup imported resources, SSH-login to ODL system,
create HTTP session, put Python tool to ODL system.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.066266" elapsed="0.084819">OSError: [Errno 16] Device or resource busy</status>
</kw>
<test id="s1-s5-t1" name="Check_For_Empty_Ipv4_Topology_Before_Talking" line="100">
<doc>Wait for example-ipv4-topology to come up and empty. Give large timeout for case when BGP boots slower than restconf.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:32.151155" elapsed="0.000601">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s5-t2" name="Reconfigure_ODL_To_Accept_Connections" line="106">
<doc>Configure BGP peer modules with initiate-connection set to false.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.151938" elapsed="0.000383">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s5-t3" name="Change_Karaf_Logging_Levels" line="126">
<doc>We may want to set more verbose logging here after configuration is done.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.152487" elapsed="0.000388">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s5-t4" name="Start_Talking_BGP_Manager" line="132">
<doc>Start Python manager to connect speakers to ODL.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.153041" elapsed="0.000326">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s5-t5" name="Wait_For_Stable_Talking_Ipv4_Topology" line="138">
<doc>Wait until example-ipv4-topology becomes stable. This is done by checking stability of prefix count.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.153530" elapsed="0.000466">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s5-t6" name="Check_Talking_Ipv4_Topology_Count" line="146">
<doc>Count the routes in example-ipv4-topology and fail if the count is not correct.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:32.154164" elapsed="0.000414">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s5-t7" name="Kill_Talking_BGP_Speakers" line="152">
<doc>Abort the Python speakers. Also, attempt to stop failing fast.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.154761" elapsed="0.000349">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s5-t8" name="Wait_For_Stable_Ipv4_Topology_After_Talking" line="160">
<doc>Wait until example-ipv4-topology becomes stable again.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:32.155276" elapsed="0.000399">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s5-t9" name="Check_For_Empty_Ipv4_Topology_After_Talking" line="172">
<doc>Example-ipv4-topology should be empty now.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:32.155860" elapsed="0.000374">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s5-t10" name="Restore_Karaf_Logging_Levels" line="178">
<doc>Set logging on bgpcep and protocol to the global value.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.156400" elapsed="0.000358">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s5-t11" name="Delete_Bgp_Peer_Configuration" line="182">
<doc>Revert the BGP configuration to the original state: without any configured peers.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.156921" elapsed="0.000385">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<kw name="Teardown_Everything" type="TEARDOWN">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Search_And_Kill_Remote_Python" owner="KillPythonTool">
<kw name="Search_For_Remote_Python_Processes" owner="KillPythonTool">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:51:32.159054" level="INFO">Executing command 'ps -elf | egrep python | egrep 'play.py' | egrep -v grep'.</msg>
<msg time="2026-04-07T08:51:32.159355" level="INFO">${processes} = None</msg>
<msg time="2026-04-07T08:51:32.159395" level="FAIL">Connection not open</msg>
<var>${processes}</var>
<arg>ps -elf | egrep python | egrep ${filter} | egrep -v grep</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.158919" elapsed="0.000819">Connection not open</status>
</kw>
<return>
<value>${processes}</value>
<status status="PASS" start="2026-04-07T08:51:32.159802" elapsed="0.000030"/>
</return>
<msg time="2026-04-07T08:51:32.160005" level="INFO">${processes} = None</msg>
<var>${processes}</var>
<arg>${filter}</arg>
<doc>Only searches for the list of processes, in case something else than kill has to be done with them.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.158630" elapsed="0.001436">Connection not open</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.160510" level="INFO">None</msg>
<arg>${processes}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:51:32.160249" elapsed="0.000306"/>
</kw>
<kw name="Kill_Remote_Processes" owner="KillPythonTool">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.161462" level="INFO">${arg_length} = None</msg>
<msg time="2026-04-07T08:51:32.161502" level="FAIL">Could not get length of 'None'.</msg>
<var>${arg_length}</var>
<arg>${pself_lines}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.161119" elapsed="0.000509">Could not get length of 'None'.</status>
</kw>
<if>
<branch type="IF" condition="${arg_length} == 0">
<return>
<status status="NOT RUN" start="2026-04-07T08:51:32.161854" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:32.161731" elapsed="0.000164"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:32.161696" elapsed="0.000222"/>
</if>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:51:32.162237" level="INFO">Executing command 'echo 'None' | awk '{print "kill -9",$4}''.</msg>
<msg time="2026-04-07T08:51:32.162378" level="INFO">${commands} = None</msg>
<msg time="2026-04-07T08:51:32.162419" level="FAIL">Connection not open</msg>
<var>${commands}</var>
<arg>echo '${pself_lines}' | awk '{print "kill -${signal}",$4}'</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.162072" elapsed="0.000633">Connection not open</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.163149" level="INFO">None</msg>
<arg>${commands}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:51:32.162899" elapsed="0.000295"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:51:32.163522" level="INFO">Executing command 'echo 'set -exu; None' | sudo sh'.</msg>
<msg time="2026-04-07T08:51:32.163646" level="INFO">${stdout} = None</msg>
<msg time="2026-04-07T08:51:32.163725" level="INFO">${stderr} = None</msg>
<msg time="2026-04-07T08:51:32.163767" level="FAIL">Connection not open</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<arg>echo 'set -exu; ${commands}' | sudo sh</arg>
<arg>return_stderr=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.163354" elapsed="0.000696">Connection not open</status>
</kw>
<arg>${processes}</arg>
<doc>Kill processes by PIDs from given list (no-op if the list is empty), using specified signal. Log the kill commands used.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.160818" elapsed="0.003368">Several failures occurred:

1) Could not get length of 'None'.

2) Connection not open

3) Connection not open</status>
</kw>
<arg>'play\.py'</arg>
<doc>The main keyword. Search for processes, Log the list of them, kill them.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.158347" elapsed="0.005953">Several failures occurred:

1) Connection not open

2) Could not get length of 'None'.

3) Connection not open

4) Connection not open</status>
</kw>
<arg>KillPythonTool.Search_And_Kill_Remote_Python</arg>
<arg>'play\.py'</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:51:32.157943" elapsed="0.006411"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get_Sysstat_Statistics" owner="Utils">
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-07T08:51:32.165389" level="INFO">index=1
host=
alias=None
port=22
timeout=10 seconds
newline=

prompt=&gt;
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-07T08:51:32.165497" level="INFO">${current_connection} = index=1
host=
alias=None
port=22
timeout=10 seconds
newline=

prompt=&gt;
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<var>${current_connection}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-07T08:51:32.165263" elapsed="0.000261"/>
</kw>
<kw name="Open_Connection_To_ODL_System" owner="SSHKeywords">
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-07T08:51:32.166492" level="INFO">${odl_connection} = 2</msg>
<var>${odl_connection}</var>
<arg>${ip_address}</arg>
<arg>prompt=${ODL_SYSTEM_PROMPT}</arg>
<arg>timeout=${timeout}</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="PASS" start="2026-04-07T08:51:32.166112" elapsed="0.000406"/>
</kw>
<kw name="Flexible_Controller_Login" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Flexible_SSH_Login" owner="SSHKeywords">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.168346" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:51:32.168423" level="INFO">${pwd_length} = 0</msg>
<var>${pwd_length}</var>
<arg>${password}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:51:32.167947" elapsed="0.000500"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${pwd_length} &gt; 0</arg>
<arg>SSHLibrary.Login</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:32.168613" elapsed="0.000345"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-07T08:51:32.169833" level="INFO">Logging into ':22' as 'jenkins'.</msg>
<msg time="2026-04-07T08:51:32.170108" level="FAIL">OSError: [Errno 16] Device or resource busy</msg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Logs into the SSH server using key-based authentication.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.169496" elapsed="0.001032">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:51:32.170583" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>SSHLibrary.Login With Public Key</arg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.169134" elapsed="0.001511"/>
</kw>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>On active SSH session: if given non-empty password, do Login, else do Login With Public Key.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.167454" elapsed="0.003323">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:51:32.170824" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Flexible SSH Login</arg>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.167057" elapsed="0.003821"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Controller machine.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.166705" elapsed="0.004276">OSError: [Errno 16] Device or resource busy</status>
</kw>
<return>
<value>${odl_connection}</value>
<status status="PASS" start="2026-04-07T08:51:32.171028" elapsed="0.000028"/>
</return>
<arg>${ip_address}</arg>
<doc>Open a connection to the ODL system at  and return its identifier.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.165794" elapsed="0.005401">OSError: [Errno 16] Device or resource busy</status>
</kw>
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-07T08:51:32.171580" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>sar -A -f /var/log/sa/sa*</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.171408" elapsed="0.000635">Cannot open session, you need to establish a connection first.</status>
</kw>
<kw name="Read Until Prompt" owner="SSHLibrary">
<msg time="2026-04-07T08:51:32.172408" level="INFO">${output} = None</msg>
<msg time="2026-04-07T08:51:32.172449" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<var>${output}</var>
<doc>Consumes and returns the server output until the prompt is found.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.172225" elapsed="0.000795">Cannot open session, you need to establish a connection first.</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.173448" level="INFO">None</msg>
<arg>${output}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:51:32.173195" elapsed="0.000297"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-07T08:51:32.173646" elapsed="0.000121"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-07T08:51:32.173809" elapsed="0.000028"/>
</return>
<kw name="Restore_Current_Ssh_Connection_From_Index" owner="SSHKeywords" type="TEARDOWN">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-07T08:51:32.177177" elapsed="0.000137"/>
</kw>
<msg time="2026-04-07T08:51:32.177357" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${connection_index} is not None</arg>
<arg>SSHLibrary.Switch Connection</arg>
<arg>${connection_index}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:32.176689" elapsed="0.000726"/>
</kw>
<kw name="Open Connection" owner="SSHLibrary">
<arg>127.0.0.1</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.177579" elapsed="0.000021"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.177763" elapsed="0.000021"/>
</kw>
<arg>${current_connection.index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-07T08:51:32.174158" elapsed="0.003687"/>
</kw>
<doc>Store current connection index, open new connection to ip_address. Run command to get sysstat results from script,
which is running on all children nodes. Returns cpu, network, memory usage statistics from the node for each 10 minutes
that node was running. Used for debug purposes. Returns whole output of sysstat.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.164971" elapsed="0.013002">Several failures occurred:

1) OSError: [Errno 16] Device or resource busy

2) Cannot open session, you need to establish a connection first.

3) Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>Utils.Get_Sysstat_Statistics</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:51:32.164518" elapsed="0.013510"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary">
<msg time="2026-04-07T08:51:32.178253" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects</doc>
<status status="PASS" start="2026-04-07T08:51:32.178178" elapsed="0.000154"/>
</kw>
<kw name="Close All Connections" owner="SSHLibrary">
<doc>Closes all open connections.</doc>
<status status="PASS" start="2026-04-07T08:51:32.178483" elapsed="0.000098"/>
</kw>
<doc>Make sure Python tool was killed and tear down imported Resources.</doc>
<status status="PASS" start="2026-04-07T08:51:32.157695" elapsed="0.020936"/>
</kw>
<doc>BGP performance of ingesting from many iBGP peers, data change counter NOT used.

Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.

This program and the accompanying materials are made available under the
terms of the Eclipse Public License v1.0 which accompanies this distribution,
and is available at http://www.eclipse.org/legal/epl-v10.html


This suite uses play.py processes as iBGP peers.
This is analogue of single peer performance suite, which uses many peers.
Each peer is of ibgp type, and they contribute to the same example-bgp-rib,
and thus to the same single example-ipv4-topology.
The suite only looks at example-ipv4-topology, so RIB is not examined.

The suite consists of two halves, differing on which side initiates BGP connection.
State of "work is being done" is detected by increasing value of prefixes in topology.
The time for Wait_For_Stable_* cases to finish is the main performance metric.
After waiting for stability is done, full check on number of prefixes present is performed.

TODO: Currently, if a bug causes prefix count to remain at zero,
affected test cases will wait for max time. Reconsider.
If zero is allowed as stable, higher period or repetitions would be required.

The prefix counting is quite heavyweight and may induce large variation in time.
Try the other version of the suite (manypeers_changecount.robot) to get better precision.

ODL distinguishes peers by their IP addresses.
Currently, this suite requires python utils to be started on ODL System,
to guarantee IP address block is available for them to bind to.
TODO: Figure out how to use Docker and docker IP pool available in RelEng.

Currently, 127.0.0.1 is hardcoded as the first peer address to use.
TODO: Figure out how to make it configurable.
As peer IP adresses are set incrementally, we need ipaddr to be used in Robot somehow.

Brief description how to configure BGP peer can be found here:
https://wiki.opendaylight.org/view/BGP_LS_PCEP:User_Guide#BGP_Peer
http://docs.opendaylight.org/en/stable-boron/user-guide/bgp-user-guide.html#bgp-peering

TODO: Is there a need for version of this suite where ODL connects to pers?
Note that configuring ODL is slow, which may affect measured performance singificantly.
Advanced TODO: Give manager ability to start pushing on trigger long after connections are established.</doc>
<status status="FAIL" start="2026-04-07T08:51:31.988165" elapsed="0.190497">Suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</suite>
<suite id="s1-s6" name="Manypeers Changecount" source="/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/suites/bgpcep/bgpingest/manypeers_changecount.robot">
<kw name="Setup_Everything" type="SETUP">
<kw name="Setup_Utils_For_Setup_And_Teardown" owner="SetupUtils">
<kw name="Do_Not_Fail_Fast_From_Now_On" owner="FailFast">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.272372" level="INFO">${SuiteFastFail} = False</msg>
<arg>${SuiteFastFail}</arg>
<arg>False</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:32.267822" elapsed="0.004597"/>
</kw>
<doc>Set suite to not fail fast.</doc>
<status status="PASS" start="2026-04-07T08:51:32.267538" elapsed="0.004940"/>
</kw>
<kw name="Setup_Karaf_Keywords" owner="KarafKeywords">
<kw name="ClusterManagement_Setup" owner="ClusterManagement">
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.277800" level="INFO">${already_done} = False</msg>
<var>${already_done}</var>
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>False</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-07T08:51:32.273595" elapsed="0.004232"/>
</kw>
<if>
<branch type="IF" condition="${already_done}">
<return>
<status status="NOT RUN" start="2026-04-07T08:51:32.278106" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:32.278000" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:32.277978" elapsed="0.000194"/>
</if>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.278699" level="INFO">${ClusterManagement__has_setup_run} = True</msg>
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:32.278342" elapsed="0.000416"/>
</kw>
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.279252" level="INFO">${cluster_size} = 0</msg>
<var>${cluster_size}</var>
<arg>\${NUM_ODL_SYSTEM}</arg>
<arg>1</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-07T08:51:32.278939" elapsed="0.000339"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Convert To Integer" owner="BuiltIn">
<arg>${cluster_size}</arg>
<doc>Converts the given item to an integer number.</doc>
<status status="PASS" start="2026-04-07T08:51:32.279855" elapsed="0.000282"/>
</kw>
<msg time="2026-04-07T08:51:32.280234" level="INFO">${status} = PASS</msg>
<msg time="2026-04-07T08:51:32.280280" level="INFO">${possibly_int_of_members} = 0</msg>
<var>${status}</var>
<var>${possibly_int_of_members}</var>
<arg>BuiltIn.Convert_To_Integer</arg>
<arg>${cluster_size}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:51:32.279458" elapsed="0.000845"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.280870" level="INFO">${int_of_members} = 0</msg>
<var>${int_of_members}</var>
<arg>'${status}' != 'PASS'</arg>
<arg>${1}</arg>
<arg>${possibly_int_of_members}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.280486" elapsed="0.000411"/>
</kw>
<kw name="ClusterManagement__Compute_Derived_Variables" owner="ClusterManagement">
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.281902" level="INFO">@{member_index_list} = [ ]</msg>
<var>@{member_index_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.281620" elapsed="0.000309"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.282349" level="INFO">@{session_list} = [ ]</msg>
<var>@{session_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.282092" elapsed="0.000283"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.282851" level="INFO">&amp;{index_to_ip_mapping} = { }</msg>
<var>&amp;{index_to_ip_mapping}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:51:32.282547" elapsed="0.000330"/>
</kw>
<for flavor="IN RANGE">
<iter>
<kw name="ClusterManagement__Include_Member_Index" owner="ClusterManagement">
<arg>${index}</arg>
<arg>${member_index_list}</arg>
<arg>${session_list}</arg>
<arg>${index_to_ip_mapping}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>http_retries=${http_retries}</arg>
<doc>Add a corresponding item based on index into the last three arguments.
Create the Http session whose alias is added to list.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.285705" elapsed="0.000039"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.285500" elapsed="0.000292"/>
</iter>
<var>${index}</var>
<value>1</value>
<value>${int_of_members+1}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.282934" elapsed="0.002887"/>
</for>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.286398" level="INFO">${ClusterManagement__member_index_list} = []</msg>
<arg>\${ClusterManagement__member_index_list}</arg>
<arg>${member_index_list}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:32.285998" elapsed="0.000444"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.287030" level="INFO">${ClusterManagement__index_to_ip_mapping} = {}</msg>
<arg>\${ClusterManagement__index_to_ip_mapping}</arg>
<arg>${index_to_ip_mapping}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:32.286617" elapsed="0.000456"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.287630" level="INFO">${ClusterManagement__session_list} = []</msg>
<arg>\${ClusterManagement__session_list}</arg>
<arg>${session_list}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:32.287247" elapsed="0.000446"/>
</kw>
<arg>int_of_members=${int_of_members}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>http_retries=${http_retries}</arg>
<doc>Construct index list, session list and IP mapping, publish them as suite variables.</doc>
<status status="PASS" start="2026-04-07T08:51:32.281155" elapsed="0.006613"/>
</kw>
<arg>http_timeout=${http_timeout}</arg>
<doc>Detect repeated call, or detect number of members and initialize derived suite variables.
Http sessions are created with parameters to not waste time when ODL is no accepting connections properly.</doc>
<status status="PASS" start="2026-04-07T08:51:32.273241" elapsed="0.014584"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.288003" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:32.287891" elapsed="0.000157"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:32.287872" elapsed="0.000198"/>
</if>
<kw name="Run_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.291347" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.290971" elapsed="0.000403"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.291882" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.291548" elapsed="0.000360"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:32.291954" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:51:32.292108" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:32.290611" elapsed="0.001522"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<doc>Obtain IP, call Utils and return output. This keeps previous ssh session active.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.292491" elapsed="0.000023"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.292298" elapsed="0.000252"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.292189" elapsed="0.000386"/>
</for>
<arg>iptables -I INPUT -p tcp --dport ${KARAF_SHELL_PORT} -j ACCEPT; iptables-save</arg>
<doc>Cycle through indices (or all), run command on each.</doc>
<status status="PASS" start="2026-04-07T08:51:32.288304" elapsed="0.004367"/>
</kw>
<kw name="Comment" owner="BuiltIn">
<arg>First connections to Karaf console may fail, so WUKS is used. TODO: Track as a Bug.</arg>
<doc>Displays the given messages in the log file as keyword arguments.</doc>
<status status="PASS" start="2026-04-07T08:51:32.292856" elapsed="0.000214"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<arg>BuiltIn.Wait_Until_Keyword_Succeeds</arg>
<arg>3s</arg>
<arg>1s</arg>
<arg>Open_Controller_Karaf_Console_On_Background</arg>
<arg>member_index=${index}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.293391" elapsed="0.000021"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.293239" elapsed="0.000216"/>
</iter>
<var>${index}</var>
<value>@{ClusterManagement__member_index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.293122" elapsed="0.000359"/>
</for>
<arg>http_timeout=${http_timeout}</arg>
<doc>Initialize ClusterManagement. Open ssh karaf connections to each ODL.</doc>
<status status="PASS" start="2026-04-07T08:51:32.272792" elapsed="0.020742"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Test_Suite_Start_To_Controller_Karaf" owner="KarafKeywords">
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.296339" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:32.296229" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:32.296210" elapsed="0.000197"/>
</if>
<kw name="Log_Message_To_Controller_Karaf" owner="KarafKeywords">
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.301554" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:32.301447" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:32.301428" elapsed="0.000194"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.302596" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.302217" elapsed="0.000405"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.303098" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.302811" elapsed="0.000312"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:32.303169" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:51:32.303322" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:32.301874" elapsed="0.001472"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<var>${status}</var>
<var>${output}</var>
<arg>Execute_Controller_Karaf_Command_With_Retry_On_Background</arg>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.303746" elapsed="0.000024"/>
</kw>
<if>
<branch type="IF" condition="not ${tolerate_failure} and &quot;${status}&quot; != &quot;PASS&quot;">
<kw name="Fail" owner="BuiltIn">
<arg>${output}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.304006" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:51:32.303847" elapsed="0.000211"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:51:32.303830" elapsed="0.000251"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.303544" elapsed="0.000560"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.303397" elapsed="0.000731"/>
</for>
<arg>Starting suite ${SUITE_SOURCE}</arg>
<arg>${member_index_list}</arg>
<doc>Make sure this resource is initialized. Send a message into the controller's karaf log file on every node listed (or all).
By default, failure while processing a node is silently ignored, unless ${tolerate_failure} is False.</doc>
<status status="PASS" start="2026-04-07T08:51:32.301159" elapsed="0.003022"/>
</kw>
<doc>Log suite name to karaf log, useful in suite setup.</doc>
<status status="PASS" start="2026-04-07T08:51:32.294140" elapsed="0.010095"/>
</kw>
<arg>KarafKeywords.Log_Test_Suite_Start_To_Controller_Karaf</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:51:32.293699" elapsed="0.010577"/>
</kw>
<doc>Prepare both FailFast and Karaf logging, log that the caller suite has started.
This keyword is to be used in suite setup, and without it the other keywords may not work properly.</doc>
<status status="PASS" start="2026-04-07T08:51:32.267214" elapsed="0.037110"/>
</kw>
<kw name="Create_Default_Session" owner="TemplatedRequests">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-07T08:51:32.308964" level="INFO">Creating Session using : alias=default, url=http://:8181, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7494bfc45850&gt;, timeout=5, proxies=None, verify=False,                     debug=0 </msg>
<arg>default</arg>
<arg>url=${url}</arg>
<arg>auth=${auth}</arg>
<arg>timeout=${timeout}</arg>
<arg>max_retries=${max_retries}</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-04-07T08:51:32.308572" elapsed="0.000520"/>
</kw>
<doc>Create "default" session to ${url} with authentication and connection parameters.
This Keyword is in this Resource only so that user do not need to call RequestsLibrary directly.</doc>
<status status="PASS" start="2026-04-07T08:51:32.308147" elapsed="0.001014"/>
</kw>
<kw name="CC_Setup" owner="ChangeCounter">
<kw name="Create_Default_Session" owner="TemplatedRequests">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-07T08:51:32.313875" level="INFO">Creating Session using : alias=default, url=http://:8181, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7494c1db3d10&gt;, timeout=5, proxies=None, verify=False,                     debug=0 </msg>
<arg>default</arg>
<arg>url=${url}</arg>
<arg>auth=${auth}</arg>
<arg>timeout=${timeout}</arg>
<arg>max_retries=${max_retries}</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-04-07T08:51:32.313503" elapsed="0.000474"/>
</kw>
<doc>Create "default" session to ${url} with authentication and connection parameters.
This Keyword is in this Resource only so that user do not need to call RequestsLibrary directly.</doc>
<status status="PASS" start="2026-04-07T08:51:32.313088" elapsed="0.000957"/>
</kw>
<kw name="WU_Setup" owner="WaitUtils">
<kw name="SC_Setup" owner="ScalarClosures">
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:51:32.315018" elapsed="0.000031"/>
</return>
<msg time="2026-04-07T08:51:32.315230" level="INFO">${sc_fail} = ['BuiltIn.Fail', [], {}]</msg>
<var>${sc_fail}</var>
<arg>BuiltIn.Fail</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:51:32.314836" elapsed="0.000419"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.320253" level="INFO">${ScalarClosures__fail} = ['BuiltIn.Fail', [], {}]</msg>
<arg>${ScalarClosures__fail}</arg>
<arg>${sc_fail}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:32.315433" elapsed="0.004866"/>
</kw>
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:51:32.320683" elapsed="0.000043"/>
</return>
<msg time="2026-04-07T08:51:32.320913" level="INFO">${sc_identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<var>${sc_identity}</var>
<arg>BuiltIn.Set_Variable</arg>
<arg>placeholder</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:51:32.320497" elapsed="0.000441"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.325797" level="INFO">${ScalarClosures__identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<arg>${ScalarClosures__identity}</arg>
<arg>${sc_identity}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:32.321117" elapsed="0.004727"/>
</kw>
<doc>Resource setup. Create closures and assign them to suite variables.</doc>
<status status="PASS" start="2026-04-07T08:51:32.314572" elapsed="0.011332"/>
</kw>
<doc>Call dependency setup. Perhaps needed.</doc>
<status status="PASS" start="2026-04-07T08:51:32.314289" elapsed="0.011663"/>
</kw>
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:51:32.326350" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:51:32.326558" level="INFO">${counter} = ['Get_Change_Count', [], {}]</msg>
<var>${counter}</var>
<arg>Get_Change_Count</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:51:32.326164" elapsed="0.000420"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.331654" level="INFO">${ChangeCounter__getter} = ['Get_Change_Count', [], {}]</msg>
<arg>${ChangeCounter__getter}</arg>
<arg>${counter}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:32.326775" elapsed="0.004926"/>
</kw>
<doc>Initialize dependency libraries.</doc>
<status status="PASS" start="2026-04-07T08:51:32.309382" elapsed="0.022393"/>
</kw>
<kw name="PC_Setup" owner="PrefixCounting">
<kw name="WU_Setup" owner="WaitUtils">
<kw name="SC_Setup" owner="ScalarClosures">
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:51:32.333024" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:51:32.333231" level="INFO">${sc_fail} = ['BuiltIn.Fail', [], {}]</msg>
<var>${sc_fail}</var>
<arg>BuiltIn.Fail</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:51:32.332848" elapsed="0.000409"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.333828" level="INFO">${ScalarClosures__fail} = ['BuiltIn.Fail', [], {}]</msg>
<arg>${ScalarClosures__fail}</arg>
<arg>${sc_fail}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:32.333431" elapsed="0.000440"/>
</kw>
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:51:32.334244" elapsed="0.000028"/>
</return>
<msg time="2026-04-07T08:51:32.334451" level="INFO">${sc_identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<var>${sc_identity}</var>
<arg>BuiltIn.Set_Variable</arg>
<arg>placeholder</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:51:32.334063" elapsed="0.000413"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.335050" level="INFO">${ScalarClosures__identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<arg>${ScalarClosures__identity}</arg>
<arg>${sc_identity}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:32.334653" elapsed="0.000439"/>
</kw>
<doc>Resource setup. Create closures and assign them to suite variables.</doc>
<status status="PASS" start="2026-04-07T08:51:32.332518" elapsed="0.002631"/>
</kw>
<doc>Call dependency setup. Perhaps needed.</doc>
<status status="PASS" start="2026-04-07T08:51:32.332243" elapsed="0.002951"/>
</kw>
<doc>Call dependency setups and construct suite variables.</doc>
<status status="PASS" start="2026-04-07T08:51:32.331980" elapsed="0.003258"/>
</kw>
<kw name="Open_Controller_Karaf_Console_On_Background" owner="KarafKeywords">
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.350333" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:32.350223" elapsed="0.000157"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:32.350204" elapsed="0.000198"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-07T08:51:32.350742" level="INFO">index=None
host=None
alias=None
port=22
timeout=3 seconds
newline=

prompt=None
term_type=vt100
width=80
height=24
path_separator=/
encoding=utf8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-07T08:51:32.350849" level="INFO">${current_ssh_connection_object} = index=None
host=None
alias=None
port=22
timeout=3 seconds
newline=

prompt=None
term_type=vt100
width=80
height=24
path_separator=/
encoding=utf8
escape_ansi=False
encoding_errors=strict</msg>
<var>${current_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-07T08:51:32.350571" elapsed="0.000304"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.351300" level="INFO">{}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:51:32.351044" elapsed="0.000300"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.351784" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:51:32.351509" elapsed="0.000319"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-07T08:51:32.352607" level="FAIL">Dictionary does not contain key '1'.</msg>
<arg>${connection_index_dict}</arg>
<arg>${member_index}</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.352389" elapsed="0.000312">Dictionary does not contain key '1'.</status>
</kw>
<msg time="2026-04-07T08:51:32.352822" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-07T08:51:32.352868" level="INFO">${old_connection_index} = Dictionary does not contain key '1'.</msg>
<var>${status}</var>
<var>${old_connection_index}</var>
<arg>Get From Dictionary</arg>
<arg>${connection_index_dict}</arg>
<arg>${member_index}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:51:32.352001" elapsed="0.000926"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<arg>SSHLibrary.Switch_Connection</arg>
<arg>${old_connection_index}</arg>
<arg>AND</arg>
<arg>BuiltIn.Run_Keyword_And_Ignore_Error</arg>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<arg>AND</arg>
<arg>BuiltIn.Run_Keyword_And_Ignore_Error</arg>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Executes all the given keywords in a sequence.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.353244" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:51:32.353005" elapsed="0.000315"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:32.352986" elapsed="0.000359"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-07T08:51:32.354131" level="FAIL">Dictionary does not contain key '1'.</msg>
<var>${ip_address}</var>
<arg>dictionary=${ClusterManagement__index_to_ip_mapping}</arg>
<arg>key=${member_index}</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.353865" elapsed="0.000351">Dictionary does not contain key '1'.</status>
</kw>
<return>
<value>${ip_address}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.354276" elapsed="0.000016"/>
</return>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.353562" elapsed="0.000818">Dictionary does not contain key '1'.</status>
</kw>
<kw name="Open Connection" owner="SSHLibrary">
<arg>${odl_ip}</arg>
<arg>port=${KARAF_SHELL_PORT}</arg>
<arg>prompt=${KARAF_PROMPT_LOGIN}</arg>
<arg>timeout=${timeout}</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.354557" elapsed="0.000021"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.354765" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${connection_index_dict}</arg>
<arg>${member_index}</arg>
<arg>${karaf_connection_object.index}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.354944" elapsed="0.000019"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<arg>${KARAF_USER}</arg>
<arg>${KARAF_PASSWORD}</arg>
<arg>loglevel=${loglevel}</arg>
<doc>Logs into the SSH server with the given ``username`` and ``password``.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.355167" elapsed="0.000026"/>
</kw>
<kw name="Run Keyword If" owner="BuiltIn" type="TEARDOWN">
<kw name="Restore_Current_Ssh_Connection_From_Index" owner="SSHKeywords">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${connection_index} is not None</arg>
<arg>SSHLibrary.Switch Connection</arg>
<arg>${connection_index}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:32.358856" elapsed="0.000312"/>
</kw>
<kw name="Open Connection" owner="SSHLibrary">
<arg>127.0.0.1</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="PASS" start="2026-04-07T08:51:32.359345" elapsed="0.000153"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-07T08:51:32.359692" elapsed="0.000121"/>
</kw>
<arg>${current_ssh_connection_object.index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-07T08:51:32.356290" elapsed="0.003575"/>
</kw>
<arg>'${IS_KARAF_APPL}' == 'True'</arg>
<arg>SSHKeywords.Restore_Current_Ssh_Connection_From_Index</arg>
<arg>${current_ssh_connection_object.index}</arg>
<doc>Runs the given keyword with the given arguments, if ``condition`` is true.</doc>
<status status="PASS" start="2026-04-07T08:51:32.355505" elapsed="0.004406"/>
</kw>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for ${member_index},
close the previous connection. In any case create a new connection
to karaf console for ${member_index}, set correct prompt set and login to karaf console.
Store connection index for ${member_index} and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.348343" elapsed="0.011647">Dictionary does not contain key '1'.</status>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<arg>operational</arg>
<arg>http://${ODL_SYSTEM_IP}:${RESTCONFPORT}</arg>
<arg>auth=${AUTH}</arg>
<arg>timeout=125</arg>
<arg>max_retries=0</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.360164" elapsed="0.000021"/>
</kw>
<kw name="Set Default Configuration" owner="SSHLibrary">
<arg>prompt=${ODL_SYSTEM_PROMPT}</arg>
<doc>Update the default `configuration`.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.360354" elapsed="0.000020"/>
</kw>
<kw name="Open Connection" owner="SSHLibrary">
<arg>${ODL_SYSTEM_IP}</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.360532" elapsed="0.000020"/>
</kw>
<kw name="Flexible_Controller_Login" owner="SSHKeywords">
<doc>Call Flexible SSH Login, but with default values suitable for Controller machine.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.360774" elapsed="0.000025"/>
</kw>
<kw name="Require_Python" owner="SSHKeywords">
<doc>Verify current SSH connection leads to machine with python working. Fatal fail otherwise.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.361048" elapsed="0.000024"/>
</kw>
<kw name="Assure_Library_Ipaddr" owner="SSHKeywords">
<arg>target_dir=.</arg>
<doc>Tests whether ipaddr module is present on ssh-connected machine, Puts ipaddr.py to target_dir if not.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.361317" elapsed="0.000022"/>
</kw>
<kw name="Put File" owner="SSHLibrary">
<arg>/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/suites/bgpcep/bgpingest/../../../../tools/fastbgp/play.py</arg>
<doc>Uploads file(s) from the local machine to the remote machine.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.361502" elapsed="0.000020"/>
</kw>
<kw name="Convert Time" owner="DateTime">
<var>${period}</var>
<arg>${CHECK_PERIOD_CHANGE_COUNT_MANY}</arg>
<arg>result_format=number</arg>
<doc>Converts between supported `time formats`.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.361682" elapsed="0.000019"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${timeout}</var>
<arg>${TEST_DURATION_MULTIPLIER_CHANGE_COUNT_MANY} * (${COUNT_CHANGE_COUNT_MANY} * 3.0 / 10000 + ${period} * (${REPETITIONS_CHANGE_COUNT_MANY} + 1)) + 20</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.361882" elapsed="0.000021"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${bgp_filling_timeout}</arg>
<arg>${timeout}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.362071" elapsed="0.000020"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${timeout}</var>
<arg>${TEST_DURATION_MULTIPLIER_CHANGE_COUNT_MANY} * (${COUNT_CHANGE_COUNT_MANY} * 2.0 / 10000 + ${period} * (${REPETITIONS_CHANGE_COUNT_MANY} + 1)) + 20</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.362250" elapsed="0.000020"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${bgp_emptying_timeout}</arg>
<arg>${timeout}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.362476" elapsed="0.000021"/>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<arg>log:set ${KARAF_LOG_LEVEL}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.362866" elapsed="0.000025"/>
</kw>
<doc>Setup imported resources, SSH-login to ODL system,
create HTTP session, put Python tool to ODL system.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.266924" elapsed="0.096057">Dictionary does not contain key '1'.</status>
</kw>
<test id="s1-s6-t1" name="Check_For_Empty_Ipv4_Topology_Before_Talking" line="106">
<doc>Wait for example-ipv4-topology to come up and empty. Give large timeout for case when BGP boots slower than restconf.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:32.363049" elapsed="0.000540">Parent suite setup failed:
Dictionary does not contain key '1'.</status>
</test>
<test id="s1-s6-t2" name="Reconfigure_ODL_To_Accept_Connections" line="112">
<doc>Configure BGP peer modules with initiate-connection set to false.
It sets peer-group as template, and than sets all neighbors using it.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.363816" elapsed="0.000552">Parent suite setup failed:
Dictionary does not contain key '1'.</status>
</test>
<test id="s1-s6-t3" name="Reconfigure_Data_Change_Counter" line="136">
<doc>Configure data change counter to count transactions in example-ipv4-topology instead of example-linkstate-topology.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.364541" elapsed="0.000479">Parent suite setup failed:
Dictionary does not contain key '1'.</status>
</test>
<test id="s1-s6-t4" name="Verify_For_Data_Change_Counter_Ready" line="140">
<doc>Data change counter might have been slower to start than ipv4 topology, wait for it.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.365189" elapsed="0.000412">Parent suite setup failed:
Dictionary does not contain key '1'.</status>
</test>
<test id="s1-s6-t5" name="Change_Karaf_Logging_Levels" line="144">
<doc>We may want to set more verbose logging here after configuration is done.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.365783" elapsed="0.000379">Parent suite setup failed:
Dictionary does not contain key '1'.</status>
</test>
<test id="s1-s6-t6" name="Start_Talking_BGP_Manager" line="150">
<doc>Start Python manager to connect speakers to ODL.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.366328" elapsed="0.000333">Parent suite setup failed:
Dictionary does not contain key '1'.</status>
</test>
<test id="s1-s6-t7" name="Wait_For_Stable_Talking_Ipv4_Topology" line="157">
<doc>Wait until example-ipv4-topology becomes stable. This is done by checking stability of the change counter.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.366844" elapsed="0.000448">Parent suite setup failed:
Dictionary does not contain key '1'.</status>
</test>
<test id="s1-s6-t8" name="Check_Talking_Ipv4_Topology_Count" line="165">
<doc>Count the routes in example-ipv4-topology and fail if the count is not correct.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:32.367470" elapsed="0.000581">Parent suite setup failed:
Dictionary does not contain key '1'.</status>
</test>
<test id="s1-s6-t9" name="Kill_Talking_BGP_Speakers" line="171">
<doc>Abort the Python speakers. Also, attempt to stop failing fast.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.368265" elapsed="0.000361">Parent suite setup failed:
Dictionary does not contain key '1'.</status>
</test>
<test id="s1-s6-t10" name="Wait_For_Stable_Ipv4_Topology_After_Talking" line="181">
<doc>Wait until example-ipv4-topology becomes stable again.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:32.368828" elapsed="0.000403">Parent suite setup failed:
Dictionary does not contain key '1'.</status>
</test>
<test id="s1-s6-t11" name="Check_For_Empty_Ipv4_Topology_After_Talking" line="190">
<doc>Example-ipv4-topology should be empty now.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:32.369403" elapsed="0.000390">Parent suite setup failed:
Dictionary does not contain key '1'.</status>
</test>
<test id="s1-s6-t12" name="Restore_Karaf_Logging_Levels" line="196">
<doc>Set logging on bgpcep and protocol to the global value.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.369957" elapsed="0.000382">Parent suite setup failed:
Dictionary does not contain key '1'.</status>
</test>
<test id="s1-s6-t13" name="Restore_Data_Change_Counter_Configuration" line="200">
<doc>Configure data change counter back to count transactions affecting example-linkstate-topology.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.370549" elapsed="0.000459">Parent suite setup failed:
Dictionary does not contain key '1'.</status>
</test>
<test id="s1-s6-t14" name="Delete_Bgp_Peer_Configuration" line="205">
<doc>Revert the BGP configuration to the original state: without any configured peers.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.371173" elapsed="0.000385">Parent suite setup failed:
Dictionary does not contain key '1'.</status>
</test>
<kw name="Teardown_Everything" type="TEARDOWN">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Search_And_Kill_Remote_Python" owner="KillPythonTool">
<kw name="Search_For_Remote_Python_Processes" owner="KillPythonTool">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:51:32.373397" level="INFO">Executing command 'ps -elf | egrep python | egrep 'play.py' | egrep -v grep'.</msg>
<msg time="2026-04-07T08:51:32.373505" level="INFO">${processes} = None</msg>
<msg time="2026-04-07T08:51:32.373544" level="FAIL">No open connection.</msg>
<var>${processes}</var>
<arg>ps -elf | egrep python | egrep ${filter} | egrep -v grep</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.373257" elapsed="0.001745">No open connection.</status>
</kw>
<return>
<value>${processes}</value>
<status status="PASS" start="2026-04-07T08:51:32.375068" elapsed="0.000033"/>
</return>
<msg time="2026-04-07T08:51:32.375282" level="INFO">${processes} = None</msg>
<var>${processes}</var>
<arg>${filter}</arg>
<doc>Only searches for the list of processes, in case something else than kill has to be done with them.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.372958" elapsed="0.002353">No open connection.</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.375818" level="INFO">None</msg>
<arg>${processes}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:51:32.375493" elapsed="0.000371"/>
</kw>
<kw name="Kill_Remote_Processes" owner="KillPythonTool">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.376838" level="INFO">${arg_length} = None</msg>
<msg time="2026-04-07T08:51:32.376897" level="FAIL">Could not get length of 'None'.</msg>
<var>${arg_length}</var>
<arg>${pself_lines}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.376439" elapsed="0.000635">Could not get length of 'None'.</status>
</kw>
<if>
<branch type="IF" condition="${arg_length} == 0">
<return>
<status status="NOT RUN" start="2026-04-07T08:51:32.377314" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:32.377191" elapsed="0.000168"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:32.377164" elapsed="0.000217"/>
</if>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:51:32.377807" level="INFO">Executing command 'echo 'None' | awk '{print "kill -9",$4}''.</msg>
<msg time="2026-04-07T08:51:32.377945" level="INFO">${commands} = None</msg>
<msg time="2026-04-07T08:51:32.378037" level="FAIL">No open connection.</msg>
<var>${commands}</var>
<arg>echo '${pself_lines}' | awk '{print "kill -${signal}",$4}'</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.377577" elapsed="0.000774">No open connection.</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.378841" level="INFO">None</msg>
<arg>${commands}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:51:32.378551" elapsed="0.000338"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:51:32.379238" level="INFO">Executing command 'echo 'set -exu; None' | sudo sh'.</msg>
<msg time="2026-04-07T08:51:32.379354" level="INFO">${stdout} = None</msg>
<msg time="2026-04-07T08:51:32.379398" level="INFO">${stderr} = None</msg>
<msg time="2026-04-07T08:51:32.379436" level="FAIL">No open connection.</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<arg>echo 'set -exu; ${commands}' | sudo sh</arg>
<arg>return_stderr=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.379065" elapsed="0.000618">No open connection.</status>
</kw>
<arg>${processes}</arg>
<doc>Kill processes by PIDs from given list (no-op if the list is empty), using specified signal. Log the kill commands used.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.376122" elapsed="0.003722">Several failures occurred:

1) Could not get length of 'None'.

2) No open connection.

3) No open connection.</status>
</kw>
<arg>'play\.py'</arg>
<doc>The main keyword. Search for processes, Log the list of them, kill them.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.372645" elapsed="0.007317">Several failures occurred:

1) No open connection.

2) Could not get length of 'None'.

3) No open connection.

4) No open connection.</status>
</kw>
<arg>KillPythonTool.Search_And_Kill_Remote_Python</arg>
<arg>'play\.py'</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:51:32.372232" elapsed="0.007785"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get_Sysstat_Statistics" owner="Utils">
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-07T08:51:32.381129" level="INFO">index=None
host=None
alias=None
port=22
timeout=3 seconds
newline=

prompt=None
term_type=vt100
width=80
height=24
path_separator=/
encoding=utf8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-07T08:51:32.381237" level="INFO">${current_connection} = index=None
host=None
alias=None
port=22
timeout=3 seconds
newline=

prompt=None
term_type=vt100
width=80
height=24
path_separator=/
encoding=utf8
escape_ansi=False
encoding_errors=strict</msg>
<var>${current_connection}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-07T08:51:32.380986" elapsed="0.000279"/>
</kw>
<kw name="Open_Connection_To_ODL_System" owner="SSHKeywords">
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-07T08:51:32.382245" level="INFO">${odl_connection} = 2</msg>
<var>${odl_connection}</var>
<arg>${ip_address}</arg>
<arg>prompt=${ODL_SYSTEM_PROMPT}</arg>
<arg>timeout=${timeout}</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="PASS" start="2026-04-07T08:51:32.381874" elapsed="0.000397"/>
</kw>
<kw name="Flexible_Controller_Login" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Flexible_SSH_Login" owner="SSHKeywords">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.384013" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:51:32.384091" level="INFO">${pwd_length} = 0</msg>
<var>${pwd_length}</var>
<arg>${password}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:51:32.383743" elapsed="0.000372"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${pwd_length} &gt; 0</arg>
<arg>SSHLibrary.Login</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:32.384288" elapsed="0.000321"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-07T08:51:32.385701" level="INFO">Logging into ':22' as 'jenkins'.</msg>
<msg time="2026-04-07T08:51:32.385977" level="FAIL">OSError: [Errno 16] Device or resource busy</msg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Logs into the SSH server using key-based authentication.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.385377" elapsed="0.001159">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:51:32.386610" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>SSHLibrary.Login With Public Key</arg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.384809" elapsed="0.001885"/>
</kw>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>On active SSH session: if given non-empty password, do Login, else do Login With Public Key.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.383239" elapsed="0.003630">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:51:32.386948" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Flexible SSH Login</arg>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.382827" elapsed="0.004209"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Controller machine.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.382465" elapsed="0.004714">OSError: [Errno 16] Device or resource busy</status>
</kw>
<return>
<value>${odl_connection}</value>
<status status="PASS" start="2026-04-07T08:51:32.387244" elapsed="0.000038"/>
</return>
<arg>${ip_address}</arg>
<doc>Open a connection to the ODL system at  and return its identifier.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.381529" elapsed="0.005998">OSError: [Errno 16] Device or resource busy</status>
</kw>
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-07T08:51:32.388055" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>sar -A -f /var/log/sa/sa*</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.387834" elapsed="0.000790">Cannot open session, you need to establish a connection first.</status>
</kw>
<kw name="Read Until Prompt" owner="SSHLibrary">
<msg time="2026-04-07T08:51:32.389029" level="INFO">${output} = None</msg>
<msg time="2026-04-07T08:51:32.389069" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<var>${output}</var>
<doc>Consumes and returns the server output until the prompt is found.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.388846" elapsed="0.000783">Cannot open session, you need to establish a connection first.</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.390092" level="INFO">None</msg>
<arg>${output}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:51:32.389833" elapsed="0.000304"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-07T08:51:32.390305" elapsed="0.000099"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-07T08:51:32.390445" elapsed="0.000028"/>
</return>
<kw name="Restore_Current_Ssh_Connection_From_Index" owner="SSHKeywords" type="TEARDOWN">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${connection_index} is not None</arg>
<arg>SSHLibrary.Switch Connection</arg>
<arg>${connection_index}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:32.393520" elapsed="0.000345"/>
</kw>
<kw name="Open Connection" owner="SSHLibrary">
<arg>127.0.0.1</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="PASS" start="2026-04-07T08:51:32.394046" elapsed="0.000149"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-07T08:51:32.394359" elapsed="0.000100"/>
</kw>
<arg>${current_connection.index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-07T08:51:32.390860" elapsed="0.003651"/>
</kw>
<doc>Store current connection index, open new connection to ip_address. Run command to get sysstat results from script,
which is running on all children nodes. Returns cpu, network, memory usage statistics from the node for each 10 minutes
that node was running. Used for debug purposes. Returns whole output of sysstat.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.380663" elapsed="0.013980">Several failures occurred:

1) OSError: [Errno 16] Device or resource busy

2) Cannot open session, you need to establish a connection first.

3) Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>Utils.Get_Sysstat_Statistics</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:51:32.380197" elapsed="0.014501"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary">
<msg time="2026-04-07T08:51:32.394953" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects</doc>
<status status="PASS" start="2026-04-07T08:51:32.394877" elapsed="0.000148"/>
</kw>
<kw name="Close All Connections" owner="SSHLibrary">
<doc>Closes all open connections.</doc>
<status status="PASS" start="2026-04-07T08:51:32.395185" elapsed="0.000090"/>
</kw>
<doc>Make sure Python tool was killed and tear down imported Resources.</doc>
<status status="PASS" start="2026-04-07T08:51:32.371994" elapsed="0.023331"/>
</kw>
<doc>BGP performance of ingesting from many iBGP peers, data change counter is used.

Copyright (c) 2018 Cisco Systems, Inc. and others. All rights reserved.

This program and the accompanying materials are made available under the
terms of the Eclipse Public License v1.0 which accompanies this distribution,
and is available at http://www.eclipse.org/legal/epl-v10.html


This suite uses play.py processes as iBGP peers.
This is analogue of single peer performance suite, which uses many peers.
Each peer is of ibgp type, and they contribute to the same example-bgp-rib,
and thus to the same single example-ipv4-topology.
The suite only looks at example-ipv4-topology, so RIB is not examined.

This suite requires odl-bgpcep-data-change-counter to be installed so
make sure it is added to "install-features" of any jobs that are going to invoke it.
Use the other version of the suite (manypeers_prefixcount.robot) if the feature does not work.

The suite consists of two halves, differing on which side initiates BGP connection.
Data change counter is a lightweight way to detect "work is being done".
WaitUtils provide a nice Keyword to wait for stability, but it needs
initial value, that is why Store_Change_Count appears just before work-inducing action.
The time for Wait_For_Stable_* cases to finish is the main performance metric.
After waiting for stability is done, full check on number of prefixes present is performed.

TODO: Currently, if a bug causes zero increase of data changes,
affected test cases will wait for max time. Reconsider.
If zero increase is allowed as stable, higher number of repetitions should be required.

ODL distinguishes peers by their IP addresses.
Currently, this suite requires python utils to be started on ODL System,
to guarantee IP address block is available for them to bind to.
TODO: Figure out how to use Docker and docker IP pool available in RelEng.

Currently, 127.0.0.1 is hardcoded as the first peer address to use.
TODO: Figure out how to make it configurable.
As peer IP adresses are set incrementally, we need ipaddr to be used in Robot somehow.

Brief description how to configure BGP peer can be found here:
https://wiki.opendaylight.org/view/BGP_LS_PCEP:User_Guide#BGP_Peer
http://docs.opendaylight.org/en/stable-boron/user-guide/bgp-user-guide.html#bgp-peering

TODO: Is there a need for version of this suite where ODL connects to pers?
Note that configuring ODL is slow, which may affect measured performance singificantly.
Advanced TODO: Give manager ability to start pushing on trigger long after connections are established.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.179393" elapsed="0.215961">Suite setup failed:
Dictionary does not contain key '1'.</status>
</suite>
<suite id="s1-s7" name="Restart Odl With Tell Based True" source="/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/suites/controller/dom_data_broker/restart_odl_with_tell_based_true.robot">
<kw name="Setup_Utils_For_Setup_And_Teardown" owner="SetupUtils" type="SETUP">
<kw name="Do_Not_Fail_Fast_From_Now_On" owner="FailFast">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.561434" level="INFO">${SuiteFastFail} = False</msg>
<arg>${SuiteFastFail}</arg>
<arg>False</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:32.556817" elapsed="0.004671"/>
</kw>
<doc>Set suite to not fail fast.</doc>
<status status="PASS" start="2026-04-07T08:51:32.556570" elapsed="0.004990"/>
</kw>
<kw name="Setup_Karaf_Keywords" owner="KarafKeywords">
<kw name="ClusterManagement_Setup" owner="ClusterManagement">
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.567147" level="INFO">${already_done} = False</msg>
<var>${already_done}</var>
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>False</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-07T08:51:32.562638" elapsed="0.004536"/>
</kw>
<if>
<branch type="IF" condition="${already_done}">
<return>
<status status="NOT RUN" start="2026-04-07T08:51:32.567371" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:32.567261" elapsed="0.000155"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:32.567237" elapsed="0.000202"/>
</if>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.567988" level="INFO">${ClusterManagement__has_setup_run} = True</msg>
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:32.567626" elapsed="0.000405"/>
</kw>
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.568512" level="INFO">${cluster_size} = 0</msg>
<var>${cluster_size}</var>
<arg>\${NUM_ODL_SYSTEM}</arg>
<arg>1</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-07T08:51:32.568197" elapsed="0.000341"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Convert To Integer" owner="BuiltIn">
<arg>${cluster_size}</arg>
<doc>Converts the given item to an integer number.</doc>
<status status="PASS" start="2026-04-07T08:51:32.569065" elapsed="0.000295"/>
</kw>
<msg time="2026-04-07T08:51:32.569459" level="INFO">${status} = PASS</msg>
<msg time="2026-04-07T08:51:32.569506" level="INFO">${possibly_int_of_members} = 0</msg>
<var>${status}</var>
<var>${possibly_int_of_members}</var>
<arg>BuiltIn.Convert_To_Integer</arg>
<arg>${cluster_size}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:51:32.568705" elapsed="0.000824"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.570132" level="INFO">${int_of_members} = 0</msg>
<var>${int_of_members}</var>
<arg>'${status}' != 'PASS'</arg>
<arg>${1}</arg>
<arg>${possibly_int_of_members}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.569758" elapsed="0.000401"/>
</kw>
<kw name="ClusterManagement__Compute_Derived_Variables" owner="ClusterManagement">
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.571295" level="INFO">@{member_index_list} = [ ]</msg>
<var>@{member_index_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.571023" elapsed="0.000300"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.571763" level="INFO">@{session_list} = [ ]</msg>
<var>@{session_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.571475" elapsed="0.000316"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.572244" level="INFO">&amp;{index_to_ip_mapping} = { }</msg>
<var>&amp;{index_to_ip_mapping}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:51:32.571953" elapsed="0.000318"/>
</kw>
<for flavor="IN RANGE">
<iter>
<kw name="ClusterManagement__Include_Member_Index" owner="ClusterManagement">
<arg>${index}</arg>
<arg>${member_index_list}</arg>
<arg>${session_list}</arg>
<arg>${index_to_ip_mapping}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>http_retries=${http_retries}</arg>
<doc>Add a corresponding item based on index into the last three arguments.
Create the Http session whose alias is added to list.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.574993" elapsed="0.000025"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.574800" elapsed="0.000266"/>
</iter>
<var>${index}</var>
<value>1</value>
<value>${int_of_members+1}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.572329" elapsed="0.002765"/>
</for>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.575664" level="INFO">${ClusterManagement__member_index_list} = []</msg>
<arg>\${ClusterManagement__member_index_list}</arg>
<arg>${member_index_list}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:32.575259" elapsed="0.000449"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.576272" level="INFO">${ClusterManagement__index_to_ip_mapping} = {}</msg>
<arg>\${ClusterManagement__index_to_ip_mapping}</arg>
<arg>${index_to_ip_mapping}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:32.575890" elapsed="0.000424"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.576865" level="INFO">${ClusterManagement__session_list} = []</msg>
<arg>\${ClusterManagement__session_list}</arg>
<arg>${session_list}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:51:32.576478" elapsed="0.000430"/>
</kw>
<arg>int_of_members=${int_of_members}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>http_retries=${http_retries}</arg>
<doc>Construct index list, session list and IP mapping, publish them as suite variables.</doc>
<status status="PASS" start="2026-04-07T08:51:32.570546" elapsed="0.006420"/>
</kw>
<arg>http_timeout=${http_timeout}</arg>
<doc>Detect repeated call, or detect number of members and initialize derived suite variables.
Http sessions are created with parameters to not waste time when ODL is no accepting connections properly.</doc>
<status status="PASS" start="2026-04-07T08:51:32.562295" elapsed="0.014727"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.577199" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:32.577086" elapsed="0.000158"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:32.577067" elapsed="0.000200"/>
</if>
<kw name="Run_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.580787" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.580390" elapsed="0.000424"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.581267" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.580978" elapsed="0.000315"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:32.581338" elapsed="0.000036"/>
</return>
<msg time="2026-04-07T08:51:32.581499" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:32.580058" elapsed="0.001466"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<doc>Obtain IP, call Utils and return output. This keeps previous ssh session active.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.581882" elapsed="0.000024"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.581685" elapsed="0.000258"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.581576" elapsed="0.000392"/>
</for>
<arg>iptables -I INPUT -p tcp --dport ${KARAF_SHELL_PORT} -j ACCEPT; iptables-save</arg>
<doc>Cycle through indices (or all), run command on each.</doc>
<status status="PASS" start="2026-04-07T08:51:32.577491" elapsed="0.004531"/>
</kw>
<kw name="Comment" owner="BuiltIn">
<arg>First connections to Karaf console may fail, so WUKS is used. TODO: Track as a Bug.</arg>
<doc>Displays the given messages in the log file as keyword arguments.</doc>
<status status="PASS" start="2026-04-07T08:51:32.582176" elapsed="0.000213"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<arg>BuiltIn.Wait_Until_Keyword_Succeeds</arg>
<arg>3s</arg>
<arg>1s</arg>
<arg>Open_Controller_Karaf_Console_On_Background</arg>
<arg>member_index=${index}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.582696" elapsed="0.000035"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.582556" elapsed="0.000220"/>
</iter>
<var>${index}</var>
<value>@{ClusterManagement__member_index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.582439" elapsed="0.000362"/>
</for>
<arg>http_timeout=${http_timeout}</arg>
<doc>Initialize ClusterManagement. Open ssh karaf connections to each ODL.</doc>
<status status="PASS" start="2026-04-07T08:51:32.561857" elapsed="0.020996"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Test_Suite_Start_To_Controller_Karaf" owner="KarafKeywords">
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.585696" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:32.585585" elapsed="0.000177"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:32.585566" elapsed="0.000219"/>
</if>
<kw name="Log_Message_To_Controller_Karaf" owner="KarafKeywords">
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.590971" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:32.590857" elapsed="0.000160"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:32.590838" elapsed="0.000201"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.592010" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.591611" elapsed="0.000426"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.592487" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.592201" elapsed="0.000311"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:32.592557" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:51:32.592710" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:32.591264" elapsed="0.001487"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<var>${status}</var>
<var>${output}</var>
<arg>Execute_Controller_Karaf_Command_With_Retry_On_Background</arg>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.593094" elapsed="0.000021"/>
</kw>
<if>
<branch type="IF" condition="not ${tolerate_failure} and &quot;${status}&quot; != &quot;PASS&quot;">
<kw name="Fail" owner="BuiltIn">
<arg>${output}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.593341" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:51:32.593195" elapsed="0.000199"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:51:32.593176" elapsed="0.000242"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.592949" elapsed="0.000492"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.592803" elapsed="0.000662"/>
</for>
<arg>Starting suite ${SUITE_SOURCE}</arg>
<arg>${member_index_list}</arg>
<doc>Make sure this resource is initialized. Send a message into the controller's karaf log file on every node listed (or all).
By default, failure while processing a node is silently ignored, unless ${tolerate_failure} is False.</doc>
<status status="PASS" start="2026-04-07T08:51:32.590555" elapsed="0.002963"/>
</kw>
<doc>Log suite name to karaf log, useful in suite setup.</doc>
<status status="PASS" start="2026-04-07T08:51:32.583464" elapsed="0.010108"/>
</kw>
<arg>KarafKeywords.Log_Test_Suite_Start_To_Controller_Karaf</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:51:32.583008" elapsed="0.010605"/>
</kw>
<arg>http_timeout=125</arg>
<doc>Prepare both FailFast and Karaf logging, log that the caller suite has started.
This keyword is to be used in suite setup, and without it the other keywords may not work properly.</doc>
<status status="PASS" start="2026-04-07T08:51:32.556213" elapsed="0.037449"/>
</kw>
<test id="s1-s7-t1" name="Stop_All_Members" line="30">
<kw name="Stop_Members_From_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.599660" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.599245" elapsed="0.000443"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.600160" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.599869" elapsed="0.000317"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:32.600232" elapsed="0.000030"/>
</return>
<msg time="2026-04-07T08:51:32.600388" level="INFO">${stop_index_list} = []</msg>
<var>${stop_index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:32.598862" elapsed="0.001550"/>
</kw>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.601389" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.601016" elapsed="0.000400"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.601879" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.601577" elapsed="0.000327"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:32.601950" elapsed="0.000028"/>
</return>
<msg time="2026-04-07T08:51:32.602101" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${original_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:32.600621" elapsed="0.001505"/>
</kw>
<kw name="Run_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.603571" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.603197" elapsed="0.000420"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.604125" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.603833" elapsed="0.000318"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:32.604197" elapsed="0.000028"/>
</return>
<msg time="2026-04-07T08:51:32.604348" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:32.602826" elapsed="0.001547"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<doc>Obtain IP, call Utils and return output. This keeps previous ssh session active.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.604704" elapsed="0.000040"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.604532" elapsed="0.000249"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.604424" elapsed="0.000383"/>
</for>
<arg>command=${NODE_STOP_COMMAND}</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Cycle through indices (or all), run command on each.</doc>
<status status="PASS" start="2026-04-07T08:51:32.602328" elapsed="0.002532"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.605307" level="INFO">${updated_index_list} = []</msg>
<var>${updated_index_list}</var>
<arg>@{index_list}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.605013" elapsed="0.000319"/>
</kw>
<kw name="Remove Values From List" owner="Collections">
<arg>${updated_index_list}</arg>
<arg>@{stop_index_list}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:51:32.605489" elapsed="0.000240"/>
</kw>
<if>
<branch type="IF" condition="not ${confirm}">
<return>
<value>${updated_index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.605910" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:51:32.605804" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:32.605786" elapsed="0.000197"/>
</if>
<for flavor="IN">
<iter>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<arg>${timeout}</arg>
<arg>2s</arg>
<arg>Verify_Karaf_Is_Not_Running_On_Member</arg>
<arg>member_index=${index}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.606277" elapsed="0.000022"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.606131" elapsed="0.000208"/>
</iter>
<var>${index}</var>
<value>@{stop_index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.606020" elapsed="0.000345"/>
</for>
<kw name="Run_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.609866" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.609473" elapsed="0.000420"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.610343" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.610055" elapsed="0.000314"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:32.610414" elapsed="0.000028"/>
</return>
<msg time="2026-04-07T08:51:32.610567" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:32.609096" elapsed="0.001495"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<doc>Obtain IP, call Utils and return output. This keeps previous ssh session active.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.610941" elapsed="0.000023"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.610765" elapsed="0.000235"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.610642" elapsed="0.000383"/>
</for>
<arg>command=netstat -pnatu | grep 2550</arg>
<doc>Cycle through indices (or all), run command on each.</doc>
<status status="PASS" start="2026-04-07T08:51:32.606562" elapsed="0.004516"/>
</kw>
<return>
<value>${updated_index_list}</value>
<status status="PASS" start="2026-04-07T08:51:32.611118" elapsed="0.000027"/>
</return>
<doc>If the list is empty, stops all ODL instances. Otherwise stop members based on ${stop_index_list}
If ${confirm} is True, verify stopped instances are not there anymore.
The KW will return a list of available members: ${updated index_list}=${original_index_list}-${member_index_list}</doc>
<status status="PASS" start="2026-04-07T08:51:32.594310" elapsed="0.016931"/>
</kw>
<doc>Stop every odl node.</doc>
<tag>critical</tag>
<status status="PASS" start="2026-04-07T08:51:32.593735" elapsed="0.017610"/>
</test>
<test id="s1-s7-t2" name="Set_Tell_Based_Protocol_Usage" line="34">
<kw name="Change_Use_Tell_Based_Protocol" owner="DdbCommons">
<kw name="Check_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.615822" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.615403" elapsed="0.000446"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.616299" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.616012" elapsed="0.000313"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:32.616369" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:51:32.616523" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:32.615026" elapsed="0.001521"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Check_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<arg>return_success_only=${return_success_only}</arg>
<arg>log_on_success=${log_on_success}</arg>
<arg>log_on_failure=${log_on_failure}</arg>
<arg>stderr_must_be_empty=${stderr_must_be_empty}</arg>
<doc>Open SSH session, call SSHKeywords.Execute_Command_Passes, close session, restore previously active session and return output.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.616876" elapsed="0.000057"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.616706" elapsed="0.000277"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.616598" elapsed="0.000412"/>
</for>
<arg>sed -ie "s/^#use-tell-based-protocol=true/use-tell-based-protocol=true/g" ${DATASTORE_CFG}</arg>
<doc>Cycle through indices (or all), run bash command on each, using temporary SSH session and restoring the previously active one.</doc>
<status status="PASS" start="2026-04-07T08:51:32.612521" elapsed="0.004542"/>
</kw>
<kw name="Check_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.620570" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.620195" elapsed="0.000401"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.621061" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.620774" elapsed="0.000312"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:32.621132" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:51:32.621285" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:32.619818" elapsed="0.001491"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Check_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<arg>return_success_only=${return_success_only}</arg>
<arg>log_on_success=${log_on_success}</arg>
<arg>log_on_failure=${log_on_failure}</arg>
<arg>stderr_must_be_empty=${stderr_must_be_empty}</arg>
<doc>Open SSH session, call SSHKeywords.Execute_Command_Passes, close session, restore previously active session and return output.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.621617" elapsed="0.000024"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.621467" elapsed="0.000219"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.621360" elapsed="0.000352"/>
</for>
<arg>sed -ie "s/^#use-tell-based-protocol=false/use-tell-based-protocol=false/g" ${DATASTORE_CFG}</arg>
<doc>Cycle through indices (or all), run bash command on each, using temporary SSH session and restoring the previously active one.</doc>
<status status="PASS" start="2026-04-07T08:51:32.617290" elapsed="0.004491"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Check_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.625905" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.625511" elapsed="0.000420"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.626380" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.626095" elapsed="0.000310"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:32.626450" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:51:32.626604" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:32.625129" elapsed="0.001499"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Check_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<arg>return_success_only=${return_success_only}</arg>
<arg>log_on_success=${log_on_success}</arg>
<arg>log_on_failure=${log_on_failure}</arg>
<arg>stderr_must_be_empty=${stderr_must_be_empty}</arg>
<doc>Open SSH session, call SSHKeywords.Execute_Command_Passes, close session, restore previously active session and return output.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.626958" elapsed="0.000024"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.626805" elapsed="0.000223"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.626679" elapsed="0.000374"/>
</for>
<arg>sed -ie "s/^use-tell-based-protocol=false/use-tell-based-protocol=true/g" ${DATASTORE_CFG}</arg>
<doc>Cycle through indices (or all), run bash command on each, using temporary SSH session and restoring the previously active one.</doc>
<status status="PASS" start="2026-04-07T08:51:32.622427" elapsed="0.004679"/>
</kw>
<msg time="2026-04-07T08:51:32.627145" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>"${status}" == "True"</arg>
<arg>ClusterManagement.Check_Bash_Command_On_List_Or_All</arg>
<arg>sed -ie "s/^use-tell-based-protocol=false/use-tell-based-protocol=true/g" ${DATASTORE_CFG}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:32.621938" elapsed="0.005260"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>"${status}" == "False"</arg>
<arg>ClusterManagement.Check_Bash_Command_On_List_Or_All</arg>
<arg>sed -ie "s/^use-tell-based-protocol=true/use-tell-based-protocol=false/g" ${DATASTORE_CFG}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.627363" elapsed="0.000021"/>
</kw>
<kw name="Fail" owner="BuiltIn">
<arg>Failure in status. Status can be True or False.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.627543" elapsed="0.000020"/>
</kw>
<arg>True</arg>
<arg>${DATASTORE_CFG}</arg>
<doc>Change status use-tell-based-protocol to True or False</doc>
<status status="PASS" start="2026-04-07T08:51:32.612112" elapsed="0.015536"/>
</kw>
<kw name="Check_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.631140" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.630756" elapsed="0.000410"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.631670" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.631365" elapsed="0.000331"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:32.631758" elapsed="0.000030"/>
</return>
<msg time="2026-04-07T08:51:32.631914" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:32.630366" elapsed="0.001572"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Check_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<arg>return_success_only=${return_success_only}</arg>
<arg>log_on_success=${log_on_success}</arg>
<arg>log_on_failure=${log_on_failure}</arg>
<arg>stderr_must_be_empty=${stderr_must_be_empty}</arg>
<doc>Open SSH session, call SSHKeywords.Execute_Command_Passes, close session, restore previously active session and return output.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.632250" elapsed="0.000024"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.632097" elapsed="0.000224"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.631989" elapsed="0.000359"/>
</for>
<arg>cat ${DATASTORE_CFG}</arg>
<doc>Cycle through indices (or all), run bash command on each, using temporary SSH session and restoring the previously active one.</doc>
<status status="PASS" start="2026-04-07T08:51:32.627890" elapsed="0.004509"/>
</kw>
<kw name="Clean_Directories_On_List_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.643034" level="INFO">${path_list} = ['tmp/', 'data/', 'cache/', 'snapshots/', 'journal/', 'segmented-journal/', 'etc/opendaylight/current/', 'etc/host.key']</msg>
<var>${path_list}</var>
<arg>"${directory_list}" == "${EMPTY}"</arg>
<arg>${ODL_DEFAULT_DATA_PATHS}</arg>
<arg>${directory_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.640663" elapsed="0.002399"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${tmp_dir}&quot;&quot;&quot; != &quot;&quot;">
<kw name="Check_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.644823" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.644430" elapsed="0.000419"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.645296" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.645012" elapsed="0.000310"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:32.645367" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:51:32.645521" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:32.644055" elapsed="0.001490"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Check_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<arg>return_success_only=${return_success_only}</arg>
<arg>log_on_success=${log_on_success}</arg>
<arg>log_on_failure=${log_on_failure}</arg>
<arg>stderr_must_be_empty=${stderr_must_be_empty}</arg>
<doc>Open SSH session, call SSHKeywords.Execute_Command_Passes, close session, restore previously active session and return output.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.645874" elapsed="0.000024"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.645703" elapsed="0.000242"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.645595" elapsed="0.000376"/>
</for>
<arg>mkdir -p '${tmp_dir}' &amp;&amp; rm -vrf '${tmp_dir}/log' &amp;&amp; mv -vf '${karaf_home}/data/log' '${tmp_dir}/'</arg>
<arg>${member_index_list}</arg>
<doc>Cycle through indices (or all), run bash command on each, using temporary SSH session and restoring the previously active one.</doc>
<status status="PASS" start="2026-04-07T08:51:32.643409" elapsed="0.002614"/>
</kw>
<status status="PASS" start="2026-04-07T08:51:32.643140" elapsed="0.002917"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:32.643121" elapsed="0.002961"/>
</if>
<kw name="Safe_With_Ssh_To_List_Or_All_Run_Keyword" owner="ClusterManagement">
<kw name="Run_Keyword_Preserve_Connection" owner="SSHKeywords">
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-07T08:51:32.647479" level="INFO">index=None
host=None
alias=None
port=22
timeout=3 seconds
newline=

prompt=None
term_type=vt100
width=80
height=24
path_separator=/
encoding=utf8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-07T08:51:32.647596" level="INFO">${current_connection} = index=None
host=None
alias=None
port=22
timeout=3 seconds
newline=

prompt=None
term_type=vt100
width=80
height=24
path_separator=/
encoding=utf8
escape_ansi=False
encoding_errors=strict</msg>
<var>${current_connection}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-07T08:51:32.647319" elapsed="0.000304"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="With_Ssh_To_List_Or_All_Run_Keyword" owner="ClusterManagement">
<kw name="Comment" owner="BuiltIn">
<arg>This keyword is experimental and there is high risk of being replaced by another approach.</arg>
<doc>Displays the given messages in the log file as keyword arguments.</doc>
<status status="PASS" start="2026-04-07T08:51:32.648738" elapsed="0.000209"/>
</kw>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.649940" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.649537" elapsed="0.000429"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.650412" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.650128" elapsed="0.000310"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:32.650482" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:51:32.650634" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:32.649163" elapsed="0.001528"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<var>${member_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.651051" elapsed="0.000025"/>
</kw>
<kw name="Run_Unsafely_Keyword_Over_Temporary_Odl_Session" owner="SSHKeywords">
<arg>${member_ip}</arg>
<arg>${keyword_name}</arg>
<arg>@{args}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Open connection to given IP address, run keyword, close connection, return result.
This is unsafe in the sense that previously active session will be switched out off, but safe in the sense only the temporary connection is closed.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.651333" elapsed="0.000025"/>
</kw>
<var name="${member_index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.650883" elapsed="0.000515"/>
</iter>
<var>${member_index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.650762" elapsed="0.000663"/>
</for>
<arg>@{args}</arg>
<arg>&amp;{kwargs}</arg>
<doc>For each index in given list (or all): activate SSH connection, run given Keyword, close active connection. Return None.
Beware that in order to avoid "got positional argument after named arguments", first two arguments in the call should not be named.</doc>
<status status="PASS" start="2026-04-07T08:51:32.648301" elapsed="0.003177"/>
</kw>
<msg time="2026-04-07T08:51:32.651519" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${keyword_name}</arg>
<arg>@{args}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:32.647797" elapsed="0.003769"/>
</kw>
<kw name="Restore_Current_Ssh_Connection_From_Index" owner="SSHKeywords" type="TEARDOWN">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${connection_index} is not None</arg>
<arg>SSHLibrary.Switch Connection</arg>
<arg>${connection_index}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:32.654931" elapsed="0.000316"/>
</kw>
<kw name="Open Connection" owner="SSHLibrary">
<arg>127.0.0.1</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="PASS" start="2026-04-07T08:51:32.655416" elapsed="0.000153"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-07T08:51:32.655771" elapsed="0.000106"/>
</kw>
<arg>${current_connection.index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-07T08:51:32.651900" elapsed="0.004030"/>
</kw>
<arg>With_Ssh_To_List_Or_All_Run_Keyword</arg>
<arg>${member_index_list}</arg>
<arg>${keyword_name}</arg>
<arg>@{args}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Store current connection index, run keyword returning its result, restore connection in teardown.
Note that in order to avoid "got positional argument after named arguments", it is safer to use positional (not named) arguments on call.</doc>
<status status="PASS" start="2026-04-07T08:51:32.646771" elapsed="0.009216"/>
</kw>
<arg>${member_index_list}</arg>
<arg>ClusterManagement__Clean_Directories</arg>
<arg>${path_list}</arg>
<arg>${karaf_home}</arg>
<doc>Remember active ssh connection index, call With_Ssh_To_List_Or_All_Run_Keyword, return None. Restore the conection index on teardown.</doc>
<status status="PASS" start="2026-04-07T08:51:32.646246" elapsed="0.009805"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${tmp_dir}&quot;&quot;&quot; != &quot;&quot;">
<kw name="Check_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.657778" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.657382" elapsed="0.000423"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.658261" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.657968" elapsed="0.000320"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:32.658332" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:51:32.658487" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:32.657007" elapsed="0.001506"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Check_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<arg>return_success_only=${return_success_only}</arg>
<arg>log_on_success=${log_on_success}</arg>
<arg>log_on_failure=${log_on_failure}</arg>
<arg>stderr_must_be_empty=${stderr_must_be_empty}</arg>
<doc>Open SSH session, call SSHKeywords.Execute_Command_Passes, close session, restore previously active session and return output.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.658842" elapsed="0.000024"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.658673" elapsed="0.000240"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.658564" elapsed="0.000375"/>
</for>
<arg>mkdir -p '${karaf_home}/data' &amp;&amp; rm -vrf '${karaf_home}/log' &amp;&amp; mv -vf '${tmp_dir}/log' '${karaf_home}/data/'</arg>
<arg>${member_index_list}</arg>
<doc>Cycle through indices (or all), run bash command on each, using temporary SSH session and restoring the previously active one.</doc>
<status status="PASS" start="2026-04-07T08:51:32.656394" elapsed="0.002598"/>
</kw>
<status status="PASS" start="2026-04-07T08:51:32.656123" elapsed="0.002905"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:32.656105" elapsed="0.002948"/>
</if>
<arg>tmp_dir=/tmp</arg>
<doc>Clear @{directory_list} or ['tmp/', 'data/', 'cache/', 'snapshots/', 'journal/', 'segmented-journal/', 'etc/opendaylight/current/', 'etc/host.key'] for members in given list or all. Return None.
If ${tmp_dir} is nonempty, use that location to preserve data/log/.
This is intended to return Karaf (offline) to the state it was upon the first boot.</doc>
<status status="PASS" start="2026-04-07T08:51:32.636033" elapsed="0.023065"/>
</kw>
<doc>Un-comment the flag usage in config file. Also clean most data except data/log/.</doc>
<tag>critical</tag>
<status status="PASS" start="2026-04-07T08:51:32.611522" elapsed="0.047678"/>
</test>
<test id="s1-s7-t3" name="Start_All_And_Sync" line="40">
<kw name="Start_Members_From_List_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.673063" level="INFO">${base_command} = /tmp/karaf-0.22.2/bin/start</msg>
<var>${base_command}</var>
<arg>"""${karaf_home}""" != ""</arg>
<arg>${karaf_home}/bin/start</arg>
<arg>${NODE_START_COMMAND}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.672674" elapsed="0.000415"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.673661" level="INFO">${command} = /tmp/karaf-0.22.2/bin/start</msg>
<var>${command}</var>
<arg>"""${export_java_home}""" != ""</arg>
<arg>export JAVA_HOME="${export_java_home}"; ${base_command}</arg>
<arg>${base_command}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.673297" elapsed="0.000391"/>
</kw>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-07T08:51:32.674140" level="INFO">${epoch} = 1775551892.674067</msg>
<var>${epoch}</var>
<arg>time_zone=UTC</arg>
<arg>result_format=epoch</arg>
<arg>exclude_millis=False</arg>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-07T08:51:32.673871" elapsed="0.000296"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.674752" level="INFO">${gc_filepath} = /tmp/karaf-0.22.2/data/log/gc_1775551892.674067.log</msg>
<var>${gc_filepath}</var>
<arg>"""${karaf_home}""" != ""</arg>
<arg>${karaf_home}/data/log/gc_${epoch}.log</arg>
<arg>${GC_LOG_PATH}/gc_${epoch}.log</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.674336" elapsed="0.000444"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.675318" level="INFO">${gc_options} = -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:/tmp/karaf-0.22.2/data/log/gc_1775551892.674067.log</msg>
<var>${gc_options}</var>
<arg>"docker" not in """${node_start_command}"""</arg>
<arg>-XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:${gc_filepath}</arg>
<arg>${EMPTY}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.674949" elapsed="0.000396"/>
</kw>
<kw name="Run_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.676874" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.676486" elapsed="0.000414"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.677343" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.677060" elapsed="0.000308"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:32.677412" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:51:32.677565" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:32.676114" elapsed="0.001475"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<doc>Obtain IP, call Utils and return output. This keeps previous ssh session active.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.677937" elapsed="0.000024"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.677763" elapsed="0.000233"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.677640" elapsed="0.000382"/>
</for>
<arg>command=${command} ${gc_options}</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Cycle through indices (or all), run command on each.</doc>
<status status="PASS" start="2026-04-07T08:51:32.675554" elapsed="0.002520"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Verify_Members_Are_Ready" owner="ClusterManagement">
<if>
<branch type="IF" condition="${verify_cluster_sync}">
<kw name="Check_Cluster_Is_In_Sync" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.690604" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.690229" elapsed="0.000402"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.691096" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.690810" elapsed="0.000312"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:32.691166" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:51:32.691320" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:32.689853" elapsed="0.001491"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Sync_Status_Of_Member" owner="ClusterManagement">
<var>${status}</var>
<arg>member_index=${index}</arg>
<doc>Obtain IP, two GETs from jolokia URIs, return combined sync status as string.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.691812" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="'True' == '${status}'">
<continue>
<status status="NOT RUN" start="2026-04-07T08:51:32.691947" elapsed="0.000019"/>
</continue>
<status status="NOT RUN" start="2026-04-07T08:51:32.691906" elapsed="0.000087"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:51:32.691889" elapsed="0.000126"/>
</if>
<kw name="Fail" owner="BuiltIn">
<arg>Index ${index} has incorrect status: ${status}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.692159" elapsed="0.000021"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.691551" elapsed="0.000661"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.691395" elapsed="0.000843"/>
</for>
<arg>${member_index_list}</arg>
<doc>Fail if no-sync is detected on a member from list (or any).</doc>
<status status="PASS" start="2026-04-07T08:51:32.689445" elapsed="0.002845"/>
</kw>
<status status="PASS" start="2026-04-07T08:51:32.689139" elapsed="0.003181"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:32.689120" elapsed="0.003223"/>
</if>
<if>
<branch type="IF" condition="${verify_restconf}">
<kw name="Verify_Restconf_Is_Available" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.693814" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.693423" elapsed="0.000417"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.694331" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.694037" elapsed="0.000320"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:32.694403" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:51:32.694557" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:32.693052" elapsed="0.001529"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Resolve_Http_Session_For_Member" owner="ClusterManagement">
<var>${session}</var>
<arg>member_index=${index}</arg>
<doc>Return RequestsLibrary session alias pointing to node of given index.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.694934" elapsed="0.000024"/>
</kw>
<kw name="Get_As_Json_Templated" owner="TemplatedRequests">
<arg>session=${session}</arg>
<arg>folder=${RESTCONF_MODULES_DIR}</arg>
<arg>verify=False</arg>
<doc>Add arguments sensible for JSON data, return Get_Templated response text.
Optionally, verification against JSON data (may be iterated) is called.
Only subset of JSON data is verified and returned if JMES path is specified in
file ${folder}/jmespath.expr.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.699336" elapsed="0.000026"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.694765" elapsed="0.004639"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.694632" elapsed="0.004799"/>
</for>
<arg>${member_index_list}</arg>
<status status="PASS" start="2026-04-07T08:51:32.692658" elapsed="0.006828"/>
</kw>
<status status="PASS" start="2026-04-07T08:51:32.692396" elapsed="0.007118"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:32.692380" elapsed="0.007158"/>
</if>
<if>
<branch type="IF" condition="${verify_system_status} and (&quot;${service_list}&quot; != &quot;[[]]&quot;)">
<kw name="Check Status Of Services Is OPERATIONAL" owner="ClusterManagement">
<arg>@{service_list}</arg>
<doc>This keyword will verify whether all the services are operational in all the ODL nodes</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.699979" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:51:32.699622" elapsed="0.000416"/>
</branch>
<status status="PASS" start="2026-04-07T08:51:32.699604" elapsed="0.000458"/>
</if>
<arg>${member_index_list}</arg>
<arg>${wait_for_sync}</arg>
<arg>${verify_restconf}</arg>
<arg>${check_system_status}</arg>
<arg>${service_list}</arg>
<doc>Verifies the specified readiness conditions for the given listed members after startup.
If ${verify_cluster_sync}, verifies the datastores have synced with the rest of the cluster.
If True, verifies RESTCONF is available.
If ${verify_system_status}, verifies the system services are OPERATIONAL.</doc>
<status status="PASS" start="2026-04-07T08:51:32.688705" elapsed="0.011404"/>
</kw>
<arg>${timeout}</arg>
<arg>10s</arg>
<arg>Verify_Members_Are_Ready</arg>
<arg>${member_index_list}</arg>
<arg>${wait_for_sync}</arg>
<arg>${verify_restconf}</arg>
<arg>${check_system_status}</arg>
<arg>${service_list}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-07T08:51:32.678239" elapsed="0.021930"/>
</kw>
<kw name="Run_Bash_Command_On_List_Or_All" owner="ClusterManagement" type="TEARDOWN">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.703675" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.703277" elapsed="0.000425"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.704165" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.703880" elapsed="0.000311"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:32.704236" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:51:32.704389" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:32.702872" elapsed="0.001542"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<doc>Obtain IP, call Utils and return output. This keeps previous ssh session active.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.704767" elapsed="0.000025"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.704571" elapsed="0.000257"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.704464" elapsed="0.000390"/>
</for>
<arg>command=netstat -pnatu | grep 2550</arg>
<doc>Cycle through indices (or all), run command on each.</doc>
<status status="PASS" start="2026-04-07T08:51:32.700435" elapsed="0.004471"/>
</kw>
<doc>If the list is empty, start all cluster members. Otherwise, start members based on present indices.
If ${wait_for_sync}, wait for cluster sync on listed members.
Optionally karaf_home can be overriden. Optionally specific JAVA_HOME is used for starting.
Garbage collection is unconditionally logged to files. TODO: Make that reasonable conditional?</doc>
<status status="PASS" start="2026-04-07T08:51:32.664276" elapsed="0.040676"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.717352" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:51:32.717053" elapsed="0.000327"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:51:32.738116" elapsed="0.000211"/>
</kw>
<msg time="2026-04-07T08:51:32.738374" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:32.737470" elapsed="0.000953"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational', 'entity-ownership:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:51:32.737005" elapsed="0.001492"/>
</kw>
<msg time="2026-04-07T08:51:32.738581" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:32.727636" elapsed="0.010991"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:51:32.727235" elapsed="0.011466"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:51:32.739318" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:51:32.739363" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:51:32.739077" elapsed="0.000309"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.742334" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.741776" elapsed="0.000585"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.742830" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.742525" elapsed="0.000331"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:32.742902" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:51:32.743055" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:32.741393" elapsed="0.001687"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:51:32.743236" elapsed="0.000158"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.743939" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:32.743555" elapsed="0.000410"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.744365" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.744126" elapsed="0.000264"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.744795" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:32.744539" elapsed="0.000282"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.745225" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.745482" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:51:32.745334" elapsed="0.000203"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.745704" elapsed="0.000035"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:51:32.745561" elapsed="0.000212"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.745940" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:51:32.745797" elapsed="0.000194"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:51:32.745316" elapsed="0.000698"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:32.745049" elapsed="0.000988"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.744868" elapsed="0.001193"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:51:32.746100" elapsed="0.000027"/>
</return>
<msg time="2026-04-07T08:51:32.746298" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:51:32.746342" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:51:32.740665" elapsed="0.005700"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.746826" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:51:32.746903" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:51:32.746541" elapsed="0.000385"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:51:32.747502" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.747213" elapsed="0.000389">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:51:32.746994" elapsed="0.000677">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:51:32.746976" elapsed="0.000734">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.747890" elapsed="0.000055"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.748108" elapsed="0.000021"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.748175" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.739677" elapsed="0.008606">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.748459" elapsed="0.000022"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.748627" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:32.748808" elapsed="0.000021"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:51:32.738927" elapsed="0.009953">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:51:32.738770" elapsed="0.010167">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:51:32.748986" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:51:32.712643" elapsed="0.036435">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:51:42.770010" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:51:42.769458" elapsed="0.000597"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:51:42.791278" elapsed="0.000242"/>
</kw>
<msg time="2026-04-07T08:51:42.791576" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:42.790600" elapsed="0.001037"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:51:42.790133" elapsed="0.001598"/>
</kw>
<msg time="2026-04-07T08:51:42.791779" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:42.780520" elapsed="0.011303"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:51:42.780118" elapsed="0.011779"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:51:42.792520" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:51:42.792565" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:51:42.792277" elapsed="0.000310"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:42.795267" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:42.794882" elapsed="0.000411"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:42.795757" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:42.795455" elapsed="0.000328"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:42.795832" elapsed="0.000033"/>
</return>
<msg time="2026-04-07T08:51:42.795993" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:42.794496" elapsed="0.001521"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:51:42.796171" elapsed="0.000157"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:42.796833" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:42.796486" elapsed="0.000373"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:42.797253" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:42.797017" elapsed="0.000261"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:42.797765" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:42.797509" elapsed="0.000282"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:42.798203" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:42.798468" elapsed="0.000026"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:51:42.798315" elapsed="0.000222"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:42.798735" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:51:42.798569" elapsed="0.000223"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:42.798968" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:51:42.798816" elapsed="0.000204"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:51:42.798294" elapsed="0.000749"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:42.798032" elapsed="0.001035"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:42.797849" elapsed="0.001243"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:51:42.799133" elapsed="0.000028"/>
</return>
<msg time="2026-04-07T08:51:42.799331" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:51:42.799376" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:51:42.793754" elapsed="0.005645"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:51:42.799862" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:51:42.799938" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:51:42.799571" elapsed="0.000390"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:51:42.800527" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:51:42.800247" elapsed="0.000354">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:51:42.800029" elapsed="0.000637">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:51:42.800012" elapsed="0.000685">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:42.800868" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:42.801041" elapsed="0.000020"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:42.801106" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:51:42.792894" elapsed="0.008316">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:42.801383" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:42.801552" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:42.801731" elapsed="0.000021"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:51:42.792132" elapsed="0.009683">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:51:42.791959" elapsed="0.009913">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:51:42.801921" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:51:42.763215" elapsed="0.038798">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:51:52.823845" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:51:52.823434" elapsed="0.000445"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:51:52.844769" elapsed="0.000248"/>
</kw>
<msg time="2026-04-07T08:51:52.845079" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:52.844085" elapsed="0.001141"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:51:52.843587" elapsed="0.001728"/>
</kw>
<msg time="2026-04-07T08:51:52.845362" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:51:52.834218" elapsed="0.011187"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:51:52.833825" elapsed="0.011655"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:51:52.846121" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:51:52.846167" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:51:52.845874" elapsed="0.000316"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:52.848845" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:52.848442" elapsed="0.000433"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:52.849322" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:52.849036" elapsed="0.000311"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:51:52.849398" elapsed="0.000034"/>
</return>
<msg time="2026-04-07T08:51:52.849559" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:51:52.848063" elapsed="0.001521"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:51:52.849752" elapsed="0.000159"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:51:52.850400" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:51:52.850070" elapsed="0.000356"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:52.850837" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:52.850583" elapsed="0.000281"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:51:52.851249" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:51:52.851015" elapsed="0.000259"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:52.851670" elapsed="0.000024"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:52.851948" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:51:52.851796" elapsed="0.000206"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:52.852193" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:51:52.852028" elapsed="0.000218"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:52.852411" elapsed="0.000026"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:51:52.852269" elapsed="0.000198"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:51:52.851775" elapsed="0.000715"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:51:52.851501" elapsed="0.001014"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:52.851319" elapsed="0.001223"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:51:52.852581" elapsed="0.000028"/>
</return>
<msg time="2026-04-07T08:51:52.852792" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:51:52.852838" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:51:52.847324" elapsed="0.005536"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:51:52.853314" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:51:52.853391" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:51:52.853033" elapsed="0.000381"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:51:52.854220" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:51:52.853759" elapsed="0.000545">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:51:52.853524" elapsed="0.000849">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:51:52.853505" elapsed="0.000900">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:52.854561" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:52.854751" elapsed="0.000031"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:51:52.854829" elapsed="0.000015"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:51:52.846477" elapsed="0.008458">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:52.855108" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:52.855272" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:51:52.855437" elapsed="0.000019"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:51:52.845728" elapsed="0.009778">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:51:52.845544" elapsed="0.010017">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:51:52.855611" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:51:52.817658" elapsed="0.038043">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:52:02.876681" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:52:02.876226" elapsed="0.000508"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:52:02.897512" elapsed="0.000274"/>
</kw>
<msg time="2026-04-07T08:52:02.897842" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:52:02.896836" elapsed="0.001074"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:52:02.896352" elapsed="0.001639"/>
</kw>
<msg time="2026-04-07T08:52:02.898038" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:52:02.886993" elapsed="0.011109"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:52:02.886584" elapsed="0.011593"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:52:02.898867" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:52:02.898913" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:52:02.898598" elapsed="0.000337"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:52:02.901596" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:52:02.901212" elapsed="0.000410"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:52:02.902090" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:52:02.901801" elapsed="0.000314"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:52:02.902166" elapsed="0.000036"/>
</return>
<msg time="2026-04-07T08:52:02.902341" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:52:02.900838" elapsed="0.001528"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:52:02.902520" elapsed="0.000287"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:52:02.903312" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:52:02.902971" elapsed="0.000366"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:52:02.903750" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:52:02.903496" elapsed="0.000281"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:52:02.904166" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:52:02.903928" elapsed="0.000263"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:02.904814" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:02.905093" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:52:02.904933" elapsed="0.000227"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:02.905333" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:52:02.905191" elapsed="0.000195"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:02.905583" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:52:02.905410" elapsed="0.000225"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:52:02.904912" elapsed="0.000747"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:52:02.904624" elapsed="0.001059"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:52:02.904238" elapsed="0.001474"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:52:02.905772" elapsed="0.000028"/>
</return>
<msg time="2026-04-07T08:52:02.905970" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:52:02.906015" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:52:02.900091" elapsed="0.005947"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:52:02.906510" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:52:02.906587" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:52:02.906214" elapsed="0.000396"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:52:02.907208" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:52:02.906914" elapsed="0.000376">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:52:02.906677" elapsed="0.000684">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:52:02.906660" elapsed="0.000732">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:02.907547" elapsed="0.000021"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:02.907738" elapsed="0.000021"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:52:02.907805" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:52:02.899237" elapsed="0.008683">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:02.908096" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:02.908262" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:02.908427" elapsed="0.000019"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:52:02.898451" elapsed="0.010046">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:52:02.898245" elapsed="0.010308">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:52:02.908601" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:52:02.869780" elapsed="0.038913">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:52:12.927229" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:52:12.926646" elapsed="0.000776"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:52:12.951790" elapsed="0.000261"/>
</kw>
<msg time="2026-04-07T08:52:12.952119" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:52:12.951078" elapsed="0.001117"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:52:12.950587" elapsed="0.001697"/>
</kw>
<msg time="2026-04-07T08:52:12.952332" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:52:12.940965" elapsed="0.011411"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:52:12.940543" elapsed="0.011907"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:52:12.953178" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:52:12.953224" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:52:12.952915" elapsed="0.000331"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:52:12.956226" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:52:12.955582" elapsed="0.000672"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:52:12.956760" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:52:12.956423" elapsed="0.000364"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:52:12.956841" elapsed="0.000034"/>
</return>
<msg time="2026-04-07T08:52:12.957006" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:52:12.955206" elapsed="0.001825"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:52:12.957188" elapsed="0.000160"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:52:12.957861" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:52:12.957511" elapsed="0.000376"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:52:12.958288" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:52:12.958048" elapsed="0.000266"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:52:12.958706" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:52:12.958465" elapsed="0.000282"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:12.959154" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:12.959424" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:52:12.959270" elapsed="0.000210"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:12.959648" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:52:12.959505" elapsed="0.000197"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:12.959887" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:52:12.959740" elapsed="0.000198"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:52:12.959248" elapsed="0.000713"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:52:12.958981" elapsed="0.001005"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:52:12.958795" elapsed="0.001219"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:52:12.960056" elapsed="0.000028"/>
</return>
<msg time="2026-04-07T08:52:12.960254" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:52:12.960299" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:52:12.954446" elapsed="0.005876"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:52:12.961145" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:52:12.961230" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:52:12.960769" elapsed="0.000485"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:52:12.961891" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:52:12.961573" elapsed="0.000407">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:52:12.961336" elapsed="0.000715">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:52:12.961317" elapsed="0.000765">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:12.962238" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:12.962415" elapsed="0.000020"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:52:12.962480" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:52:12.953562" elapsed="0.009024">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:12.962775" elapsed="0.000022"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:12.962943" elapsed="0.000019"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:12.963107" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:52:12.952764" elapsed="0.010413">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:52:12.952546" elapsed="0.010688">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:52:12.963283" elapsed="0.000016"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:52:12.921600" elapsed="0.041775">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:52:22.980873" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:52:22.980439" elapsed="0.000471"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:52:23.002031" elapsed="0.000247"/>
</kw>
<msg time="2026-04-07T08:52:23.002333" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:52:23.001351" elapsed="0.001049"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:52:23.000880" elapsed="0.001599"/>
</kw>
<msg time="2026-04-07T08:52:23.002526" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:52:22.991164" elapsed="0.011404"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:52:22.990760" elapsed="0.011881"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:52:23.003310" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:52:23.003356" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:52:23.003063" elapsed="0.000315"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:52:23.006055" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:52:23.005646" elapsed="0.000436"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:52:23.006533" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:52:23.006245" elapsed="0.000313"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:52:23.006609" elapsed="0.000033"/>
</return>
<msg time="2026-04-07T08:52:23.006813" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:52:23.005271" elapsed="0.001568"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:52:23.007071" elapsed="0.000160"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:52:23.007754" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:52:23.007395" elapsed="0.000386"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:52:23.008186" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:52:23.007944" elapsed="0.000268"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:52:23.008602" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:52:23.008363" elapsed="0.000264"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:23.009049" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:23.009320" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:52:23.009165" elapsed="0.000211"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:23.009547" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:52:23.009402" elapsed="0.000199"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:23.009784" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:52:23.009625" elapsed="0.000213"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:52:23.009143" elapsed="0.000718"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:52:23.008871" elapsed="0.001015"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:52:23.008675" elapsed="0.001239"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:52:23.009956" elapsed="0.000028"/>
</return>
<msg time="2026-04-07T08:52:23.010152" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:52:23.010198" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:52:23.004537" elapsed="0.005684"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:52:23.010671" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:52:23.010772" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:52:23.010397" elapsed="0.000411"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:52:23.011392" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:52:23.011109" elapsed="0.000359">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:52:23.010887" elapsed="0.000647">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:52:23.010869" elapsed="0.000696">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:23.011736" elapsed="0.000023"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:23.011915" elapsed="0.000021"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:52:23.011981" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:52:23.003678" elapsed="0.008408">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:23.012262" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:23.012429" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:23.012602" elapsed="0.000023"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:52:23.002910" elapsed="0.009767">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:52:23.002707" elapsed="0.010040">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:52:23.012798" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:52:22.975852" elapsed="0.037039">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:52:33.031693" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:52:33.031275" elapsed="0.000468"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:52:33.052752" elapsed="0.000244"/>
</kw>
<msg time="2026-04-07T08:52:33.053094" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:52:33.052075" elapsed="0.001093"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:52:33.051592" elapsed="0.001661"/>
</kw>
<msg time="2026-04-07T08:52:33.053300" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:52:33.042145" elapsed="0.011199"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:52:33.041746" elapsed="0.011673"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:52:33.054082" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:52:33.054128" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:52:33.053821" elapsed="0.000329"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:52:33.056824" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:52:33.056422" elapsed="0.000429"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:52:33.057319" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:52:33.057031" elapsed="0.000314"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:52:33.057395" elapsed="0.000032"/>
</return>
<msg time="2026-04-07T08:52:33.057554" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:52:33.056046" elapsed="0.001533"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:52:33.057751" elapsed="0.000161"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:52:33.058414" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:52:33.058081" elapsed="0.000359"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:52:33.058859" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:52:33.058601" elapsed="0.000283"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:52:33.059275" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:52:33.059035" elapsed="0.000265"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:33.059700" elapsed="0.000038"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:33.059977" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:52:33.059826" elapsed="0.000208"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:33.060202" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:52:33.060058" elapsed="0.000198"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:33.060422" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:52:33.060279" elapsed="0.000194"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:52:33.059806" elapsed="0.000690"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:52:33.059528" elapsed="0.000991"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:52:33.059348" elapsed="0.001198"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:52:33.060586" elapsed="0.000027"/>
</return>
<msg time="2026-04-07T08:52:33.060803" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:52:33.060850" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:52:33.055302" elapsed="0.005572"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:52:33.061424" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:52:33.061502" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:52:33.061119" elapsed="0.000408"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:52:33.062305" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:52:33.062015" elapsed="0.000371">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:52:33.061597" elapsed="0.000858">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:52:33.061579" elapsed="0.000907">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:33.062643" elapsed="0.000021"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:33.062834" elapsed="0.000022"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:52:33.062902" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:52:33.054445" elapsed="0.008569">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:33.063191" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:33.063356" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:33.063527" elapsed="0.000019"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:52:33.053659" elapsed="0.009937">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:52:33.053484" elapsed="0.010168">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:52:33.063700" elapsed="0.000028"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:52:33.026546" elapsed="0.037263">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:52:43.081852" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:52:43.081412" elapsed="0.000477"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:52:43.102743" elapsed="0.000263"/>
</kw>
<msg time="2026-04-07T08:52:43.103064" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:52:43.102060" elapsed="0.001076"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:52:43.101580" elapsed="0.001635"/>
</kw>
<msg time="2026-04-07T08:52:43.103293" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:52:43.092236" elapsed="0.011103"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:52:43.091833" elapsed="0.011581"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:52:43.104105" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:52:43.104151" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:52:43.103840" elapsed="0.000334"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:52:43.106887" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:52:43.106482" elapsed="0.000432"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:52:43.107415" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:52:43.107078" elapsed="0.000363"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:52:43.107588" elapsed="0.000036"/>
</return>
<msg time="2026-04-07T08:52:43.107777" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:52:43.106110" elapsed="0.001692"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:52:43.107962" elapsed="0.000165"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:52:43.108630" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:52:43.108292" elapsed="0.000364"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:52:43.109076" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:52:43.108835" elapsed="0.000266"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:52:43.109726" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:52:43.109252" elapsed="0.000503"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:43.110170" elapsed="0.000033"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:43.110463" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:52:43.110301" elapsed="0.000218"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:43.110687" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:52:43.110546" elapsed="0.000210"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:43.110926" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:52:43.110780" elapsed="0.000197"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:52:43.110279" elapsed="0.000721"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:52:43.109992" elapsed="0.001035"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:52:43.109804" elapsed="0.001252"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:52:43.111100" elapsed="0.000028"/>
</return>
<msg time="2026-04-07T08:52:43.111316" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:52:43.111363" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:52:43.105375" elapsed="0.006010"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:52:43.111857" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:52:43.111932" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:52:43.111562" elapsed="0.000393"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:52:43.112540" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:52:43.112249" elapsed="0.000375">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:52:43.112023" elapsed="0.000671">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:52:43.112006" elapsed="0.000734">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:43.112897" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:43.113075" elapsed="0.000020"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:52:43.113141" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:52:43.104489" elapsed="0.008760">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:43.113423" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:43.113589" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:43.113790" elapsed="0.000021"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:52:43.103673" elapsed="0.010191">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:52:43.103487" elapsed="0.010471">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:52:43.114010" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:52:43.076824" elapsed="0.037279">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:52:53.133619" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:52:53.133199" elapsed="0.000456"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:52:53.154394" elapsed="0.000244"/>
</kw>
<msg time="2026-04-07T08:52:53.154693" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:52:53.153727" elapsed="0.001051"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:52:53.153214" elapsed="0.001644"/>
</kw>
<msg time="2026-04-07T08:52:53.154904" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:52:53.143852" elapsed="0.011095"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:52:53.143448" elapsed="0.011572"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:52:53.155656" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:52:53.155701" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:52:53.155410" elapsed="0.000328"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:52:53.158625" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:52:53.158225" elapsed="0.000428"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:52:53.159124" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:52:53.158833" elapsed="0.000317"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:52:53.159200" elapsed="0.000033"/>
</return>
<msg time="2026-04-07T08:52:53.159362" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:52:53.157621" elapsed="0.001767"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:52:53.159544" elapsed="0.000159"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:52:53.160233" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:52:53.159885" elapsed="0.000375"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:52:53.160664" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:52:53.160422" elapsed="0.000268"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:52:53.161129" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:52:53.160884" elapsed="0.000271"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:53.161569" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:53.161846" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:52:53.161680" elapsed="0.000222"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:53.162070" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:52:53.161926" elapsed="0.000198"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:53.162291" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:52:53.162147" elapsed="0.000195"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:52:53.161660" elapsed="0.000704"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:52:53.161384" elapsed="0.001072"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:52:53.161202" elapsed="0.001284"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:52:53.162527" elapsed="0.000028"/>
</return>
<msg time="2026-04-07T08:52:53.162742" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:52:53.162790" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:52:53.156888" elapsed="0.005925"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:52:53.163259" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:52:53.163335" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:52:53.162989" elapsed="0.000370"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:52:53.163941" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:52:53.163645" elapsed="0.000369">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:52:53.163426" elapsed="0.000653">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:52:53.163409" elapsed="0.000702">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:53.164265" elapsed="0.000021"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:53.164439" elapsed="0.000021"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:52:53.164505" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:52:53.156039" elapsed="0.008571">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:53.164806" elapsed="0.000022"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:53.164975" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:52:53.165143" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:52:53.155262" elapsed="0.009952">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:52:53.155086" elapsed="0.010183">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:52:53.165320" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:52:53.128686" elapsed="0.036726">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:53:03.184758" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:53:03.184329" elapsed="0.000466"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:53:03.205775" elapsed="0.000248"/>
</kw>
<msg time="2026-04-07T08:53:03.206078" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:53:03.205099" elapsed="0.001046"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:53:03.204606" elapsed="0.001620"/>
</kw>
<msg time="2026-04-07T08:53:03.206272" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:53:03.194949" elapsed="0.011366"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:53:03.194541" elapsed="0.011847"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:53:03.207054" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:53:03.207099" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:53:03.206805" elapsed="0.000316"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:53:03.209923" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:53:03.209509" elapsed="0.000441"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:53:03.210400" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:53:03.210112" elapsed="0.000314"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:53:03.210475" elapsed="0.000034"/>
</return>
<msg time="2026-04-07T08:53:03.210637" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:53:03.209134" elapsed="0.001527"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:53:03.210835" elapsed="0.000164"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:53:03.211491" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:53:03.211161" elapsed="0.000356"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:53:03.211943" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:53:03.211675" elapsed="0.000294"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:53:03.212352" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:53:03.212118" elapsed="0.000260"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:03.212794" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:03.213060" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:53:03.212908" elapsed="0.000207"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:03.213284" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:53:03.213141" elapsed="0.000196"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:03.213502" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:53:03.213360" elapsed="0.000193"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:53:03.212888" elapsed="0.000687"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:53:03.212606" elapsed="0.000994"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:53:03.212423" elapsed="0.001204"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:53:03.213668" elapsed="0.000027"/>
</return>
<msg time="2026-04-07T08:53:03.213881" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:53:03.213926" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:53:03.208393" elapsed="0.005557"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:53:03.214393" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:53:03.214469" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:53:03.214121" elapsed="0.000371"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:53:03.215088" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:53:03.214798" elapsed="0.000366">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:53:03.214560" elapsed="0.000670">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:53:03.214542" elapsed="0.000719">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:03.215416" elapsed="0.000021"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:03.215616" elapsed="0.000021"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:53:03.215683" elapsed="0.000015"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:53:03.207504" elapsed="0.008304">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:03.215997" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:03.216200" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:03.216366" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:53:03.206643" elapsed="0.009794">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:53:03.206452" elapsed="0.010040">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:53:03.216541" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:53:03.179762" elapsed="0.036871">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:53:13.236942" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:53:13.236516" elapsed="0.000462"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:53:13.257840" elapsed="0.000249"/>
</kw>
<msg time="2026-04-07T08:53:13.258153" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:53:13.257145" elapsed="0.001077"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:53:13.256646" elapsed="0.001656"/>
</kw>
<msg time="2026-04-07T08:53:13.258347" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:53:13.247247" elapsed="0.011150"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:53:13.246824" elapsed="0.011648"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:53:13.259164" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:53:13.259210" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:53:13.258887" elapsed="0.000346"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:53:13.261981" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:53:13.261570" elapsed="0.000438"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:53:13.262458" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:53:13.262170" elapsed="0.000314"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:53:13.262534" elapsed="0.000033"/>
</return>
<msg time="2026-04-07T08:53:13.262694" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:53:13.261197" elapsed="0.001537"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:53:13.262891" elapsed="0.000168"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:53:13.263549" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:53:13.263219" elapsed="0.000356"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:53:13.263986" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:53:13.263747" elapsed="0.000265"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:53:13.264393" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:53:13.264159" elapsed="0.000259"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:13.264855" elapsed="0.000024"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:13.265124" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:53:13.264971" elapsed="0.000209"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:13.265416" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:53:13.265205" elapsed="0.000266"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:13.265643" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:53:13.265496" elapsed="0.000198"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:53:13.264950" elapsed="0.000781"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:53:13.264666" elapsed="0.001092"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:53:13.264464" elapsed="0.001321"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:53:13.265825" elapsed="0.000028"/>
</return>
<msg time="2026-04-07T08:53:13.266023" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:53:13.266068" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:53:13.260460" elapsed="0.005631"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:53:13.266709" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:53:13.266804" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:53:13.266264" elapsed="0.000563"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:53:13.267411" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:53:13.267128" elapsed="0.000358">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:53:13.266897" elapsed="0.000656">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:53:13.266879" elapsed="0.000705">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:13.267754" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:13.267931" elapsed="0.000020"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:53:13.267996" elapsed="0.000015"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:53:13.259545" elapsed="0.008554">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:13.268269" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:13.268433" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:13.268599" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:53:13.258736" elapsed="0.009933">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:53:13.258540" elapsed="0.010205">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:53:13.268797" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:53:13.230580" elapsed="0.038309">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:53:23.290243" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:53:23.289843" elapsed="0.000435"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:53:23.314325" elapsed="0.000253"/>
</kw>
<msg time="2026-04-07T08:53:23.314635" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:53:23.313639" elapsed="0.001065"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:53:23.313173" elapsed="0.001629"/>
</kw>
<msg time="2026-04-07T08:53:23.314849" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:53:23.302280" elapsed="0.012614"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:53:23.301795" elapsed="0.013171"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:53:23.315758" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:53:23.315806" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:53:23.315484" elapsed="0.000345"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:53:23.318512" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:53:23.318117" elapsed="0.000424"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:53:23.319049" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:53:23.318706" elapsed="0.000370"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:53:23.319130" elapsed="0.000033"/>
</return>
<msg time="2026-04-07T08:53:23.319292" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:53:23.317727" elapsed="0.001589"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:53:23.319498" elapsed="0.000161"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:53:23.322391" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:53:23.319835" elapsed="0.002584"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:53:23.322853" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:53:23.322588" elapsed="0.000291"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:53:23.323271" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:53:23.323032" elapsed="0.000265"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:23.323738" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:23.324006" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:53:23.323854" elapsed="0.000208"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:23.324229" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:53:23.324087" elapsed="0.000195"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:23.324447" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:53:23.324305" elapsed="0.000192"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:53:23.323833" elapsed="0.000689"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:53:23.323547" elapsed="0.001002"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:53:23.323346" elapsed="0.001230"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:53:23.324619" elapsed="0.000028"/>
</return>
<msg time="2026-04-07T08:53:23.324832" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:53:23.324878" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:53:23.316998" elapsed="0.007903"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:53:23.325349" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:53:23.325425" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:53:23.325074" elapsed="0.000375"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:53:23.326031" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:53:23.325748" elapsed="0.000359">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:53:23.325516" elapsed="0.000659">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:53:23.325499" elapsed="0.000707">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:23.326358" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:23.326537" elapsed="0.000020"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:53:23.326602" elapsed="0.000015"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:53:23.316134" elapsed="0.010630">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:23.326942" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:23.327107" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:23.327271" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:53:23.315319" elapsed="0.012023">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:53:23.315128" elapsed="0.012269">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:53:23.327457" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:53:23.285244" elapsed="0.042311">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:53:33.348841" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:53:33.348417" elapsed="0.000465"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:53:33.369958" elapsed="0.000248"/>
</kw>
<msg time="2026-04-07T08:53:33.370268" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:53:33.369282" elapsed="0.001050"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:53:33.368815" elapsed="0.001598"/>
</kw>
<msg time="2026-04-07T08:53:33.370460" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:53:33.359391" elapsed="0.011112"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:53:33.358993" elapsed="0.011584"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:53:33.371257" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:53:33.371303" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:53:33.371007" elapsed="0.000319"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:53:33.374243" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:53:33.373851" elapsed="0.000419"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:53:33.374768" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:53:33.374433" elapsed="0.000362"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:53:33.374846" elapsed="0.000034"/>
</return>
<msg time="2026-04-07T08:53:33.375011" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:53:33.373442" elapsed="0.001593"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:53:33.375192" elapsed="0.000158"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:53:33.375862" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:53:33.375511" elapsed="0.000378"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:53:33.376289" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:53:33.376050" elapsed="0.000265"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:53:33.376699" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:53:33.376464" elapsed="0.000280"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:33.377147" elapsed="0.000024"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:33.377490" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:53:33.377335" elapsed="0.000211"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:33.377733" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:53:33.377571" elapsed="0.000218"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:33.377960" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:53:33.377814" elapsed="0.000198"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:53:33.377313" elapsed="0.000723"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:53:33.376974" elapsed="0.001086"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:53:33.376791" elapsed="0.001297"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:53:33.378130" elapsed="0.000028"/>
</return>
<msg time="2026-04-07T08:53:33.378330" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:53:33.378377" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:53:33.372477" elapsed="0.005923"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:53:33.378889" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:53:33.378966" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:53:33.378576" elapsed="0.000414"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:53:33.379558" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:53:33.379280" elapsed="0.000350">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:53:33.379059" elapsed="0.000637">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:53:33.379041" elapsed="0.000709">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:33.379909" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:33.380085" elapsed="0.000021"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:53:33.380152" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:53:33.371625" elapsed="0.008633">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:33.380435" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:33.380601" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:33.380786" elapsed="0.000021"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:53:33.370856" elapsed="0.010003">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:53:33.370657" elapsed="0.010258">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:53:33.380965" elapsed="0.000016"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:53:33.343813" elapsed="0.037246">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:53:43.400073" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:53:43.399641" elapsed="0.000468"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:53:43.421619" elapsed="0.000271"/>
</kw>
<msg time="2026-04-07T08:53:43.421949" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:53:43.420942" elapsed="0.001074"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:53:43.420448" elapsed="0.001650"/>
</kw>
<msg time="2026-04-07T08:53:43.422253" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:53:43.410455" elapsed="0.011845"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:53:43.410062" elapsed="0.012314"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:53:43.423045" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:53:43.423091" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:53:43.422782" elapsed="0.000332"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:53:43.425889" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:53:43.425482" elapsed="0.000434"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:53:43.426368" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:53:43.426079" elapsed="0.000314"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:53:43.426444" elapsed="0.000033"/>
</return>
<msg time="2026-04-07T08:53:43.426606" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:53:43.425075" elapsed="0.001555"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:53:43.426801" elapsed="0.000160"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:53:43.427487" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:53:43.427123" elapsed="0.000391"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:53:43.427933" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:53:43.427674" elapsed="0.000284"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:53:43.428344" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:53:43.428109" elapsed="0.000260"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:43.428786" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:43.429058" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:53:43.428903" elapsed="0.000209"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:43.429280" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:53:43.429139" elapsed="0.000195"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:43.429502" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:53:43.429357" elapsed="0.000195"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:53:43.428882" elapsed="0.000693"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:53:43.428597" elapsed="0.001004"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:53:43.428414" elapsed="0.001215"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:53:43.429670" elapsed="0.000027"/>
</return>
<msg time="2026-04-07T08:53:43.429882" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:53:43.429928" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:53:43.424310" elapsed="0.005641"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:53:43.430400" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:53:43.430477" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:53:43.430125" elapsed="0.000375"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:53:43.431093" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:53:43.430804" elapsed="0.000370">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:53:43.430568" elapsed="0.000676">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:53:43.430551" elapsed="0.000742">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:43.431456" elapsed="0.000061"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:43.431678" elapsed="0.000021"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:53:43.431761" elapsed="0.000017"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:53:43.423430" elapsed="0.008441">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:43.432047" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:43.432212" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:43.432377" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:53:43.422618" elapsed="0.009829">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:53:43.422440" elapsed="0.010064">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:53:43.432554" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:53:43.395031" elapsed="0.037615">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:53:53.452792" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:53:53.452341" elapsed="0.000489"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:53:53.474055" elapsed="0.000255"/>
</kw>
<msg time="2026-04-07T08:53:53.474380" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:53:53.473353" elapsed="0.001101"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:53:53.472842" elapsed="0.001696"/>
</kw>
<msg time="2026-04-07T08:53:53.474585" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:53:53.463112" elapsed="0.011516"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:53:53.462706" elapsed="0.012000"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:53:53.475388" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:53:53.475433" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:53:53.475135" elapsed="0.000321"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:53:53.478173" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:53:53.477782" elapsed="0.000418"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:53:53.478663" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:53:53.478364" elapsed="0.000325"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:53:53.478755" elapsed="0.000037"/>
</return>
<msg time="2026-04-07T08:53:53.478923" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:53:53.477391" elapsed="0.001557"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:53:53.479104" elapsed="0.000159"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:53:53.479771" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:53:53.479425" elapsed="0.000373"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:53:53.480195" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:53:53.479958" elapsed="0.000262"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:53:53.480733" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:53:53.480458" elapsed="0.000303"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:53.481165" elapsed="0.000024"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:53.481440" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:53:53.481283" elapsed="0.000212"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:53.481663" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:53:53.481521" elapsed="0.000208"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:53.481901" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:53:53.481755" elapsed="0.000197"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:53:53.481262" elapsed="0.000713"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:53:53.480993" elapsed="0.001007"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:53:53.480807" elapsed="0.001222"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:53:53.482074" elapsed="0.000028"/>
</return>
<msg time="2026-04-07T08:53:53.482271" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:53:53.482316" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:53:53.476628" elapsed="0.005712"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:53:53.482812" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:53:53.482890" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:53:53.482514" elapsed="0.000400"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:53:53.483672" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:53:53.483381" elapsed="0.000385">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:53:53.482982" elapsed="0.000853">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:53:53.482964" elapsed="0.000903">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:53.484024" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:53.484201" elapsed="0.000020"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:53:53.484267" elapsed="0.000015"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:53:53.475781" elapsed="0.008591">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:53.484545" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:53.484755" elapsed="0.000022"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:53:53.484926" elapsed="0.000019"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:53:53.474984" elapsed="0.010012">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:53:53.474793" elapsed="0.010260">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:53:53.485102" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:53:53.447745" elapsed="0.037450">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:54:03.506966" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:54:03.506457" elapsed="0.000549"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:54:03.527977" elapsed="0.000252"/>
</kw>
<msg time="2026-04-07T08:54:03.528285" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:54:03.527297" elapsed="0.001163"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:54:03.526826" elapsed="0.001720"/>
</kw>
<msg time="2026-04-07T08:54:03.528594" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:54:03.517350" elapsed="0.011288"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:54:03.516954" elapsed="0.011758"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:54:03.529387" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:54:03.529433" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:54:03.529133" elapsed="0.000323"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:54:03.532232" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:54:03.531817" elapsed="0.000443"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:54:03.532737" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:54:03.532424" elapsed="0.000341"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:54:03.532824" elapsed="0.000047"/>
</return>
<msg time="2026-04-07T08:54:03.533026" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:54:03.531417" elapsed="0.001634"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:54:03.533208" elapsed="0.000160"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:54:03.533877" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:54:03.533529" elapsed="0.000374"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:54:03.534299" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:54:03.534062" elapsed="0.000263"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:54:03.534977" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:54:03.534472" elapsed="0.000531"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:03.535410" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:03.535678" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:54:03.535524" elapsed="0.000223"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:03.535919" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:54:03.535774" elapsed="0.000198"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:03.536138" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:54:03.535995" elapsed="0.000193"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:54:03.535504" elapsed="0.000708"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:54:03.535236" elapsed="0.000999"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:54:03.535051" elapsed="0.001211"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:54:03.536303" elapsed="0.000028"/>
</return>
<msg time="2026-04-07T08:54:03.536502" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:54:03.536548" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:54:03.530669" elapsed="0.005902"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:54:03.537046" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:54:03.537122" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:54:03.536760" elapsed="0.000385"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:54:03.537780" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:54:03.537473" elapsed="0.000385">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:54:03.537251" elapsed="0.000676">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:54:03.537233" elapsed="0.000725">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:03.538115" elapsed="0.000028"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:03.538296" elapsed="0.000021"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:54:03.538362" elapsed="0.000015"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:54:03.529782" elapsed="0.008684">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:03.538668" elapsed="0.000022"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:03.538852" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:03.539018" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:54:03.528984" elapsed="0.010104">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:54:03.528796" elapsed="0.010347">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:54:03.539192" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:54:03.501607" elapsed="0.037677">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:54:13.574000" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:54:13.573149" elapsed="0.000885"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:54:13.595005" elapsed="0.000267"/>
</kw>
<msg time="2026-04-07T08:54:13.595329" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:54:13.594329" elapsed="0.001065"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:54:13.593862" elapsed="0.001613"/>
</kw>
<msg time="2026-04-07T08:54:13.595520" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:54:13.584335" elapsed="0.011228"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:54:13.583928" elapsed="0.011708"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:54:13.596782" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:54:13.596851" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:54:13.596061" elapsed="0.000820"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:54:13.599853" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:54:13.599444" elapsed="0.000437"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:54:13.600343" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:54:13.600046" elapsed="0.000323"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:54:13.600417" elapsed="0.000033"/>
</return>
<msg time="2026-04-07T08:54:13.600578" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:54:13.598833" elapsed="0.001771"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:54:13.600776" elapsed="0.001143"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:54:13.602455" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:54:13.602104" elapsed="0.000378"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:54:13.602915" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:54:13.602645" elapsed="0.000297"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:54:13.603335" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:54:13.603095" elapsed="0.000266"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:13.603803" elapsed="0.000032"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:13.604076" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:54:13.603923" elapsed="0.000209"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:13.604303" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:54:13.604158" elapsed="0.000200"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:13.604525" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:54:13.604381" elapsed="0.000195"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:54:13.603903" elapsed="0.000696"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:54:13.603603" elapsed="0.001019"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:54:13.603412" elapsed="0.001235"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:54:13.604688" elapsed="0.000045"/>
</return>
<msg time="2026-04-07T08:54:13.604942" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:54:13.604996" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:54:13.598102" elapsed="0.006922"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:54:13.605493" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:54:13.605569" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:54:13.605214" elapsed="0.000378"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:54:13.606191" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:54:13.605897" elapsed="0.000369">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:54:13.605661" elapsed="0.000672">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:54:13.605643" elapsed="0.000721">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:13.606519" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:13.606694" elapsed="0.000034"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:54:13.606775" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:54:13.597233" elapsed="0.009654">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:13.607062" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:13.607226" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:13.607391" elapsed="0.000019"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:54:13.595895" elapsed="0.011565">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:54:13.595701" elapsed="0.011814">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:54:13.607564" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:54:13.567477" elapsed="0.040179">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:54:23.621555" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:54:23.621185" elapsed="0.000482"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:54:23.643565" elapsed="0.000253"/>
</kw>
<msg time="2026-04-07T08:54:23.643872" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:54:23.642894" elapsed="0.001038"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:54:23.642376" elapsed="0.001634"/>
</kw>
<msg time="2026-04-07T08:54:23.644057" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:54:23.632600" elapsed="0.011500"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:54:23.632205" elapsed="0.011968"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:54:23.644807" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:54:23.644852" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:54:23.644551" elapsed="0.000324"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:54:23.647588" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:54:23.647203" elapsed="0.000411"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:54:23.648077" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:54:23.647790" elapsed="0.000313"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:54:23.648151" elapsed="0.000032"/>
</return>
<msg time="2026-04-07T08:54:23.648309" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:54:23.646809" elapsed="0.001530"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:54:23.648533" elapsed="0.000161"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:54:23.649200" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:54:23.648871" elapsed="0.000355"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:54:23.649618" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:54:23.649383" elapsed="0.000259"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:54:23.650042" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:54:23.649805" elapsed="0.000261"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:23.650488" elapsed="0.000029"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:23.650778" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:54:23.650612" elapsed="0.000223"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:23.651002" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:54:23.650859" elapsed="0.000196"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:23.651252" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:54:23.651089" elapsed="0.000226"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:54:23.650592" elapsed="0.000752"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:54:23.650293" elapsed="0.001080"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:54:23.650112" elapsed="0.001293"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:54:23.651444" elapsed="0.000027"/>
</return>
<msg time="2026-04-07T08:54:23.651640" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:54:23.651685" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:54:23.646050" elapsed="0.005657"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:54:23.652219" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:54:23.652295" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:54:23.651949" elapsed="0.000370"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:54:23.652903" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:54:23.652610" elapsed="0.000367">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:54:23.652387" elapsed="0.000658">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:54:23.652369" elapsed="0.000707">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:23.653232" elapsed="0.000021"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:23.653413" elapsed="0.000021"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:54:23.653479" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:54:23.645162" elapsed="0.008422">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:23.653773" elapsed="0.000022"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:23.653941" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:23.654106" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:54:23.644407" elapsed="0.009769">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:54:23.644233" elapsed="0.009999">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:54:23.654281" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:54:23.616132" elapsed="0.038240">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:54:33.674029" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:54:33.673648" elapsed="0.000414"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:54:33.694850" elapsed="0.000236"/>
</kw>
<msg time="2026-04-07T08:54:33.695139" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:54:33.694175" elapsed="0.001025"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:54:33.693696" elapsed="0.001581"/>
</kw>
<msg time="2026-04-07T08:54:33.695323" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:54:33.684259" elapsed="0.011107"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:54:33.683868" elapsed="0.011570"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:54:33.696069" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:54:33.696114" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:54:33.695828" elapsed="0.000309"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:54:33.698799" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:54:33.698393" elapsed="0.000433"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:54:33.699272" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:54:33.698987" elapsed="0.000311"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:54:33.699347" elapsed="0.000032"/>
</return>
<msg time="2026-04-07T08:54:33.699507" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:54:33.698021" elapsed="0.001510"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:54:33.699772" elapsed="0.000162"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:54:33.700447" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:54:33.700097" elapsed="0.000377"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:54:33.700894" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:54:33.700633" elapsed="0.000288"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:54:33.701308" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:54:33.701071" elapsed="0.000262"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:33.701754" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:33.702016" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:54:33.701865" elapsed="0.000206"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:33.702239" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:54:33.702097" elapsed="0.000195"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:33.702457" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:54:33.702315" elapsed="0.000193"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:54:33.701846" elapsed="0.000685"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:54:33.701568" elapsed="0.000986"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:54:33.701379" elapsed="0.001201"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:54:33.702621" elapsed="0.000028"/>
</return>
<msg time="2026-04-07T08:54:33.702835" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:54:33.702880" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:54:33.697294" elapsed="0.005609"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:54:33.703512" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:54:33.703589" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:54:33.703076" elapsed="0.000537"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:54:33.704197" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:54:33.703919" elapsed="0.000351">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:54:33.703681" elapsed="0.000655">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:54:33.703663" elapsed="0.000719">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:33.704537" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:33.704726" elapsed="0.000022"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:54:33.704794" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:54:33.696444" elapsed="0.008455">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:33.705071" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:33.705235" elapsed="0.000019"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:33.705399" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:54:33.695667" elapsed="0.009802">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:54:33.695498" elapsed="0.010025">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:54:33.705572" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:54:33.667670" elapsed="0.037994">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:54:43.724656" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:54:43.724252" elapsed="0.000439"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:54:43.745492" elapsed="0.000261"/>
</kw>
<msg time="2026-04-07T08:54:43.745808" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:54:43.744819" elapsed="0.001055"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:54:43.744328" elapsed="0.001626"/>
</kw>
<msg time="2026-04-07T08:54:43.746001" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:54:43.734944" elapsed="0.011099"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:54:43.734536" elapsed="0.011580"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:54:43.746771" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:54:43.746817" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:54:43.746508" elapsed="0.000332"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:54:43.749531" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:54:43.749144" elapsed="0.000413"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:54:43.750023" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:54:43.749735" elapsed="0.000313"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:54:43.750098" elapsed="0.000033"/>
</return>
<msg time="2026-04-07T08:54:43.750260" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:54:43.748763" elapsed="0.001521"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:54:43.750441" elapsed="0.000157"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:54:43.751309" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:54:43.750774" elapsed="0.000562"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:54:43.751753" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:54:43.751497" elapsed="0.000282"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:54:43.752168" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:54:43.751930" elapsed="0.000263"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:43.752621" elapsed="0.000024"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:43.752911" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:54:43.752747" elapsed="0.000221"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:43.753139" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:54:43.752995" elapsed="0.000197"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:43.753359" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:54:43.753216" elapsed="0.000195"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:54:43.752712" elapsed="0.000722"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:54:43.752446" elapsed="0.001014"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:54:43.752239" elapsed="0.001248"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:54:43.753527" elapsed="0.000028"/>
</return>
<msg time="2026-04-07T08:54:43.753745" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:54:43.753793" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:54:43.748010" elapsed="0.005805"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:54:43.754313" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:54:43.754389" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:54:43.754038" elapsed="0.000374"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:54:43.755012" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:54:43.754699" elapsed="0.000391">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:54:43.754480" elapsed="0.000678">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:54:43.754463" elapsed="0.000726">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:43.755344" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:43.755518" elapsed="0.000020"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:54:43.755582" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:54:43.747146" elapsed="0.008542">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:43.755923" elapsed="0.000029"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:43.756097" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:43.756262" elapsed="0.000019"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:54:43.746360" elapsed="0.009972">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:54:43.746180" elapsed="0.010223">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:54:43.756452" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:54:43.719579" elapsed="0.036965">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:54:53.777473" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:54:53.776942" elapsed="0.000578"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:54:53.798524" elapsed="0.000300"/>
</kw>
<msg time="2026-04-07T08:54:53.798881" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:54:53.797832" elapsed="0.001119"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:54:53.797355" elapsed="0.001676"/>
</kw>
<msg time="2026-04-07T08:54:53.799077" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:54:53.788036" elapsed="0.011083"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:54:53.787635" elapsed="0.011555"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:54:53.799866" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:54:53.799911" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:54:53.799609" elapsed="0.000324"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:54:53.802898" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:54:53.802496" elapsed="0.000429"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:54:53.803376" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:54:53.803087" elapsed="0.000315"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:54:53.803524" elapsed="0.000034"/>
</return>
<msg time="2026-04-07T08:54:53.803687" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:54:53.802080" elapsed="0.001631"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:54:53.803883" elapsed="0.000157"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:54:53.804534" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:54:53.804201" elapsed="0.000359"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:54:53.804974" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:54:53.804733" elapsed="0.000267"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:54:53.805397" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:54:53.805149" elapsed="0.000273"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:53.805832" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:53.806095" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:54:53.805944" elapsed="0.000205"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:53.806322" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:54:53.806175" elapsed="0.000199"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:53.806539" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:54:53.806397" elapsed="0.000191"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:54:53.805924" elapsed="0.000687"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:54:53.805646" elapsed="0.000989"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:54:53.805468" elapsed="0.001193"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:54:53.806700" elapsed="0.000042"/>
</return>
<msg time="2026-04-07T08:54:53.806919" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:54:53.806964" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:54:53.801093" elapsed="0.005894"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:54:53.807437" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:54:53.807511" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:54:53.807164" elapsed="0.000371"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:54:53.808114" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:54:53.807840" elapsed="0.000346">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:54:53.807601" elapsed="0.000651">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:54:53.807584" elapsed="0.000699">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:53.808435" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:53.808608" elapsed="0.000020"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:54:53.808673" elapsed="0.000015"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:54:53.800235" elapsed="0.008557">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:53.808970" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:53.809134" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:54:53.809313" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:54:53.799456" elapsed="0.009928">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:54:53.799252" elapsed="0.010221">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:54:53.809524" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:54:53.770728" elapsed="0.038894">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:55:03.828880" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:55:03.828487" elapsed="0.000426"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:55:03.849922" elapsed="0.000231"/>
</kw>
<msg time="2026-04-07T08:55:03.850206" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:55:03.849235" elapsed="0.001032"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:55:03.848706" elapsed="0.001637"/>
</kw>
<msg time="2026-04-07T08:55:03.850389" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:55:03.839216" elapsed="0.011215"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:55:03.838825" elapsed="0.011678"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:55:03.851122" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:55:03.851167" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:55:03.850886" elapsed="0.000304"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:55:03.853894" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:55:03.853470" elapsed="0.000452"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:55:03.854372" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:55:03.854083" elapsed="0.000315"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:55:03.854445" elapsed="0.000033"/>
</return>
<msg time="2026-04-07T08:55:03.854605" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:55:03.853097" elapsed="0.001533"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:55:03.854800" elapsed="0.000157"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:55:03.855448" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:55:03.855118" elapsed="0.000356"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:55:03.855922" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:55:03.855644" elapsed="0.000304"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:55:03.856342" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:55:03.856098" elapsed="0.000269"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:03.856793" elapsed="0.000024"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:03.857050" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:55:03.856901" elapsed="0.000204"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:03.857271" elapsed="0.000019"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:55:03.857129" elapsed="0.000194"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:03.857488" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:55:03.857347" elapsed="0.000191"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:55:03.856882" elapsed="0.000680"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:55:03.856596" elapsed="0.001050"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:55:03.856413" elapsed="0.001267"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:55:03.857740" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:55:03.857941" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:55:03.857986" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:55:03.852357" elapsed="0.005652"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:55:03.858449" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:55:03.858524" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:55:03.858182" elapsed="0.000366"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:55:03.859292" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:55:03.858854" elapsed="0.000511">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:55:03.858620" elapsed="0.000811">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:55:03.858603" elapsed="0.000860">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:03.859631" elapsed="0.000027"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:03.859845" elapsed="0.000021"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:55:03.859912" elapsed="0.000015"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:55:03.851476" elapsed="0.008539">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:03.860188" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:03.860353" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:03.860518" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:55:03.850742" elapsed="0.009847">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:55:03.850560" elapsed="0.010082">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:55:03.860691" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:55:03.820951" elapsed="0.039868">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:55:13.878587" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:55:13.878205" elapsed="0.000416"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:55:13.899810" elapsed="0.000237"/>
</kw>
<msg time="2026-04-07T08:55:13.900100" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:55:13.899076" elapsed="0.001087"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:55:13.898592" elapsed="0.001660"/>
</kw>
<msg time="2026-04-07T08:55:13.900299" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:55:13.888877" elapsed="0.011466"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:55:13.888470" elapsed="0.011948"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:55:13.901064" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:55:13.901110" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:55:13.900812" elapsed="0.000321"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:55:13.903903" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:55:13.903500" elapsed="0.000429"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:55:13.904381" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:55:13.904093" elapsed="0.000314"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:55:13.904455" elapsed="0.000034"/>
</return>
<msg time="2026-04-07T08:55:13.904615" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:55:13.903123" elapsed="0.001517"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:55:13.904812" elapsed="0.000158"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:55:13.905464" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:55:13.905132" elapsed="0.000358"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:55:13.905978" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:55:13.905734" elapsed="0.000269"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:55:13.906389" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:55:13.906152" elapsed="0.000262"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:13.907026" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:13.907294" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:55:13.907141" elapsed="0.000209"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:13.907520" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:55:13.907377" elapsed="0.000196"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:13.907756" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:55:13.907597" elapsed="0.000213"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:55:13.907120" elapsed="0.000713"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:55:13.906849" elapsed="0.001008"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:55:13.906459" elapsed="0.001424"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:55:13.907924" elapsed="0.000028"/>
</return>
<msg time="2026-04-07T08:55:13.908123" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:55:13.908168" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:55:13.902392" elapsed="0.005799"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:55:13.908636" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:55:13.908712" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:55:13.908365" elapsed="0.000387"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:55:13.909322" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:55:13.909043" elapsed="0.000359">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:55:13.908822" elapsed="0.000661">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:55:13.908804" elapsed="0.000726">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:13.909688" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:13.909881" elapsed="0.000021"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:55:13.909948" elapsed="0.000015"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:55:13.901535" elapsed="0.008517">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:13.910224" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:13.910434" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:13.910600" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:55:13.900652" elapsed="0.010018">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:55:13.900479" elapsed="0.010260">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:55:13.910792" elapsed="0.000014"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:55:13.873483" elapsed="0.037401">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:55:23.932871" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:55:23.932473" elapsed="0.000431"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:55:23.953901" elapsed="0.000242"/>
</kw>
<msg time="2026-04-07T08:55:23.954208" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:55:23.953226" elapsed="0.001046"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:55:23.952757" elapsed="0.001595"/>
</kw>
<msg time="2026-04-07T08:55:23.954398" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:55:23.943301" elapsed="0.011140"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:55:23.942844" elapsed="0.011671"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:55:23.955180" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:55:23.955225" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:55:23.954909" elapsed="0.000339"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:55:23.957907" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:55:23.957504" elapsed="0.000430"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:55:23.958612" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:55:23.958096" elapsed="0.000543"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:55:23.958687" elapsed="0.000046"/>
</return>
<msg time="2026-04-07T08:55:23.958865" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:55:23.957131" elapsed="0.001758"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:55:23.959057" elapsed="0.000160"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:55:23.959729" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:55:23.959380" elapsed="0.000377"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:55:23.960161" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:55:23.959920" elapsed="0.000266"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:55:23.960572" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:55:23.960336" elapsed="0.000261"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:23.961011" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:23.961272" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:55:23.961122" elapsed="0.000206"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:23.961575" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:55:23.961352" elapsed="0.000279"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:23.961815" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:55:23.961655" elapsed="0.000213"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:55:23.961102" elapsed="0.000790"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:55:23.960839" elapsed="0.001076"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:55:23.960642" elapsed="0.001299"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:55:23.961980" elapsed="0.000028"/>
</return>
<msg time="2026-04-07T08:55:23.962179" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:55:23.962225" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:55:23.956396" elapsed="0.005852"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:55:23.962696" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:55:23.962789" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:55:23.962423" elapsed="0.000391"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:55:23.963394" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:55:23.963116" elapsed="0.000350">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:55:23.962883" elapsed="0.000648">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:55:23.962865" elapsed="0.000698">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:23.963743" elapsed="0.000023"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:23.963925" elapsed="0.000021"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:55:23.963992" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:55:23.955544" elapsed="0.008554">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:23.964275" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:23.964442" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:23.964609" elapsed="0.000021"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:55:23.954763" elapsed="0.009918">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:55:23.954576" elapsed="0.010178">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:55:23.964806" elapsed="0.000016"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:55:23.925683" elapsed="0.039218">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:55:33.983449" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:55:33.983069" elapsed="0.000414"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:55:34.004612" elapsed="0.000268"/>
</kw>
<msg time="2026-04-07T08:55:34.004934" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:55:34.003957" elapsed="0.001036"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:55:34.003474" elapsed="0.001598"/>
</kw>
<msg time="2026-04-07T08:55:34.005117" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:55:33.993832" elapsed="0.011328"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:55:33.993419" elapsed="0.011814"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:55:34.005938" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:55:34.005985" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:55:34.005682" elapsed="0.000326"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:55:34.008671" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:55:34.008282" elapsed="0.000417"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:55:34.009190" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:55:34.008896" elapsed="0.000319"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:55:34.009263" elapsed="0.000033"/>
</return>
<msg time="2026-04-07T08:55:34.009424" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:55:34.007908" elapsed="0.001541"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:55:34.009606" elapsed="0.000177"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:55:34.010326" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:55:34.009947" elapsed="0.000406"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:55:34.010783" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:55:34.010513" elapsed="0.000297"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:55:34.011197" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:55:34.010960" elapsed="0.000263"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:34.011620" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:34.011897" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:55:34.011744" elapsed="0.000208"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:34.012120" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:55:34.011978" elapsed="0.000196"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:34.012340" elapsed="0.000019"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:55:34.012198" elapsed="0.000192"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:55:34.011709" elapsed="0.000703"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:55:34.011449" elapsed="0.000988"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:55:34.011268" elapsed="0.001194"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:55:34.012502" elapsed="0.000028"/>
</return>
<msg time="2026-04-07T08:55:34.012700" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:55:34.012761" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:55:34.007151" elapsed="0.005635"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:55:34.013239" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:55:34.013315" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:55:34.012969" elapsed="0.000369"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:55:34.013917" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:55:34.013622" elapsed="0.000368">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:55:34.013405" elapsed="0.000651">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:55:34.013388" elapsed="0.000699">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:34.014242" elapsed="0.000021"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:34.014416" elapsed="0.000020"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:55:34.014481" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:55:34.006298" elapsed="0.008358">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:34.014849" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:34.015015" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:34.015182" elapsed="0.000019"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:55:34.005537" elapsed="0.009715">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:55:34.005367" elapsed="0.009940">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:55:34.015357" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:55:33.977275" elapsed="0.038174">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:55:44.037766" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:55:44.037305" elapsed="0.000499"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:55:44.059351" elapsed="0.000247"/>
</kw>
<msg time="2026-04-07T08:55:44.059666" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:55:44.058668" elapsed="0.001086"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:55:44.058182" elapsed="0.001667"/>
</kw>
<msg time="2026-04-07T08:55:44.059897" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:55:44.048585" elapsed="0.011356"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:55:44.048176" elapsed="0.011839"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:55:44.060657" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:55:44.060704" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:55:44.060399" elapsed="0.000344"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:55:44.063500" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:55:44.063105" elapsed="0.000422"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:55:44.064019" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:55:44.063702" elapsed="0.000343"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:55:44.064095" elapsed="0.000033"/>
</return>
<msg time="2026-04-07T08:55:44.064256" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:55:44.062691" elapsed="0.001590"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:55:44.064439" elapsed="0.000168"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:55:44.065130" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:55:44.064790" elapsed="0.000367"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:55:44.065597" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:55:44.065344" elapsed="0.000280"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:55:44.066037" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:55:44.065794" elapsed="0.000269"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:44.066477" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:44.066885" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:55:44.066704" elapsed="0.000240"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:44.067117" elapsed="0.000027"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:55:44.066970" elapsed="0.000209"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:44.067352" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:55:44.067204" elapsed="0.000200"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:55:44.066680" elapsed="0.000748"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:55:44.066301" elapsed="0.001153"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:55:44.066117" elapsed="0.001364"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:55:44.067523" elapsed="0.000030"/>
</return>
<msg time="2026-04-07T08:55:44.067755" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:55:44.067804" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:55:44.061934" elapsed="0.005893"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:55:44.068294" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:55:44.068372" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:55:44.068004" elapsed="0.000392"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:55:44.069197" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:55:44.068901" elapsed="0.000386">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:55:44.068650" elapsed="0.000709">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:55:44.068447" elapsed="0.000951">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:44.069561" elapsed="0.000027"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:44.069769" elapsed="0.000025"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:55:44.069844" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:55:44.061045" elapsed="0.008916">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:44.070140" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:44.070307" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:44.070476" elapsed="0.000021"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:55:44.060251" elapsed="0.010298">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:55:44.060078" elapsed="0.010540">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:55:44.070671" elapsed="0.000017"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:55:44.032454" elapsed="0.038330">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:55:54.090558" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:55:54.090178" elapsed="0.000416"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:55:54.111476" elapsed="0.000254"/>
</kw>
<msg time="2026-04-07T08:55:54.111786" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:55:54.110793" elapsed="0.001057"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:55:54.110294" elapsed="0.001637"/>
</kw>
<msg time="2026-04-07T08:55:54.112095" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:55:54.100919" elapsed="0.011223"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:55:54.100489" elapsed="0.011728"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:55:54.112864" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:55:54.112910" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:55:54.112602" elapsed="0.000330"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:55:54.115661" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:55:54.115273" elapsed="0.000415"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:55:54.116162" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:55:54.115872" elapsed="0.000322"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:55:54.116245" elapsed="0.000032"/>
</return>
<msg time="2026-04-07T08:55:54.116408" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:55:54.114885" elapsed="0.001547"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:55:54.116590" elapsed="0.000180"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:55:54.117272" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:55:54.116935" elapsed="0.000364"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:55:54.117924" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:55:54.117459" elapsed="0.000492"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:55:54.118346" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:55:54.118105" elapsed="0.000266"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:54.118816" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:54.119084" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:55:54.118931" elapsed="0.000209"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:54.119309" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:55:54.119167" elapsed="0.000196"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:54.119534" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:55:54.119386" elapsed="0.000200"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:55:54.118911" elapsed="0.000698"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:55:54.118598" elapsed="0.001035"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:55:54.118418" elapsed="0.001241"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:55:54.119699" elapsed="0.000043"/>
</return>
<msg time="2026-04-07T08:55:54.119915" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:55:54.119960" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:55:54.114106" elapsed="0.005877"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:55:54.120437" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:55:54.120513" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:55:54.120164" elapsed="0.000372"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:55:54.121118" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:55:54.120840" elapsed="0.000351">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:55:54.120604" elapsed="0.000653">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:55:54.120587" elapsed="0.000701">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:54.121444" elapsed="0.000055"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:54.121693" elapsed="0.000042"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:55:54.121787" elapsed="0.000017"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:55:54.113227" elapsed="0.008669">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:54.122075" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:54.122240" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:55:54.122406" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:55:54.112453" elapsed="0.010024">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:55:54.112279" elapsed="0.010255">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:55:54.122592" elapsed="0.000018"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:55:54.085582" elapsed="0.037109">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:56:04.142039" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:56:04.141654" elapsed="0.000418"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:56:04.163749" elapsed="0.000241"/>
</kw>
<msg time="2026-04-07T08:56:04.164044" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:56:04.163057" elapsed="0.001048"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:56:04.162575" elapsed="0.001607"/>
</kw>
<msg time="2026-04-07T08:56:04.164228" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:56:04.152636" elapsed="0.011635"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:56:04.152237" elapsed="0.012109"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:56:04.164970" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:56:04.165016" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:56:04.164729" elapsed="0.000311"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:56:04.167942" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:56:04.167540" elapsed="0.000429"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:56:04.168416" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:56:04.168132" elapsed="0.000310"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:56:04.168490" elapsed="0.000031"/>
</return>
<msg time="2026-04-07T08:56:04.168648" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:56:04.167129" elapsed="0.001544"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:56:04.168850" elapsed="0.000162"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:56:04.169507" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:56:04.169174" elapsed="0.000359"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:56:04.169948" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:56:04.169693" elapsed="0.000282"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:56:04.170451" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:56:04.170208" elapsed="0.000269"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:04.170891" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:04.171149" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:56:04.171000" elapsed="0.000204"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:04.171408" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:56:04.171229" elapsed="0.000234"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:04.171631" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:56:04.171488" elapsed="0.000194"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:56:04.170981" elapsed="0.000724"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:56:04.170704" elapsed="0.001042"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:56:04.170522" elapsed="0.001250"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:56:04.171812" elapsed="0.000028"/>
</return>
<msg time="2026-04-07T08:56:04.172011" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:56:04.172056" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:56:04.166185" elapsed="0.005900"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:56:04.172526" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:56:04.172602" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:56:04.172257" elapsed="0.000369"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:56:04.173209" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:56:04.172935" elapsed="0.000346">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:56:04.172693" elapsed="0.000652">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:56:04.172675" elapsed="0.000701">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:04.173529" elapsed="0.000021"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:04.173701" elapsed="0.000035"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:56:04.173784" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:56:04.165332" elapsed="0.008555">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:04.174065" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:04.174228" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:04.174391" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:56:04.164571" elapsed="0.009889">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:56:04.164405" elapsed="0.010109">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:56:04.174563" elapsed="0.000014"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:56:04.135635" elapsed="0.039018">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:56:14.194393" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:56:14.194010" elapsed="0.000417"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:56:14.216805" elapsed="0.000257"/>
</kw>
<msg time="2026-04-07T08:56:14.217115" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:56:14.216103" elapsed="0.001152"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:56:14.215619" elapsed="0.001729"/>
</kw>
<msg time="2026-04-07T08:56:14.217399" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:56:14.205860" elapsed="0.011585"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:56:14.205444" elapsed="0.012075"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:56:14.218176" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:56:14.218220" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:56:14.217931" elapsed="0.000312"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:56:14.221037" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:56:14.220577" elapsed="0.000488"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:56:14.221527" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:56:14.221230" elapsed="0.000324"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:56:14.221602" elapsed="0.000033"/>
</return>
<msg time="2026-04-07T08:56:14.221782" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:56:14.220204" elapsed="0.001604"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:56:14.222021" elapsed="0.000184"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:56:14.222707" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:56:14.222371" elapsed="0.000382"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:56:14.223154" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:56:14.222915" elapsed="0.000265"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:56:14.223573" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:56:14.223329" elapsed="0.000269"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:14.224015" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:14.224278" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:56:14.224129" elapsed="0.000205"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:14.224502" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:56:14.224359" elapsed="0.000197"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:14.224736" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:56:14.224579" elapsed="0.000211"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:56:14.224107" elapsed="0.000706"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:56:14.223840" elapsed="0.000997"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:56:14.223644" elapsed="0.001220"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:56:14.224905" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:56:14.225103" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:56:14.225149" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:56:14.219424" elapsed="0.005748"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:56:14.225617" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:56:14.225693" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:56:14.225343" elapsed="0.000388"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:56:14.226444" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:56:14.226080" elapsed="0.000455">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:56:14.225840" elapsed="0.001005">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:56:14.225821" elapsed="0.001073">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:14.227084" elapsed="0.000028"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:14.227328" elapsed="0.000022"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:56:14.227397" elapsed="0.000017"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:56:14.218572" elapsed="0.008935">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:14.227681" elapsed="0.000022"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:14.227864" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:14.228028" elapsed="0.000027"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:56:14.217769" elapsed="0.010338">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:56:14.217580" elapsed="0.010581">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:56:14.228225" elapsed="0.000019"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:56:14.189457" elapsed="0.038886">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:56:24.250673" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:56:24.250038" elapsed="0.000710"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:56:24.282698" elapsed="0.000312"/>
</kw>
<msg time="2026-04-07T08:56:24.283103" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:56:24.281998" elapsed="0.001190"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:56:24.281506" elapsed="0.001771"/>
</kw>
<msg time="2026-04-07T08:56:24.283326" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:56:24.268105" elapsed="0.015265"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:56:24.266548" elapsed="0.016897"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:56:24.284188" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:56:24.284233" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:56:24.283911" elapsed="0.000345"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:56:24.287068" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:56:24.286650" elapsed="0.000445"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:56:24.287549" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:56:24.287260" elapsed="0.000315"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:56:24.287627" elapsed="0.000036"/>
</return>
<msg time="2026-04-07T08:56:24.287814" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:56:24.286268" elapsed="0.001572"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:56:24.287999" elapsed="0.000292"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:56:24.288815" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:56:24.288458" elapsed="0.000384"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:56:24.289246" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:56:24.289005" elapsed="0.000266"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:56:24.289657" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:56:24.289421" elapsed="0.000261"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:24.290345" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:24.290631" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:56:24.290468" elapsed="0.000220"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:24.290877" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:56:24.290730" elapsed="0.000202"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:24.291101" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:56:24.290955" elapsed="0.000197"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:56:24.290444" elapsed="0.000730"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:56:24.290167" elapsed="0.001033"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:56:24.289744" elapsed="0.001487"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:56:24.291275" elapsed="0.000028"/>
</return>
<msg time="2026-04-07T08:56:24.291472" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:56:24.291517" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:56:24.285491" elapsed="0.006048"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:56:24.292027" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:56:24.292103" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:56:24.291739" elapsed="0.000393"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:56:24.292710" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:56:24.292421" elapsed="0.000395">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:56:24.292200" elapsed="0.000689">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:56:24.292182" elapsed="0.000738">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:24.293075" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:24.293251" elapsed="0.000020"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:56:24.293317" elapsed="0.000015"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:56:24.284591" elapsed="0.008840">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:24.293604" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:24.293789" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:24.293957" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:56:24.283747" elapsed="0.010287">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:56:24.283525" elapsed="0.010580">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:56:24.294155" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:56:24.243579" elapsed="0.050671">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.312679" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:56:34.312293" elapsed="0.000528"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-07T08:56:34.337172" elapsed="0.000306"/>
</kw>
<msg time="2026-04-07T08:56:34.337543" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:56:34.336466" elapsed="0.001143"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to titanium and in case titanium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:56:34.335921" elapsed="0.001782"/>
</kw>
<msg time="2026-04-07T08:56:34.337774" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:56:34.326253" elapsed="0.011567"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to titanium and in case titanium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-07T08:56:34.325704" elapsed="0.012191"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-07T08:56:34.338550" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-07T08:56:34.338598" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-07T08:56:34.338285" elapsed="0.000336"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.343462" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:56:34.341196" elapsed="0.002296"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.344070" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:56:34.343677" elapsed="0.000421"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:56:34.344149" elapsed="0.000033"/>
</return>
<msg time="2026-04-07T08:56:34.344325" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:56:34.340705" elapsed="0.003647"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-07T08:56:34.344523" elapsed="0.000173"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.345254" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:56:34.344898" elapsed="0.000383"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.345690" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:56:34.345447" elapsed="0.000283"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.346172" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:56:34.345884" elapsed="0.000325"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.346665" elapsed="0.000032"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.346955" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:56:34.346802" elapsed="0.000210"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.347182" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:56:34.347039" elapsed="0.000221"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.347476" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:56:34.347284" elapsed="0.000265"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:56:34.346781" elapsed="0.000805"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:56:34.346473" elapsed="0.001144"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:56:34.346260" elapsed="0.001389"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-07T08:56:34.347701" elapsed="0.000056"/>
</return>
<msg time="2026-04-07T08:56:34.347972" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-07T08:56:34.348020" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-07T08:56:34.339914" elapsed="0.008149"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.348584" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:56:34.348661" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:56:34.348305" elapsed="0.000380"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.349317" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.349033" elapsed="0.000360">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-07T08:56:34.348805" elapsed="0.000657">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-07T08:56:34.348785" elapsed="0.000708">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.349648" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.349844" elapsed="0.000021"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-07T08:56:34.349911" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.338946" elapsed="0.011072">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.350192" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.350358" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.350523" elapsed="0.000019"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-07T08:56:34.338139" elapsed="0.012454">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-07T08:56:34.337959" elapsed="0.012690">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-07T08:56:34.350698" elapsed="0.000029"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-07T08:56:34.307612" elapsed="0.043197">No leader found.</status>
</kw>
<msg time="2026-04-07T08:56:34.350901" level="FAIL">Keyword 'ShardStability.Shards_Stability_Get_Details' failed after retrying for 5 minutes. The last error was: No leader found.</msg>
<arg>300s</arg>
<arg>10s</arg>
<arg>ShardStability.Shards_Stability_Get_Details</arg>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.705109" elapsed="301.645894">Keyword 'ShardStability.Shards_Stability_Get_Details' failed after retrying for 5 minutes. The last error was: No leader found.</status>
</kw>
<kw name="Run_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<arg>ps -ef | grep java</arg>
<doc>Cycle through indices (or all), run command on each.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.351267" elapsed="0.000024"/>
</kw>
<doc>Start each member and wait for sync.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:51:32.659375" elapsed="301.692088">Keyword 'ShardStability.Shards_Stability_Get_Details' failed after retrying for 5 minutes. The last error was: No leader found.</status>
</test>
<kw name="Close All Connections" owner="SSHLibrary" type="TEARDOWN">
<doc>Closes all open connections.</doc>
<status status="PASS" start="2026-04-07T08:56:34.351959" elapsed="0.000107"/>
</kw>
<doc>Set tell-based protocol usage

Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.

This program and the accompanying materials are made available under the
terms of the Eclipse Public License v1.0 which accompanies this distribution,
and is available at http://www.eclipse.org/legal/epl-v10.html

Suite stops all odl nodes, un-comment usage of tell-based protocol in
config file (means make it true) and starts all nodes again.</doc>
<status status="FAIL" start="2026-04-07T08:51:32.396098" elapsed="301.956003"/>
</suite>
<suite id="s1-s8" name="Singlepeer Pc Shm 300Kroutes" source="/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/suites/bgpcep/bgpclustering/singlepeer_pc_shm_300kroutes.robot">
<kw name="Setup_Everything" owner="PrefixcountKeywords" type="SETUP">
<kw name="Setup_Utils_For_Setup_And_Teardown" owner="SetupUtils">
<kw name="Do_Not_Fail_Fast_From_Now_On" owner="FailFast">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.450569" level="INFO">${SuiteFastFail} = False</msg>
<arg>${SuiteFastFail}</arg>
<arg>False</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:56:34.445784" elapsed="0.004841"/>
</kw>
<doc>Set suite to not fail fast.</doc>
<status status="PASS" start="2026-04-07T08:56:34.445506" elapsed="0.005190"/>
</kw>
<kw name="Setup_Karaf_Keywords" owner="KarafKeywords">
<kw name="ClusterManagement_Setup" owner="ClusterManagement">
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.456645" level="INFO">${already_done} = False</msg>
<var>${already_done}</var>
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>False</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-07T08:56:34.451898" elapsed="0.004777"/>
</kw>
<if>
<branch type="IF" condition="${already_done}">
<return>
<status status="NOT RUN" start="2026-04-07T08:56:34.456917" elapsed="0.000019"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:56:34.456785" elapsed="0.000180"/>
</branch>
<status status="PASS" start="2026-04-07T08:56:34.456757" elapsed="0.000230"/>
</if>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.457623" level="INFO">${ClusterManagement__has_setup_run} = True</msg>
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:56:34.457203" elapsed="0.000470"/>
</kw>
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.458210" level="INFO">${cluster_size} = 0</msg>
<var>${cluster_size}</var>
<arg>\${NUM_ODL_SYSTEM}</arg>
<arg>1</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-07T08:56:34.457872" elapsed="0.000380"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Convert To Integer" owner="BuiltIn">
<arg>${cluster_size}</arg>
<doc>Converts the given item to an integer number.</doc>
<status status="PASS" start="2026-04-07T08:56:34.458898" elapsed="0.000301"/>
</kw>
<msg time="2026-04-07T08:56:34.459300" level="INFO">${status} = PASS</msg>
<msg time="2026-04-07T08:56:34.459348" level="INFO">${possibly_int_of_members} = 0</msg>
<var>${status}</var>
<var>${possibly_int_of_members}</var>
<arg>BuiltIn.Convert_To_Integer</arg>
<arg>${cluster_size}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:56:34.458510" elapsed="0.000875"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.459968" level="INFO">${int_of_members} = 0</msg>
<var>${int_of_members}</var>
<arg>'${status}' != 'PASS'</arg>
<arg>${1}</arg>
<arg>${possibly_int_of_members}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:56:34.459572" elapsed="0.000423"/>
</kw>
<kw name="ClusterManagement__Compute_Derived_Variables" owner="ClusterManagement">
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.461048" level="INFO">@{member_index_list} = [ ]</msg>
<var>@{member_index_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:56:34.460776" elapsed="0.000299"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.461501" level="INFO">@{session_list} = [ ]</msg>
<var>@{session_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:56:34.461241" elapsed="0.000286"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.462016" level="INFO">&amp;{index_to_ip_mapping} = { }</msg>
<var>&amp;{index_to_ip_mapping}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:56:34.461702" elapsed="0.000341"/>
</kw>
<for flavor="IN RANGE">
<iter>
<kw name="ClusterManagement__Include_Member_Index" owner="ClusterManagement">
<arg>${index}</arg>
<arg>${member_index_list}</arg>
<arg>${session_list}</arg>
<arg>${index_to_ip_mapping}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>http_retries=${http_retries}</arg>
<doc>Add a corresponding item based on index into the last three arguments.
Create the Http session whose alias is added to list.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.465089" elapsed="0.000026"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:56:34.464871" elapsed="0.000295"/>
</iter>
<var>${index}</var>
<value>1</value>
<value>${int_of_members+1}</value>
<status status="NOT RUN" start="2026-04-07T08:56:34.462100" elapsed="0.003095"/>
</for>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.465869" level="INFO">${ClusterManagement__member_index_list} = []</msg>
<arg>\${ClusterManagement__member_index_list}</arg>
<arg>${member_index_list}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:56:34.465422" elapsed="0.000493"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.466501" level="INFO">${ClusterManagement__index_to_ip_mapping} = {}</msg>
<arg>\${ClusterManagement__index_to_ip_mapping}</arg>
<arg>${index_to_ip_mapping}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:56:34.466096" elapsed="0.000449"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.467168" level="INFO">${ClusterManagement__session_list} = []</msg>
<arg>\${ClusterManagement__session_list}</arg>
<arg>${session_list}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:56:34.466765" elapsed="0.000446"/>
</kw>
<arg>int_of_members=${int_of_members}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>http_retries=${http_retries}</arg>
<doc>Construct index list, session list and IP mapping, publish them as suite variables.</doc>
<status status="PASS" start="2026-04-07T08:56:34.460278" elapsed="0.006993"/>
</kw>
<arg>http_timeout=${http_timeout}</arg>
<doc>Detect repeated call, or detect number of members and initialize derived suite variables.
Http sessions are created with parameters to not waste time when ODL is no accepting connections properly.</doc>
<status status="PASS" start="2026-04-07T08:56:34.451497" elapsed="0.015831"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:56:34.467540" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:56:34.467423" elapsed="0.000163"/>
</branch>
<status status="PASS" start="2026-04-07T08:56:34.467402" elapsed="0.000206"/>
</if>
<kw name="Run_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.471057" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:56:34.470645" elapsed="0.000440"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.471589" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:56:34.471263" elapsed="0.000374"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:56:34.471700" elapsed="0.000057"/>
</return>
<msg time="2026-04-07T08:56:34.471919" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:56:34.470295" elapsed="0.001672"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<doc>Obtain IP, call Utils and return output. This keeps previous ssh session active.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.472411" elapsed="0.000025"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:56:34.472206" elapsed="0.000267"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:56:34.472045" elapsed="0.000454"/>
</for>
<arg>iptables -I INPUT -p tcp --dport ${KARAF_SHELL_PORT} -j ACCEPT; iptables-save</arg>
<doc>Cycle through indices (or all), run command on each.</doc>
<status status="PASS" start="2026-04-07T08:56:34.467893" elapsed="0.004660"/>
</kw>
<kw name="Comment" owner="BuiltIn">
<arg>First connections to Karaf console may fail, so WUKS is used. TODO: Track as a Bug.</arg>
<doc>Displays the given messages in the log file as keyword arguments.</doc>
<status status="PASS" start="2026-04-07T08:56:34.472742" elapsed="0.000218"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<arg>BuiltIn.Wait_Until_Keyword_Succeeds</arg>
<arg>3s</arg>
<arg>1s</arg>
<arg>Open_Controller_Karaf_Console_On_Background</arg>
<arg>member_index=${index}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.473310" elapsed="0.000025"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:56:34.473131" elapsed="0.000313"/>
</iter>
<var>${index}</var>
<value>@{ClusterManagement__member_index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:56:34.473011" elapsed="0.000465"/>
</for>
<arg>http_timeout=${http_timeout}</arg>
<doc>Initialize ClusterManagement. Open ssh karaf connections to each ODL.</doc>
<status status="PASS" start="2026-04-07T08:56:34.451022" elapsed="0.022513"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Test_Suite_Start_To_Controller_Karaf" owner="KarafKeywords">
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:56:34.476629" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:56:34.476499" elapsed="0.000180"/>
</branch>
<status status="PASS" start="2026-04-07T08:56:34.476478" elapsed="0.000223"/>
</if>
<kw name="Log_Message_To_Controller_Karaf" owner="KarafKeywords">
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:56:34.482230" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:56:34.482119" elapsed="0.000158"/>
</branch>
<status status="PASS" start="2026-04-07T08:56:34.482099" elapsed="0.000202"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.483308" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:56:34.482912" elapsed="0.000433"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.483836" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:56:34.483526" elapsed="0.000335"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:56:34.483907" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:56:34.484072" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:56:34.482544" elapsed="0.001553"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<var>${status}</var>
<var>${output}</var>
<arg>Execute_Controller_Karaf_Command_With_Retry_On_Background</arg>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.484462" elapsed="0.000022"/>
</kw>
<if>
<branch type="IF" condition="not ${tolerate_failure} and &quot;${status}&quot; != &quot;PASS&quot;">
<kw name="Fail" owner="BuiltIn">
<arg>${output}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.484746" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:56:34.484561" elapsed="0.000240"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:56:34.484544" elapsed="0.000281"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:56:34.484296" elapsed="0.000552"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:56:34.484148" elapsed="0.000724"/>
</for>
<arg>Starting suite ${SUITE_SOURCE}</arg>
<arg>${member_index_list}</arg>
<doc>Make sure this resource is initialized. Send a message into the controller's karaf log file on every node listed (or all).
By default, failure while processing a node is silently ignored, unless ${tolerate_failure} is False.</doc>
<status status="PASS" start="2026-04-07T08:56:34.481810" elapsed="0.003115"/>
</kw>
<doc>Log suite name to karaf log, useful in suite setup.</doc>
<status status="PASS" start="2026-04-07T08:56:34.474173" elapsed="0.010807"/>
</kw>
<arg>KarafKeywords.Log_Test_Suite_Start_To_Controller_Karaf</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:56:34.473711" elapsed="0.011311"/>
</kw>
<arg>http_timeout=125</arg>
<doc>Prepare both FailFast and Karaf logging, log that the caller suite has started.
This keyword is to be used in suite setup, and without it the other keywords may not work properly.</doc>
<status status="PASS" start="2026-04-07T08:56:34.445171" elapsed="0.039899"/>
</kw>
<kw name="PC_Setup" owner="PrefixCounting">
<kw name="WU_Setup" owner="WaitUtils">
<kw name="SC_Setup" owner="ScalarClosures">
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:56:34.486525" elapsed="0.000036"/>
</return>
<msg time="2026-04-07T08:56:34.486818" level="INFO">${sc_fail} = ['BuiltIn.Fail', [], {}]</msg>
<var>${sc_fail}</var>
<arg>BuiltIn.Fail</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:56:34.486294" elapsed="0.000564"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.492526" level="INFO">${ScalarClosures__fail} = ['BuiltIn.Fail', [], {}]</msg>
<arg>${ScalarClosures__fail}</arg>
<arg>${sc_fail}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:56:34.487077" elapsed="0.005500"/>
</kw>
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:56:34.492993" elapsed="0.000031"/>
</return>
<msg time="2026-04-07T08:56:34.493218" level="INFO">${sc_identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<var>${sc_identity}</var>
<arg>BuiltIn.Set_Variable</arg>
<arg>placeholder</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:56:34.492801" elapsed="0.000447"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.498286" level="INFO">${ScalarClosures__identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<arg>${ScalarClosures__identity}</arg>
<arg>${sc_identity}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:56:34.493453" elapsed="0.004881"/>
</kw>
<doc>Resource setup. Create closures and assign them to suite variables.</doc>
<status status="PASS" start="2026-04-07T08:56:34.485944" elapsed="0.012449"/>
</kw>
<doc>Call dependency setup. Perhaps needed.</doc>
<status status="PASS" start="2026-04-07T08:56:34.485577" elapsed="0.012862"/>
</kw>
<doc>Call dependency setups and construct suite variables.</doc>
<status status="PASS" start="2026-04-07T08:56:34.485303" elapsed="0.013179"/>
</kw>
<kw name="List_All_Indices" owner="ClusterManagement">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.501974" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:56:34.501576" elapsed="0.000425"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.502523" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:56:34.502230" elapsed="0.000318"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:56:34.502593" elapsed="0.000030"/>
</return>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:56:34.499364" elapsed="0.003369"/>
</kw>
<msg time="2026-04-07T08:56:34.502774" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>List_Indices_Or_All</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:56:34.498943" elapsed="0.003882"/>
</kw>
<msg time="2026-04-07T08:56:34.502920" level="INFO">${indices} = []</msg>
<var>${indices}</var>
<doc>Create a new list of all indices.</doc>
<status status="PASS" start="2026-04-07T08:56:34.498692" elapsed="0.004252"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Resolve_Http_Session_For_Member" owner="ClusterManagement">
<var>${session}</var>
<arg>${member_index}</arg>
<doc>Return RequestsLibrary session alias pointing to node of given index.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.503353" elapsed="0.000030"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${operational_${member_index}}</arg>
<arg>${session}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.503565" elapsed="0.000021"/>
</kw>
<var name="${member_index}"/>
<status status="NOT RUN" start="2026-04-07T08:56:34.503112" elapsed="0.000509"/>
</iter>
<var>${member_index}</var>
<value>@{indices}</value>
<status status="NOT RUN" start="2026-04-07T08:56:34.502992" elapsed="0.000656"/>
</for>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.508672" level="INFO">${pc_all_indices} = []</msg>
<arg>${pc_all_indices}</arg>
<arg>${indices}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:56:34.503836" elapsed="0.004899"/>
</kw>
<kw name="Set Default Configuration" owner="SSHLibrary">
<arg>prompt=${TOOLS_SYSTEM_PROMPT}</arg>
<doc>Update the default `configuration`.</doc>
<status status="PASS" start="2026-04-07T08:56:34.508927" elapsed="0.000186"/>
</kw>
<kw name="Open Connection" owner="SSHLibrary">
<arg>${TOOLS_SYSTEM_IP}</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="PASS" start="2026-04-07T08:56:34.509288" elapsed="0.000205"/>
</kw>
<kw name="Flexible_Mininet_Login" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Flexible_SSH_Login" owner="SSHKeywords">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.511333" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:56:34.511416" level="INFO">${pwd_length} = 0</msg>
<var>${pwd_length}</var>
<arg>${password}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:56:34.510994" elapsed="0.000447"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${pwd_length} &gt; 0</arg>
<arg>SSHLibrary.Login</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:56:34.511621" elapsed="0.000343"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-07T08:56:34.512901" level="INFO">Logging into ':22' as 'jenkins'.</msg>
<msg time="2026-04-07T08:56:34.513258" level="FAIL">OSError: [Errno 16] Device or resource busy</msg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Logs into the SSH server using key-based authentication.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.512530" elapsed="0.001256">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:56:34.513845" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>SSHLibrary.Login With Public Key</arg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.512151" elapsed="0.001744"/>
</kw>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>On active SSH session: if given non-empty password, do Login, else do Login With Public Key.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.510518" elapsed="0.003487">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:56:34.514053" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Flexible SSH Login</arg>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.510095" elapsed="0.004002"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Mininet machine.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.509712" elapsed="0.004472">OSError: [Errno 16] Device or resource busy</status>
</kw>
<kw name="Put File" owner="SSHLibrary">
<arg>/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/suites/bgpcep/bgpclustering/../../../../tools/fastbgp/play.py</arg>
<doc>Uploads file(s) from the local machine to the remote machine.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.514364" elapsed="0.000024"/>
</kw>
<kw name="Require_Python" owner="SSHKeywords">
<doc>Verify current SSH connection leads to machine with python working. Fatal fail otherwise.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.514652" elapsed="0.000024"/>
</kw>
<kw name="Assure_Library_Ipaddr" owner="SSHKeywords">
<arg>target_dir=.</arg>
<doc>Tests whether ipaddr module is present on ssh-connected machine, Puts ipaddr.py to target_dir if not.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.514942" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${timeout}</var>
<arg>${TEST_DURATION_MULTIPLIER} * (${COUNT} * 6.0 / 10000 + 35)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.515133" elapsed="0.000027"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${bgp_filling_timeout}</arg>
<arg>${timeout}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.515358" elapsed="0.000022"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${bgp_emptying_timeout}</arg>
<arg>${bgp_filling_timeout*3.0/4}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.515551" elapsed="0.000020"/>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<arg>log:set ${KARAF_LOG_LEVEL}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.516143" elapsed="0.000025"/>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<var>${init_shard_details}</var>
<arg>${SHARD_MONITOR_LIST}</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.523577" elapsed="0.000028"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${init_shard_details}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.523843" elapsed="0.000023"/>
</kw>
<doc>Setup imported resources, SSH-login to tools system,
create HTTP session, put Python tool to tools system.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.444844" elapsed="0.079117">OSError: [Errno 16] Device or resource busy</status>
</kw>
<test id="s1-s8-t1" name="Get Example Bgp Rib Owner" line="44">
<doc>Find an odl node which is able to accept incomming connection. It is a node, which is the owner of bgp rib, as it is a singleton service.
This node should be used for bgp peer to connect to.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.524038" elapsed="0.000653">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s8-t2" name="Check_For_Empty_Ipv4_Topology_Before_Talking" line="56">
<doc>Wait for example-ipv4-topology to come up and empty. Give large timeout for case when BGP boots slower than restconf.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:56:34.524935" elapsed="0.000503">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s8-t3" name="Reconfigure_ODL_To_Accept_Connection" line="69">
<doc>Configure BGP peer module with initiate-connection set to false.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.525610" elapsed="0.000403">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s8-t4" name="Start_Talking_BGP_Speaker" line="88">
<doc>Start Python speaker to connect to ODL.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.526182" elapsed="0.000321">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s8-t5" name="Wait_For_Stable_Talking_Ipv4_Topology" line="92">
<doc>Wait until example-ipv4-topology becomes stable. This is done by checking stability of prefix count as seen from all nodes.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.526709" elapsed="0.000514">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s8-t6" name="Check_Talking_Ipv4_Topology_Count" line="106">
<doc>Count the routes in example-ipv4-topology and fail if the count is not correct as seen from node 1.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:56:34.527461" elapsed="0.000491">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s8-t7" name="Kill_Talking_BGP_Speaker" line="117">
<doc>Abort the Python speaker. Also, attempt to stop failing fast.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:56:34.528141" elapsed="0.000370">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s8-t8" name="Wait_For_Stable_Ipv4_Topology_After_Listening" line="124">
<doc>Wait until example-ipv4-topology becomes stable again as seen from node 1.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:56:34.528734" elapsed="0.000434">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s8-t9" name="Check_For_Empty_Ipv4_Topology_After_Listening" line="137">
<doc>Example-ipv4-topology should be empty now as seen from node 1.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:56:34.529337" elapsed="0.000436">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s8-t10" name="Delete_Bgp_Peer_Configuration" line="147">
<doc>Revert the BGP configuration to the original state: without any configured peers.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.529946" elapsed="0.000391">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<kw name="Teardown_Everything" owner="PrefixcountKeywords" type="TEARDOWN">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Search_And_Kill_Remote_Python" owner="KillPythonTool">
<kw name="Search_For_Remote_Python_Processes" owner="KillPythonTool">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:56:34.532304" level="INFO">Executing command 'ps -elf | egrep python | egrep 'play.py' | egrep -v grep'.</msg>
<msg time="2026-04-07T08:56:34.532426" level="INFO">${processes} = None</msg>
<msg time="2026-04-07T08:56:34.532467" level="FAIL">Connection not open</msg>
<var>${processes}</var>
<arg>ps -elf | egrep python | egrep ${filter} | egrep -v grep</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.532163" elapsed="0.000625">Connection not open</status>
</kw>
<return>
<value>${processes}</value>
<status status="PASS" start="2026-04-07T08:56:34.532852" elapsed="0.000031"/>
</return>
<msg time="2026-04-07T08:56:34.533057" level="INFO">${processes} = None</msg>
<var>${processes}</var>
<arg>${filter}</arg>
<doc>Only searches for the list of processes, in case something else than kill has to be done with them.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.531861" elapsed="0.001223">Connection not open</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.533527" level="INFO">None</msg>
<arg>${processes}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:56:34.533269" elapsed="0.000303"/>
</kw>
<kw name="Kill_Remote_Processes" owner="KillPythonTool">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.534518" level="INFO">${arg_length} = None</msg>
<msg time="2026-04-07T08:56:34.534561" level="FAIL">Could not get length of 'None'.</msg>
<var>${arg_length}</var>
<arg>${pself_lines}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.534168" elapsed="0.000533">Could not get length of 'None'.</status>
</kw>
<if>
<branch type="IF" condition="${arg_length} == 0">
<return>
<status status="NOT RUN" start="2026-04-07T08:56:34.534926" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:56:34.534810" elapsed="0.000157"/>
</branch>
<status status="PASS" start="2026-04-07T08:56:34.534790" elapsed="0.000200"/>
</if>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:56:34.535358" level="INFO">Executing command 'echo 'None' | awk '{print "kill -9",$4}''.</msg>
<msg time="2026-04-07T08:56:34.535474" level="INFO">${commands} = None</msg>
<msg time="2026-04-07T08:56:34.535515" level="FAIL">Connection not open</msg>
<var>${commands}</var>
<arg>echo '${pself_lines}' | awk '{print "kill -${signal}",$4}'</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.535155" elapsed="0.000718">Connection not open</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.536543" level="INFO">None</msg>
<arg>${commands}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:56:34.536073" elapsed="0.000516"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:56:34.536958" level="INFO">Executing command 'echo 'set -exu; None' | sudo sh'.</msg>
<msg time="2026-04-07T08:56:34.537114" level="INFO">${stdout} = None</msg>
<msg time="2026-04-07T08:56:34.537161" level="INFO">${stderr} = None</msg>
<msg time="2026-04-07T08:56:34.537201" level="FAIL">Connection not open</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<arg>echo 'set -exu; ${commands}' | sudo sh</arg>
<arg>return_stderr=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.536783" elapsed="0.000707">Connection not open</status>
</kw>
<arg>${processes}</arg>
<doc>Kill processes by PIDs from given list (no-op if the list is empty), using specified signal. Log the kill commands used.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.533853" elapsed="0.003827">Several failures occurred:

1) Could not get length of 'None'.

2) Connection not open

3) Connection not open</status>
</kw>
<arg>'play\.py'</arg>
<doc>The main keyword. Search for processes, Log the list of them, kill them.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.531538" elapsed="0.006281">Several failures occurred:

1) Connection not open

2) Could not get length of 'None'.

3) Connection not open

4) Connection not open</status>
</kw>
<arg>KillPythonTool.Search_And_Kill_Remote_Python</arg>
<arg>'play\.py'</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:56:34.531096" elapsed="0.006780"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary">
<msg time="2026-04-07T08:56:34.538142" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects</doc>
<status status="PASS" start="2026-04-07T08:56:34.538050" elapsed="0.000157"/>
</kw>
<kw name="Close All Connections" owner="SSHLibrary">
<doc>Closes all open connections.</doc>
<status status="PASS" start="2026-04-07T08:56:34.538375" elapsed="0.000105"/>
</kw>
<doc>Make sure Python tool was killed and tear down imported Resources.</doc>
<status status="PASS" start="2026-04-07T08:56:34.530852" elapsed="0.007679"/>
</kw>
<doc>BGP performance of ingesting from 1 iBGP peer, data change counter is NOT used.

Copyright (c) 2015-2017 Cisco Systems, Inc. and others. All rights reserved.

This program and the accompanying materials are made available under the
terms of the Eclipse Public License v1.0 which accompanies this distribution,
and is available at http://www.eclipse.org/legal/epl-v10.html

This suite uses play.py as single iBGP peer which talks to
single controller in three node cluster configuration.
Test suite checks changes of the the example-ipv4-topology on all nodes.
RIB is not examined.

singlepeer_pc_shm_300kroutes:
pc - prefix counting
shm - shard monitoring (during the process of prefix advertizing)</doc>
<status status="FAIL" start="2026-04-07T08:56:34.352697" elapsed="0.185865">Suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</suite>
<suite id="s1-s9" name="Singlepeer Prefixcount" source="/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/suites/bgpcep/bgpingest/singlepeer_prefixcount.robot">
<kw name="Setup_Everything" type="SETUP">
<kw name="Setup_Utils_For_Setup_And_Teardown" owner="SetupUtils">
<kw name="Do_Not_Fail_Fast_From_Now_On" owner="FailFast">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.625993" level="INFO">${SuiteFastFail} = False</msg>
<arg>${SuiteFastFail}</arg>
<arg>False</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:56:34.621793" elapsed="0.004251"/>
</kw>
<doc>Set suite to not fail fast.</doc>
<status status="PASS" start="2026-04-07T08:56:34.621550" elapsed="0.004561"/>
</kw>
<kw name="Setup_Karaf_Keywords" owner="KarafKeywords">
<kw name="ClusterManagement_Setup" owner="ClusterManagement">
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.631227" level="INFO">${already_done} = False</msg>
<var>${already_done}</var>
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>False</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-07T08:56:34.627275" elapsed="0.004015"/>
</kw>
<if>
<branch type="IF" condition="${already_done}">
<return>
<status status="NOT RUN" start="2026-04-07T08:56:34.631491" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:56:34.631377" elapsed="0.000160"/>
</branch>
<status status="PASS" start="2026-04-07T08:56:34.631354" elapsed="0.000205"/>
</if>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.632107" level="INFO">${ClusterManagement__has_setup_run} = True</msg>
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:56:34.631742" elapsed="0.000408"/>
</kw>
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.632642" level="INFO">${cluster_size} = 0</msg>
<var>${cluster_size}</var>
<arg>\${NUM_ODL_SYSTEM}</arg>
<arg>1</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-07T08:56:34.632317" elapsed="0.000351"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Convert To Integer" owner="BuiltIn">
<arg>${cluster_size}</arg>
<doc>Converts the given item to an integer number.</doc>
<status status="PASS" start="2026-04-07T08:56:34.633212" elapsed="0.000303"/>
</kw>
<msg time="2026-04-07T08:56:34.633612" level="INFO">${status} = PASS</msg>
<msg time="2026-04-07T08:56:34.633660" level="INFO">${possibly_int_of_members} = 0</msg>
<var>${status}</var>
<var>${possibly_int_of_members}</var>
<arg>BuiltIn.Convert_To_Integer</arg>
<arg>${cluster_size}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:56:34.632853" elapsed="0.000830"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.634260" level="INFO">${int_of_members} = 0</msg>
<var>${int_of_members}</var>
<arg>'${status}' != 'PASS'</arg>
<arg>${1}</arg>
<arg>${possibly_int_of_members}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:56:34.633885" elapsed="0.000402"/>
</kw>
<kw name="ClusterManagement__Compute_Derived_Variables" owner="ClusterManagement">
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.635307" level="INFO">@{member_index_list} = [ ]</msg>
<var>@{member_index_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:56:34.635020" elapsed="0.000315"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.635761" level="INFO">@{session_list} = [ ]</msg>
<var>@{session_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:56:34.635488" elapsed="0.000300"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.636248" level="INFO">&amp;{index_to_ip_mapping} = { }</msg>
<var>&amp;{index_to_ip_mapping}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:56:34.635956" elapsed="0.000320"/>
</kw>
<for flavor="IN RANGE">
<iter>
<kw name="ClusterManagement__Include_Member_Index" owner="ClusterManagement">
<arg>${index}</arg>
<arg>${member_index_list}</arg>
<arg>${session_list}</arg>
<arg>${index_to_ip_mapping}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>http_retries=${http_retries}</arg>
<doc>Add a corresponding item based on index into the last three arguments.
Create the Http session whose alias is added to list.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.638986" elapsed="0.000026"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:56:34.638780" elapsed="0.000280"/>
</iter>
<var>${index}</var>
<value>1</value>
<value>${int_of_members+1}</value>
<status status="NOT RUN" start="2026-04-07T08:56:34.636330" elapsed="0.002759"/>
</for>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.639674" level="INFO">${ClusterManagement__member_index_list} = []</msg>
<arg>\${ClusterManagement__member_index_list}</arg>
<arg>${member_index_list}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:56:34.639270" elapsed="0.000462"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.640296" level="INFO">${ClusterManagement__index_to_ip_mapping} = {}</msg>
<arg>\${ClusterManagement__index_to_ip_mapping}</arg>
<arg>${index_to_ip_mapping}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:56:34.639900" elapsed="0.001072"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.641538" level="INFO">${ClusterManagement__session_list} = []</msg>
<arg>\${ClusterManagement__session_list}</arg>
<arg>${session_list}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:56:34.641143" elapsed="0.000439"/>
</kw>
<arg>int_of_members=${int_of_members}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>http_retries=${http_retries}</arg>
<doc>Construct index list, session list and IP mapping, publish them as suite variables.</doc>
<status status="PASS" start="2026-04-07T08:56:34.634543" elapsed="0.007098"/>
</kw>
<arg>http_timeout=${http_timeout}</arg>
<doc>Detect repeated call, or detect number of members and initialize derived suite variables.
Http sessions are created with parameters to not waste time when ODL is no accepting connections properly.</doc>
<status status="PASS" start="2026-04-07T08:56:34.626912" elapsed="0.014785"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:56:34.641893" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:56:34.641779" elapsed="0.000159"/>
</branch>
<status status="PASS" start="2026-04-07T08:56:34.641759" elapsed="0.000201"/>
</if>
<kw name="Run_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.645113" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:56:34.644736" elapsed="0.000404"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.645587" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:56:34.645302" elapsed="0.000310"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:56:34.645656" elapsed="0.000042"/>
</return>
<msg time="2026-04-07T08:56:34.645842" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:56:34.644393" elapsed="0.001473"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<doc>Obtain IP, call Utils and return output. This keeps previous ssh session active.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.646208" elapsed="0.000024"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:56:34.646026" elapsed="0.000242"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:56:34.645918" elapsed="0.000376"/>
</for>
<arg>iptables -I INPUT -p tcp --dport ${KARAF_SHELL_PORT} -j ACCEPT; iptables-save</arg>
<doc>Cycle through indices (or all), run command on each.</doc>
<status status="PASS" start="2026-04-07T08:56:34.642185" elapsed="0.004161"/>
</kw>
<kw name="Comment" owner="BuiltIn">
<arg>First connections to Karaf console may fail, so WUKS is used. TODO: Track as a Bug.</arg>
<doc>Displays the given messages in the log file as keyword arguments.</doc>
<status status="PASS" start="2026-04-07T08:56:34.646507" elapsed="0.000225"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<arg>BuiltIn.Wait_Until_Keyword_Succeeds</arg>
<arg>3s</arg>
<arg>1s</arg>
<arg>Open_Controller_Karaf_Console_On_Background</arg>
<arg>member_index=${index}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.647038" elapsed="0.000020"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:56:34.646899" elapsed="0.000202"/>
</iter>
<var>${index}</var>
<value>@{ClusterManagement__member_index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:56:34.646782" elapsed="0.000344"/>
</for>
<arg>http_timeout=${http_timeout}</arg>
<doc>Initialize ClusterManagement. Open ssh karaf connections to each ODL.</doc>
<status status="PASS" start="2026-04-07T08:56:34.626447" elapsed="0.020732"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Test_Suite_Start_To_Controller_Karaf" owner="KarafKeywords">
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:56:34.649919" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:56:34.649809" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-07T08:56:34.649790" elapsed="0.000197"/>
</if>
<kw name="Log_Message_To_Controller_Karaf" owner="KarafKeywords">
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:56:34.654846" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:56:34.654734" elapsed="0.000158"/>
</branch>
<status status="PASS" start="2026-04-07T08:56:34.654700" elapsed="0.000214"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.655913" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:56:34.655513" elapsed="0.000428"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.656392" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:56:34.656105" elapsed="0.000313"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:56:34.656462" elapsed="0.000030"/>
</return>
<msg time="2026-04-07T08:56:34.656617" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:56:34.655141" elapsed="0.001501"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<var>${status}</var>
<var>${output}</var>
<arg>Execute_Controller_Karaf_Command_With_Retry_On_Background</arg>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.657013" elapsed="0.000022"/>
</kw>
<if>
<branch type="IF" condition="not ${tolerate_failure} and &quot;${status}&quot; != &quot;PASS&quot;">
<kw name="Fail" owner="BuiltIn">
<arg>${output}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.657308" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:56:34.657113" elapsed="0.000250"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:56:34.657096" elapsed="0.000292"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:56:34.656859" elapsed="0.000560"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:56:34.656693" elapsed="0.000769"/>
</for>
<arg>Starting suite ${SUITE_SOURCE}</arg>
<arg>${member_index_list}</arg>
<doc>Make sure this resource is initialized. Send a message into the controller's karaf log file on every node listed (or all).
By default, failure while processing a node is silently ignored, unless ${tolerate_failure} is False.</doc>
<status status="PASS" start="2026-04-07T08:56:34.654426" elapsed="0.003109"/>
</kw>
<doc>Log suite name to karaf log, useful in suite setup.</doc>
<status status="PASS" start="2026-04-07T08:56:34.647808" elapsed="0.009784"/>
</kw>
<arg>KarafKeywords.Log_Test_Suite_Start_To_Controller_Karaf</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:56:34.647362" elapsed="0.010272"/>
</kw>
<doc>Prepare both FailFast and Karaf logging, log that the caller suite has started.
This keyword is to be used in suite setup, and without it the other keywords may not work properly.</doc>
<status status="PASS" start="2026-04-07T08:56:34.621232" elapsed="0.036451"/>
</kw>
<kw name="Create_Default_Session" owner="TemplatedRequests">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-07T08:56:34.662104" level="INFO">Creating Session using : alias=default, url=http://:8181, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7494bfaca690&gt;, timeout=5, proxies=None, verify=False,                     debug=0 </msg>
<arg>default</arg>
<arg>url=${url}</arg>
<arg>auth=${auth}</arg>
<arg>timeout=${timeout}</arg>
<arg>max_retries=${max_retries}</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-04-07T08:56:34.661686" elapsed="0.000564"/>
</kw>
<doc>Create "default" session to ${url} with authentication and connection parameters.
This Keyword is in this Resource only so that user do not need to call RequestsLibrary directly.</doc>
<status status="PASS" start="2026-04-07T08:56:34.661253" elapsed="0.001066"/>
</kw>
<kw name="PC_Setup" owner="PrefixCounting">
<kw name="WU_Setup" owner="WaitUtils">
<kw name="SC_Setup" owner="ScalarClosures">
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:56:34.663525" elapsed="0.000030"/>
</return>
<msg time="2026-04-07T08:56:34.663755" level="INFO">${sc_fail} = ['BuiltIn.Fail', [], {}]</msg>
<var>${sc_fail}</var>
<arg>BuiltIn.Fail</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:56:34.663343" elapsed="0.000439"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.668409" level="INFO">${ScalarClosures__fail} = ['BuiltIn.Fail', [], {}]</msg>
<arg>${ScalarClosures__fail}</arg>
<arg>${sc_fail}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:56:34.663952" elapsed="0.004506"/>
</kw>
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:56:34.668857" elapsed="0.000031"/>
</return>
<msg time="2026-04-07T08:56:34.669068" level="INFO">${sc_identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<var>${sc_identity}</var>
<arg>BuiltIn.Set_Variable</arg>
<arg>placeholder</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:56:34.668651" elapsed="0.000442"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.673565" level="INFO">${ScalarClosures__identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<arg>${ScalarClosures__identity}</arg>
<arg>${sc_identity}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:56:34.669267" elapsed="0.004345"/>
</kw>
<doc>Resource setup. Create closures and assign them to suite variables.</doc>
<status status="PASS" start="2026-04-07T08:56:34.663074" elapsed="0.010597"/>
</kw>
<doc>Call dependency setup. Perhaps needed.</doc>
<status status="PASS" start="2026-04-07T08:56:34.662801" elapsed="0.010929"/>
</kw>
<doc>Call dependency setups and construct suite variables.</doc>
<status status="PASS" start="2026-04-07T08:56:34.662525" elapsed="0.011253"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-07T08:56:34.674252" level="INFO">Creating Session using : alias=operational, url=http://:8181, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7494bf914e10&gt;, timeout=125, proxies=None, verify=False,                     debug=0 </msg>
<arg>operational</arg>
<arg>http://${ODL_SYSTEM_IP}:${RESTCONFPORT}</arg>
<arg>auth=${AUTH}</arg>
<arg>timeout=125</arg>
<arg>max_retries=0</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-04-07T08:56:34.673933" elapsed="0.000420"/>
</kw>
<kw name="Set Default Configuration" owner="SSHLibrary">
<arg>prompt=${TOOLS_SYSTEM_PROMPT}</arg>
<doc>Update the default `configuration`.</doc>
<status status="PASS" start="2026-04-07T08:56:34.674531" elapsed="0.000179"/>
</kw>
<kw name="Open Connection" owner="SSHLibrary">
<arg>${TOOLS_SYSTEM_IP}</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="PASS" start="2026-04-07T08:56:34.674887" elapsed="0.000204"/>
</kw>
<kw name="Flexible_Mininet_Login" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Flexible_SSH_Login" owner="SSHKeywords">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.676863" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:56:34.676999" level="INFO">${pwd_length} = 0</msg>
<var>${pwd_length}</var>
<arg>${password}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:56:34.676535" elapsed="0.000504"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${pwd_length} &gt; 0</arg>
<arg>SSHLibrary.Login</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:56:34.677253" elapsed="0.000378"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-07T08:56:34.678558" level="INFO">Logging into ':22' as 'jenkins'.</msg>
<msg time="2026-04-07T08:56:34.678899" level="FAIL">OSError: [Errno 16] Device or resource busy</msg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Logs into the SSH server using key-based authentication.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.678233" elapsed="0.002565">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:56:34.680859" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>SSHLibrary.Login With Public Key</arg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.677828" elapsed="0.003081"/>
</kw>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>On active SSH session: if given non-empty password, do Login, else do Login With Public Key.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.676072" elapsed="0.004983">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:56:34.681105" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Flexible SSH Login</arg>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.675651" elapsed="0.005497"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Mininet machine.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.675309" elapsed="0.005930">OSError: [Errno 16] Device or resource busy</status>
</kw>
<kw name="Require_Python" owner="SSHKeywords">
<doc>Verify current SSH connection leads to machine with python working. Fatal fail otherwise.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.681503" elapsed="0.000028"/>
</kw>
<kw name="Assure_Library_Ipaddr" owner="SSHKeywords">
<arg>target_dir=.</arg>
<doc>Tests whether ipaddr module is present on ssh-connected machine, Puts ipaddr.py to target_dir if not.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.681792" elapsed="0.000026"/>
</kw>
<kw name="Put File" owner="SSHLibrary">
<arg>/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/suites/bgpcep/bgpingest/../../../../tools/fastbgp/play.py</arg>
<doc>Uploads file(s) from the local machine to the remote machine.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.681978" elapsed="0.000021"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${timeout}</var>
<arg>${TEST_DURATION_MULTIPLIER_PREFIX_COUNT_SINGLE} * (${COUNT_PREFIX_COUNT_SINGLE} * 9.0 / 10000 + 20)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.682153" elapsed="0.000021"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${bgp_filling_timeout}</arg>
<arg>${timeout}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.682333" elapsed="0.000020"/>
</kw>
<doc>Setup imported resources, SSH-login to tools system,
create HTTP session, put Python tool to tools system.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.620936" elapsed="0.061504">OSError: [Errno 16] Device or resource busy</status>
</kw>
<test id="s1-s9-t1" name="Check_For_Empty_Ipv4_Topology_Before_Talking" line="79">
<doc>Wait for example-ipv4-topology to come up and empty. Give large timeout for case when BGP boots slower than restconf.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:56:34.682510" elapsed="0.000575">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s9-t2" name="Reconfigure_ODL_To_Accept_Connection" line="85">
<doc>Configure BGP peer module with initiate-connection set to false.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.683284" elapsed="0.000385">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s9-t3" name="Start_Talking_BGP_Speaker" line="100">
<doc>Start Python speaker to connect to ODL.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.683853" elapsed="0.000315">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s9-t4" name="Wait_For_Stable_Talking_Ipv4_Topology" line="106">
<doc>Wait until example-ipv4-topology becomes stable. This is done by checking stability of prefix count.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.684336" elapsed="0.000506">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s9-t5" name="Check_Talking_Ipv4_Topology_Count" line="114">
<doc>Count the routes in example-ipv4-topology and fail if the count is not correct.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:56:34.685051" elapsed="0.000510">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s9-t6" name="Kill_Talking_BGP_Speaker" line="120">
<doc>Abort the Python speaker. Also, attempt to stop failing fast.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:56:34.685753" elapsed="0.000366">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s9-t7" name="Store_Results_For_Talking_BGP_Speaker" line="129">
<doc>Store results for plotting</doc>
<status status="FAIL" start="2026-04-07T08:56:34.686290" elapsed="0.000421">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s9-t8" name="Wait_For_Stable_Ipv4_Topology_After_Talking" line="137">
<doc>Wait until example-ipv4-topology becomes stable again.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:56:34.686950" elapsed="0.000441">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s9-t9" name="Check_For_Empty_Ipv4_Topology_After_Talking" line="149">
<doc>Example-ipv4-topology should be empty now.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:56:34.687560" elapsed="0.000405">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s9-t10" name="Start_Listening_BGP_Speaker" line="155">
<doc>Start Python speaker in listening mode.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.688134" elapsed="0.000349">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s9-t11" name="Reconfigure_ODL_To_Initiate_Connection" line="160">
<doc>Replace BGP peer config module, now with initiate-connection set to true.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.688649" elapsed="0.000415">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s9-t12" name="Wait_For_Stable_Listening_Ipv4_Topology" line="175">
<doc>Wait until example-ipv4-topology becomes stable.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.689239" elapsed="0.000402">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s9-t13" name="Check_Listening_Ipv4_Topology_Count" line="183">
<doc>Count the routes in example-ipv4-topology and fail if the count is not correct.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:56:34.689825" elapsed="0.000414">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s9-t14" name="Kill_Listening_BGP_Speaker" line="189">
<doc>Abort the Python speaker. Also, attempt to stop failing fast.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:56:34.690410" elapsed="0.000379">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s9-t15" name="Store_Results_For_Listening_BGP_Speaker" line="198">
<doc>Store results for plotting</doc>
<status status="FAIL" start="2026-04-07T08:56:34.690958" elapsed="0.001021">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s9-t16" name="Wait_For_Stable_Ipv4_Topology_After_Listening" line="208">
<doc>Wait until example-ipv4-topology becomes stable again.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:56:34.692218" elapsed="0.000450">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s9-t17" name="Check_For_Empty_Ipv4_Topology_After_Listening" line="217">
<doc>Example-ipv4-topology should be empty now.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:56:34.692863" elapsed="0.000387">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s9-t18" name="Delete_Bgp_Peer_Configuration" line="223">
<doc>Revert the BGP configuration to the original state: without any configured peers.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.693426" elapsed="0.000460">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<kw name="Teardown_Everything" type="TEARDOWN">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Search_And_Kill_Remote_Python" owner="KillPythonTool">
<kw name="Search_For_Remote_Python_Processes" owner="KillPythonTool">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:56:34.695904" level="INFO">Executing command 'ps -elf | egrep python | egrep 'play.py' | egrep -v grep'.</msg>
<msg time="2026-04-07T08:56:34.696064" level="INFO">${processes} = None</msg>
<msg time="2026-04-07T08:56:34.696115" level="FAIL">Connection not open</msg>
<var>${processes}</var>
<arg>ps -elf | egrep python | egrep ${filter} | egrep -v grep</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.695702" elapsed="0.000733">Connection not open</status>
</kw>
<return>
<value>${processes}</value>
<status status="PASS" start="2026-04-07T08:56:34.696498" elapsed="0.000032"/>
</return>
<msg time="2026-04-07T08:56:34.696706" level="INFO">${processes} = None</msg>
<var>${processes}</var>
<arg>${filter}</arg>
<doc>Only searches for the list of processes, in case something else than kill has to be done with them.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.695361" elapsed="0.001390">Connection not open</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.697455" level="INFO">None</msg>
<arg>${processes}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:56:34.696928" elapsed="0.000577"/>
</kw>
<kw name="Kill_Remote_Processes" owner="KillPythonTool">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.698474" level="INFO">${arg_length} = None</msg>
<msg time="2026-04-07T08:56:34.698525" level="FAIL">Could not get length of 'None'.</msg>
<var>${arg_length}</var>
<arg>${pself_lines}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.698093" elapsed="0.000559">Could not get length of 'None'.</status>
</kw>
<if>
<branch type="IF" condition="${arg_length} == 0">
<return>
<status status="NOT RUN" start="2026-04-07T08:56:34.698872" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:56:34.698756" elapsed="0.000158"/>
</branch>
<status status="PASS" start="2026-04-07T08:56:34.698734" elapsed="0.000202"/>
</if>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:56:34.699273" level="INFO">Executing command 'echo 'None' | awk '{print "kill -9",$4}''.</msg>
<msg time="2026-04-07T08:56:34.699385" level="INFO">${commands} = None</msg>
<msg time="2026-04-07T08:56:34.699425" level="FAIL">Connection not open</msg>
<var>${commands}</var>
<arg>echo '${pself_lines}' | awk '{print "kill -${signal}",$4}'</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.699090" elapsed="0.000706">Connection not open</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.700332" level="INFO">None</msg>
<arg>${commands}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:56:34.700029" elapsed="0.000349"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:56:34.700731" level="INFO">Executing command 'echo 'set -exu; None' | sudo sh'.</msg>
<msg time="2026-04-07T08:56:34.700860" level="INFO">${stdout} = None</msg>
<msg time="2026-04-07T08:56:34.700903" level="INFO">${stderr} = None</msg>
<msg time="2026-04-07T08:56:34.700942" level="FAIL">Connection not open</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<arg>echo 'set -exu; ${commands}' | sudo sh</arg>
<arg>return_stderr=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.700543" elapsed="0.000685">Connection not open</status>
</kw>
<arg>${processes}</arg>
<doc>Kill processes by PIDs from given list (no-op if the list is empty), using specified signal. Log the kill commands used.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.697785" elapsed="0.003580">Several failures occurred:

1) Could not get length of 'None'.

2) Connection not open

3) Connection not open</status>
</kw>
<arg>'play\.py'</arg>
<doc>The main keyword. Search for processes, Log the list of them, kill them.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.695048" elapsed="0.006433">Several failures occurred:

1) Connection not open

2) Could not get length of 'None'.

3) Connection not open

4) Connection not open</status>
</kw>
<arg>KillPythonTool.Search_And_Kill_Remote_Python</arg>
<arg>'play\.py'</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:56:34.694587" elapsed="0.006948"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get_Sysstat_Statistics" owner="Utils">
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-07T08:56:34.702679" level="INFO">index=1
host=
alias=None
port=22
timeout=10 seconds
newline=

prompt=&gt;
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-07T08:56:34.702830" level="INFO">${current_connection} = index=1
host=
alias=None
port=22
timeout=10 seconds
newline=

prompt=&gt;
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<var>${current_connection}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-07T08:56:34.702525" elapsed="0.000340"/>
</kw>
<kw name="Open_Connection_To_ODL_System" owner="SSHKeywords">
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-07T08:56:34.704046" level="INFO">${odl_connection} = 2</msg>
<var>${odl_connection}</var>
<arg>${ip_address}</arg>
<arg>prompt=${ODL_SYSTEM_PROMPT}</arg>
<arg>timeout=${timeout}</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="PASS" start="2026-04-07T08:56:34.703642" elapsed="0.000431"/>
</kw>
<kw name="Flexible_Controller_Login" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Flexible_SSH_Login" owner="SSHKeywords">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.705733" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:56:34.705814" level="INFO">${pwd_length} = 0</msg>
<var>${pwd_length}</var>
<arg>${password}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:56:34.705456" elapsed="0.000382"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${pwd_length} &gt; 0</arg>
<arg>SSHLibrary.Login</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:56:34.706004" elapsed="0.000325"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-07T08:56:34.707357" level="INFO">Logging into ':22' as 'jenkins'.</msg>
<msg time="2026-04-07T08:56:34.707638" level="FAIL">OSError: [Errno 16] Device or resource busy</msg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Logs into the SSH server using key-based authentication.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.706888" elapsed="0.001198">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:56:34.708143" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>SSHLibrary.Login With Public Key</arg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.706505" elapsed="0.001700"/>
</kw>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>On active SSH session: if given non-empty password, do Login, else do Login With Public Key.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.705017" elapsed="0.003357">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:56:34.708421" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Flexible SSH Login</arg>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.704599" elapsed="0.003879"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Controller machine.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.704261" elapsed="0.004321">OSError: [Errno 16] Device or resource busy</status>
</kw>
<return>
<value>${odl_connection}</value>
<status status="PASS" start="2026-04-07T08:56:34.708631" elapsed="0.000030"/>
</return>
<arg>${ip_address}</arg>
<doc>Open a connection to the ODL system at  and return its identifier.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.703196" elapsed="0.005647">OSError: [Errno 16] Device or resource busy</status>
</kw>
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-07T08:56:34.709195" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>sar -A -f /var/log/sa/sa*</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.709015" elapsed="0.000625">Cannot open session, you need to establish a connection first.</status>
</kw>
<kw name="Read Until Prompt" owner="SSHLibrary">
<msg time="2026-04-07T08:56:34.710020" level="INFO">${output} = None</msg>
<msg time="2026-04-07T08:56:34.710061" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<var>${output}</var>
<doc>Consumes and returns the server output until the prompt is found.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.709836" elapsed="0.000793">Cannot open session, you need to establish a connection first.</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.711083" level="INFO">None</msg>
<arg>${output}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:56:34.710822" elapsed="0.000307"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-07T08:56:34.711302" elapsed="0.000103"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-07T08:56:34.711447" elapsed="0.000029"/>
</return>
<kw name="Restore_Current_Ssh_Connection_From_Index" owner="SSHKeywords" type="TEARDOWN">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-07T08:56:34.714784" elapsed="0.000142"/>
</kw>
<msg time="2026-04-07T08:56:34.714971" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${connection_index} is not None</arg>
<arg>SSHLibrary.Switch Connection</arg>
<arg>${connection_index}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:56:34.714289" elapsed="0.000742"/>
</kw>
<kw name="Open Connection" owner="SSHLibrary">
<arg>127.0.0.1</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.715221" elapsed="0.000024"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.715396" elapsed="0.000021"/>
</kw>
<arg>${current_connection.index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-07T08:56:34.711813" elapsed="0.003665"/>
</kw>
<doc>Store current connection index, open new connection to ip_address. Run command to get sysstat results from script,
which is running on all children nodes. Returns cpu, network, memory usage statistics from the node for each 10 minutes
that node was running. Used for debug purposes. Returns whole output of sysstat.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.702172" elapsed="0.013435">Several failures occurred:

1) OSError: [Errno 16] Device or resource busy

2) Cannot open session, you need to establish a connection first.

3) Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>Utils.Get_Sysstat_Statistics</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:56:34.701697" elapsed="0.013965"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary">
<msg time="2026-04-07T08:56:34.715911" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects</doc>
<status status="PASS" start="2026-04-07T08:56:34.715834" elapsed="0.000150"/>
</kw>
<kw name="Close All Connections" owner="SSHLibrary">
<doc>Closes all open connections.</doc>
<status status="PASS" start="2026-04-07T08:56:34.716136" elapsed="0.000099"/>
</kw>
<doc>Make sure Python tool was killed and tear down imported Resources.</doc>
<status status="PASS" start="2026-04-07T08:56:34.694335" elapsed="0.021950"/>
</kw>
<doc>BGP performance of ingesting from 1 iBGP peer, data change counter is NOT used.

Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.

This program and the accompanying materials are made available under the
terms of the Eclipse Public License v1.0 which accompanies this distribution,
and is available at http://www.eclipse.org/legal/epl-v10.html


This suite uses play.py as single iBGP peer.
The suite only looks at example-ipv4-topology, so RIB is not examined.

The suite consists of two halves, differing on which side initiates BGP connection.
State of "work is being done" is detected by increasing value of prefixes in topology.
The time for Wait_For_Stable_* cases to finish is the main performance metric.
After waiting for stability is done, full check on number of prefixes present is performed.

Brief description how to configure BGP peer can be found here:
https://wiki.opendaylight.org/view/BGP_LS_PCEP:User_Guide#BGP_Peer
http://docs.opendaylight.org/en/stable-boron/user-guide/bgp-user-guide.html#bgp-peering

TODO: Currently, if a bug causes prefix count to remain at zero,
affected test cases will wait for max time. Reconsider.
If zero is allowed as stable, higher period or repetitions would be required.

The prefix counting is quite heavyweight and may induce large variation in time.
Try the other version of the suite (singlepeer_changecount.robot) to get better precision.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.539288" elapsed="0.177028">Suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</suite>
<suite id="s1-s10" name="Singlepeer Changecount" source="/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/suites/bgpcep/bgpingest/singlepeer_changecount.robot">
<kw name="Setup_Everything" type="SETUP">
<kw name="Setup_Utils_For_Setup_And_Teardown" owner="SetupUtils">
<kw name="Do_Not_Fail_Fast_From_Now_On" owner="FailFast">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.804580" level="INFO">${SuiteFastFail} = False</msg>
<arg>${SuiteFastFail}</arg>
<arg>False</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:56:34.800084" elapsed="0.004557"/>
</kw>
<doc>Set suite to not fail fast.</doc>
<status status="PASS" start="2026-04-07T08:56:34.799840" elapsed="0.004897"/>
</kw>
<kw name="Setup_Karaf_Keywords" owner="KarafKeywords">
<kw name="ClusterManagement_Setup" owner="ClusterManagement">
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.810023" level="INFO">${already_done} = False</msg>
<var>${already_done}</var>
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>False</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-07T08:56:34.805981" elapsed="0.004071"/>
</kw>
<if>
<branch type="IF" condition="${already_done}">
<return>
<status status="NOT RUN" start="2026-04-07T08:56:34.810289" elapsed="0.000019"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:56:34.810159" elapsed="0.000178"/>
</branch>
<status status="PASS" start="2026-04-07T08:56:34.810131" elapsed="0.000230"/>
</if>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.810921" level="INFO">${ClusterManagement__has_setup_run} = True</msg>
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:56:34.810538" elapsed="0.000429"/>
</kw>
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.811485" level="INFO">${cluster_size} = 0</msg>
<var>${cluster_size}</var>
<arg>\${NUM_ODL_SYSTEM}</arg>
<arg>1</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-07T08:56:34.811160" elapsed="0.000352"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Convert To Integer" owner="BuiltIn">
<arg>${cluster_size}</arg>
<doc>Converts the given item to an integer number.</doc>
<status status="PASS" start="2026-04-07T08:56:34.812059" elapsed="0.000287"/>
</kw>
<msg time="2026-04-07T08:56:34.812464" level="INFO">${status} = PASS</msg>
<msg time="2026-04-07T08:56:34.812534" level="INFO">${possibly_int_of_members} = 0</msg>
<var>${status}</var>
<var>${possibly_int_of_members}</var>
<arg>BuiltIn.Convert_To_Integer</arg>
<arg>${cluster_size}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:56:34.811687" elapsed="0.000880"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.813188" level="INFO">${int_of_members} = 0</msg>
<var>${int_of_members}</var>
<arg>'${status}' != 'PASS'</arg>
<arg>${1}</arg>
<arg>${possibly_int_of_members}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:56:34.812798" elapsed="0.000418"/>
</kw>
<kw name="ClusterManagement__Compute_Derived_Variables" owner="ClusterManagement">
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.814411" level="INFO">@{member_index_list} = [ ]</msg>
<var>@{member_index_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:56:34.814038" elapsed="0.000404"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.814928" level="INFO">@{session_list} = [ ]</msg>
<var>@{session_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:56:34.814606" elapsed="0.000351"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.815527" level="INFO">&amp;{index_to_ip_mapping} = { }</msg>
<var>&amp;{index_to_ip_mapping}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-07T08:56:34.815205" elapsed="0.000349"/>
</kw>
<for flavor="IN RANGE">
<iter>
<kw name="ClusterManagement__Include_Member_Index" owner="ClusterManagement">
<arg>${index}</arg>
<arg>${member_index_list}</arg>
<arg>${session_list}</arg>
<arg>${index_to_ip_mapping}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>http_retries=${http_retries}</arg>
<doc>Add a corresponding item based on index into the last three arguments.
Create the Http session whose alias is added to list.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.818236" elapsed="0.000025"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:56:34.818027" elapsed="0.000283"/>
</iter>
<var>${index}</var>
<value>1</value>
<value>${int_of_members+1}</value>
<status status="NOT RUN" start="2026-04-07T08:56:34.815612" elapsed="0.002728"/>
</for>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.818963" level="INFO">${ClusterManagement__member_index_list} = []</msg>
<arg>\${ClusterManagement__member_index_list}</arg>
<arg>${member_index_list}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:56:34.818512" elapsed="0.000502"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.819626" level="INFO">${ClusterManagement__index_to_ip_mapping} = {}</msg>
<arg>\${ClusterManagement__index_to_ip_mapping}</arg>
<arg>${index_to_ip_mapping}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:56:34.819208" elapsed="0.000461"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.820244" level="INFO">${ClusterManagement__session_list} = []</msg>
<arg>\${ClusterManagement__session_list}</arg>
<arg>${session_list}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:56:34.819856" elapsed="0.000431"/>
</kw>
<arg>int_of_members=${int_of_members}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>http_retries=${http_retries}</arg>
<doc>Construct index list, session list and IP mapping, publish them as suite variables.</doc>
<status status="PASS" start="2026-04-07T08:56:34.813492" elapsed="0.006855"/>
</kw>
<arg>http_timeout=${http_timeout}</arg>
<doc>Detect repeated call, or detect number of members and initialize derived suite variables.
Http sessions are created with parameters to not waste time when ODL is no accepting connections properly.</doc>
<status status="PASS" start="2026-04-07T08:56:34.805609" elapsed="0.014792"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:56:34.820581" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:56:34.820466" elapsed="0.000162"/>
</branch>
<status status="PASS" start="2026-04-07T08:56:34.820447" elapsed="0.000203"/>
</if>
<kw name="Run_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.823848" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:56:34.823443" elapsed="0.000432"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.824328" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:56:34.824042" elapsed="0.000312"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:56:34.824399" elapsed="0.000039"/>
</return>
<msg time="2026-04-07T08:56:34.824564" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:56:34.823085" elapsed="0.001504"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<doc>Obtain IP, call Utils and return output. This keeps previous ssh session active.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.825006" elapsed="0.000024"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:56:34.824813" elapsed="0.000253"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:56:34.824684" elapsed="0.000408"/>
</for>
<arg>iptables -I INPUT -p tcp --dport ${KARAF_SHELL_PORT} -j ACCEPT; iptables-save</arg>
<doc>Cycle through indices (or all), run command on each.</doc>
<status status="PASS" start="2026-04-07T08:56:34.820903" elapsed="0.004242"/>
</kw>
<kw name="Comment" owner="BuiltIn">
<arg>First connections to Karaf console may fail, so WUKS is used. TODO: Track as a Bug.</arg>
<doc>Displays the given messages in the log file as keyword arguments.</doc>
<status status="PASS" start="2026-04-07T08:56:34.825313" elapsed="0.000213"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<arg>BuiltIn.Wait_Until_Keyword_Succeeds</arg>
<arg>3s</arg>
<arg>1s</arg>
<arg>Open_Controller_Karaf_Console_On_Background</arg>
<arg>member_index=${index}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.825854" elapsed="0.000022"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:56:34.825692" elapsed="0.000229"/>
</iter>
<var>${index}</var>
<value>@{ClusterManagement__member_index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:56:34.825576" elapsed="0.000370"/>
</for>
<arg>http_timeout=${http_timeout}</arg>
<doc>Initialize ClusterManagement. Open ssh karaf connections to each ODL.</doc>
<status status="PASS" start="2026-04-07T08:56:34.805154" elapsed="0.020846"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Test_Suite_Start_To_Controller_Karaf" owner="KarafKeywords">
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:56:34.828756" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:56:34.828628" elapsed="0.000176"/>
</branch>
<status status="PASS" start="2026-04-07T08:56:34.828609" elapsed="0.000217"/>
</if>
<kw name="Log_Message_To_Controller_Karaf" owner="KarafKeywords">
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-07T08:56:34.833605" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:56:34.833483" elapsed="0.000167"/>
</branch>
<status status="PASS" start="2026-04-07T08:56:34.833464" elapsed="0.000209"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.834631" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-07T08:56:34.834251" elapsed="0.000406"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.835155" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-07T08:56:34.834842" elapsed="0.000345"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-07T08:56:34.835233" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:56:34.835419" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-07T08:56:34.833918" elapsed="0.001529"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<var>${status}</var>
<var>${output}</var>
<arg>Execute_Controller_Karaf_Command_With_Retry_On_Background</arg>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.835821" elapsed="0.000023"/>
</kw>
<if>
<branch type="IF" condition="not ${tolerate_failure} and &quot;${status}&quot; != &quot;PASS&quot;">
<kw name="Fail" owner="BuiltIn">
<arg>${output}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.836076" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-07T08:56:34.835922" elapsed="0.000209"/>
</branch>
<status status="NOT RUN" start="2026-04-07T08:56:34.835904" elapsed="0.000251"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-07T08:56:34.835651" elapsed="0.000528"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-07T08:56:34.835501" elapsed="0.000702"/>
</for>
<arg>Starting suite ${SUITE_SOURCE}</arg>
<arg>${member_index_list}</arg>
<doc>Make sure this resource is initialized. Send a message into the controller's karaf log file on every node listed (or all).
By default, failure while processing a node is silently ignored, unless ${tolerate_failure} is False.</doc>
<status status="PASS" start="2026-04-07T08:56:34.833195" elapsed="0.003061"/>
</kw>
<doc>Log suite name to karaf log, useful in suite setup.</doc>
<status status="PASS" start="2026-04-07T08:56:34.826588" elapsed="0.009723"/>
</kw>
<arg>KarafKeywords.Log_Test_Suite_Start_To_Controller_Karaf</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:56:34.826161" elapsed="0.010194"/>
</kw>
<doc>Prepare both FailFast and Karaf logging, log that the caller suite has started.
This keyword is to be used in suite setup, and without it the other keywords may not work properly.</doc>
<status status="PASS" start="2026-04-07T08:56:34.799496" elapsed="0.036907"/>
</kw>
<kw name="Create_Default_Session" owner="TemplatedRequests">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-07T08:56:34.840978" level="INFO">Creating Session using : alias=default, url=http://:8181, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7494bf922b50&gt;, timeout=5, proxies=None, verify=False,                     debug=0 </msg>
<arg>default</arg>
<arg>url=${url}</arg>
<arg>auth=${auth}</arg>
<arg>timeout=${timeout}</arg>
<arg>max_retries=${max_retries}</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-04-07T08:56:34.840556" elapsed="0.000567"/>
</kw>
<doc>Create "default" session to ${url} with authentication and connection parameters.
This Keyword is in this Resource only so that user do not need to call RequestsLibrary directly.</doc>
<status status="PASS" start="2026-04-07T08:56:34.840124" elapsed="0.001069"/>
</kw>
<kw name="CC_Setup" owner="ChangeCounter">
<kw name="Create_Default_Session" owner="TemplatedRequests">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-07T08:56:34.845748" level="INFO">Creating Session using : alias=default, url=http://:8181, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7494bf916bd0&gt;, timeout=5, proxies=None, verify=False,                     debug=0 </msg>
<arg>default</arg>
<arg>url=${url}</arg>
<arg>auth=${auth}</arg>
<arg>timeout=${timeout}</arg>
<arg>max_retries=${max_retries}</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-04-07T08:56:34.845365" elapsed="0.000490"/>
</kw>
<doc>Create "default" session to ${url} with authentication and connection parameters.
This Keyword is in this Resource only so that user do not need to call RequestsLibrary directly.</doc>
<status status="PASS" start="2026-04-07T08:56:34.844933" elapsed="0.001035"/>
</kw>
<kw name="WU_Setup" owner="WaitUtils">
<kw name="SC_Setup" owner="ScalarClosures">
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:56:34.846924" elapsed="0.000031"/>
</return>
<msg time="2026-04-07T08:56:34.847159" level="INFO">${sc_fail} = ['BuiltIn.Fail', [], {}]</msg>
<var>${sc_fail}</var>
<arg>BuiltIn.Fail</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:56:34.846740" elapsed="0.000446"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.851876" level="INFO">${ScalarClosures__fail} = ['BuiltIn.Fail', [], {}]</msg>
<arg>${ScalarClosures__fail}</arg>
<arg>${sc_fail}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:56:34.847367" elapsed="0.004556"/>
</kw>
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:56:34.852302" elapsed="0.000029"/>
</return>
<msg time="2026-04-07T08:56:34.852509" level="INFO">${sc_identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<var>${sc_identity}</var>
<arg>BuiltIn.Set_Variable</arg>
<arg>placeholder</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:56:34.852117" elapsed="0.000417"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.857112" level="INFO">${ScalarClosures__identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<arg>${ScalarClosures__identity}</arg>
<arg>${sc_identity}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:56:34.852705" elapsed="0.004455"/>
</kw>
<doc>Resource setup. Create closures and assign them to suite variables.</doc>
<status status="PASS" start="2026-04-07T08:56:34.846471" elapsed="0.010749"/>
</kw>
<doc>Call dependency setup. Perhaps needed.</doc>
<status status="PASS" start="2026-04-07T08:56:34.846187" elapsed="0.011078"/>
</kw>
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:56:34.857658" elapsed="0.000040"/>
</return>
<msg time="2026-04-07T08:56:34.857963" level="INFO">${counter} = ['Get_Change_Count', [], {}]</msg>
<var>${counter}</var>
<arg>Get_Change_Count</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:56:34.857469" elapsed="0.000521"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.862640" level="INFO">${ChangeCounter__getter} = ['Get_Change_Count', [], {}]</msg>
<arg>${ChangeCounter__getter}</arg>
<arg>${counter}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:56:34.858168" elapsed="0.004518"/>
</kw>
<doc>Initialize dependency libraries.</doc>
<status status="PASS" start="2026-04-07T08:56:34.841413" elapsed="0.021346"/>
</kw>
<kw name="PC_Setup" owner="PrefixCounting">
<kw name="WU_Setup" owner="WaitUtils">
<kw name="SC_Setup" owner="ScalarClosures">
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:56:34.864038" elapsed="0.000030"/>
</return>
<msg time="2026-04-07T08:56:34.864247" level="INFO">${sc_fail} = ['BuiltIn.Fail', [], {}]</msg>
<var>${sc_fail}</var>
<arg>BuiltIn.Fail</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:56:34.863860" elapsed="0.000413"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.864846" level="INFO">${ScalarClosures__fail} = ['BuiltIn.Fail', [], {}]</msg>
<arg>${ScalarClosures__fail}</arg>
<arg>${sc_fail}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:56:34.864441" elapsed="0.000450"/>
</kw>
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-07T08:56:34.865266" elapsed="0.000030"/>
</return>
<msg time="2026-04-07T08:56:34.865476" level="INFO">${sc_identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<var>${sc_identity}</var>
<arg>BuiltIn.Set_Variable</arg>
<arg>placeholder</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-07T08:56:34.865081" elapsed="0.000420"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.866077" level="INFO">${ScalarClosures__identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<arg>${ScalarClosures__identity}</arg>
<arg>${sc_identity}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-07T08:56:34.865671" elapsed="0.000449"/>
</kw>
<doc>Resource setup. Create closures and assign them to suite variables.</doc>
<status status="PASS" start="2026-04-07T08:56:34.863598" elapsed="0.002579"/>
</kw>
<doc>Call dependency setup. Perhaps needed.</doc>
<status status="PASS" start="2026-04-07T08:56:34.863296" elapsed="0.002927"/>
</kw>
<doc>Call dependency setups and construct suite variables.</doc>
<status status="PASS" start="2026-04-07T08:56:34.862989" elapsed="0.003276"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-07T08:56:34.866759" level="INFO">Creating Session using : alias=operational, url=http://:8181, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7494bf923b10&gt;, timeout=125, proxies=None, verify=False,                     debug=0 </msg>
<arg>operational</arg>
<arg>http://${ODL_SYSTEM_IP}:${RESTCONFPORT}</arg>
<arg>auth=${AUTH}</arg>
<arg>timeout=125</arg>
<arg>max_retries=0</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-04-07T08:56:34.866420" elapsed="0.000463"/>
</kw>
<kw name="Set Default Configuration" owner="SSHLibrary">
<arg>prompt=${TOOLS_SYSTEM_PROMPT}</arg>
<doc>Update the default `configuration`.</doc>
<status status="PASS" start="2026-04-07T08:56:34.867064" elapsed="0.000202"/>
</kw>
<kw name="Open Connection" owner="SSHLibrary">
<arg>${TOOLS_SYSTEM_IP}</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="PASS" start="2026-04-07T08:56:34.867437" elapsed="0.000212"/>
</kw>
<kw name="Flexible_Mininet_Login" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Flexible_SSH_Login" owner="SSHKeywords">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.869474" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:56:34.869552" level="INFO">${pwd_length} = 0</msg>
<var>${pwd_length}</var>
<arg>${password}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:56:34.869175" elapsed="0.000401"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${pwd_length} &gt; 0</arg>
<arg>SSHLibrary.Login</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:56:34.869760" elapsed="0.000333"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-07T08:56:34.871052" level="INFO">Logging into ':22' as 'jenkins'.</msg>
<msg time="2026-04-07T08:56:34.871403" level="FAIL">OSError: [Errno 16] Device or resource busy</msg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Logs into the SSH server using key-based authentication.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.870710" elapsed="0.001242">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:56:34.872011" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>SSHLibrary.Login With Public Key</arg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.870337" elapsed="0.001723"/>
</kw>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>On active SSH session: if given non-empty password, do Login, else do Login With Public Key.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.868708" elapsed="0.003472">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:56:34.872230" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Flexible SSH Login</arg>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.868283" elapsed="0.003990"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Mininet machine.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.867887" elapsed="0.004473">OSError: [Errno 16] Device or resource busy</status>
</kw>
<kw name="Require_Python" owner="SSHKeywords">
<doc>Verify current SSH connection leads to machine with python working. Fatal fail otherwise.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.872823" elapsed="0.000027"/>
</kw>
<kw name="Assure_Library_Ipaddr" owner="SSHKeywords">
<arg>target_dir=.</arg>
<doc>Tests whether ipaddr module is present on ssh-connected machine, Puts ipaddr.py to target_dir if not.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.873099" elapsed="0.000024"/>
</kw>
<kw name="Put File" owner="SSHLibrary">
<arg>/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/suites/bgpcep/bgpingest/../../../../tools/fastbgp/play.py</arg>
<doc>Uploads file(s) from the local machine to the remote machine.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.873293" elapsed="0.000021"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${timeout}</var>
<arg>${TEST_DURATION_MULTIPLIER_CHANGE_COUNT_SINGLE} * (${COUNT_CHANGE_COUNT_SINGLE} * 9.0 / 10000 + 20)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.873475" elapsed="0.000021"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${bgp_filling_timeout}</arg>
<arg>${timeout}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.873659" elapsed="0.000020"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${bgp_emptying_timeout}</arg>
<arg>${bgp_filling_timeout*3.0/4}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.873859" elapsed="0.000021"/>
</kw>
<doc>Setup imported resources, SSH-login to tools system,
create HTTP session, put Python tool to tools system.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.799154" elapsed="0.074816">OSError: [Errno 16] Device or resource busy</status>
</kw>
<test id="s1-s10-t1" name="Check_For_Empty_Ipv4_Topology_Before_Talking" line="88">
<doc>Wait for example-ipv4-topology to come up and empty. Give large timeout for case when BGP boots slower than restconf.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:56:34.874043" elapsed="0.000593">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s10-t2" name="Reconfigure_ODL_To_Accept_Connection" line="94">
<doc>Configure BGP peer module with initiate-connection set to false.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.874836" elapsed="0.000423">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s10-t3" name="Reconfigure_Data_Change_Counter" line="109">
<doc>Configure data change counter to count transactions in example-ipv4-topology instead of example-linkstate-topology.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.875430" elapsed="0.000477">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s10-t4" name="Verify_Data_Change_Counter_Ready" line="113">
<doc>Data change counter might have been slower to start than ipv4 topology, wait for it.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.876077" elapsed="0.000398">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s10-t5" name="Start_Talking_BGP_Speaker" line="117">
<doc>Start Python speaker to connect to ODL.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.876641" elapsed="0.000359">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s10-t6" name="Wait_For_Stable_Talking_Ipv4_Topology" line="124">
<doc>Wait until example-ipv4-topology becomes stable. This is done by checking the change counter.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.877185" elapsed="0.000431">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s10-t7" name="Check_Talking_Ipv4_Topology_Count" line="132">
<doc>Count the routes in example-ipv4-topology and fail if the count is not correct.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:56:34.877807" elapsed="0.000468">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s10-t8" name="Kill_Talking_BGP_Speaker" line="138">
<doc>Abort the Python speaker. Also, attempt to stop failing fast.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:56:34.878452" elapsed="0.000385">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s10-t9" name="Store_Results_For_Talking_BGP_Speaker" line="148">
<doc>Store results for plotting</doc>
<status status="FAIL" start="2026-04-07T08:56:34.879007" elapsed="0.000334">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s10-t10" name="Wait_For_Stable_Ipv4_Topology_After_Talking" line="156">
<doc>Wait until example-ipv4-topology becomes stable again.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:56:34.879508" elapsed="0.000421">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s10-t11" name="Check_For_Empty_Ipv4_Topology_After_Talking" line="165">
<doc>Example-ipv4-topology should be empty now.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:56:34.880098" elapsed="0.000390">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s10-t12" name="Start_Listening_BGP_Speaker" line="171">
<doc>Start Python speaker in listening mode.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.880657" elapsed="0.000348">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s10-t13" name="Reconfigure_ODL_To_Initiate_Connection" line="176">
<doc>Replace BGP peer config module, now with initiate-connection set to true.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.881198" elapsed="0.000455">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s10-t14" name="Wait_For_Stable_Listening_Ipv4_Topology" line="192">
<doc>Wait until example-ipv4-topology becomes stable.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.881879" elapsed="0.000368">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s10-t15" name="Check_Listening_Ipv4_Topology_Count" line="200">
<doc>Count the routes in example-ipv4-topology and fail if the count is not correct.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:56:34.882458" elapsed="0.000451">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s10-t16" name="Kill_Listening_BGP_Speaker" line="206">
<doc>Abort the Python speaker. Also, attempt to stop failing fast.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:56:34.883082" elapsed="0.000403">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s10-t17" name="Store_Results_For_Listening_BGP_Speaker" line="216">
<doc>Store results for plotting</doc>
<status status="FAIL" start="2026-04-07T08:56:34.883685" elapsed="0.000360">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s10-t18" name="Wait_For_Stable_Ipv4_Topology_After_Listening" line="226">
<doc>Wait until example-ipv4-topology becomes stable again.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:56:34.884215" elapsed="0.000438">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s10-t19" name="Check_For_Empty_Ipv4_Topology_After_Listening" line="235">
<doc>Example-ipv4-topology should be empty now.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-07T08:56:34.884846" elapsed="0.000384">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s10-t20" name="Restore_Data_Change_Counter_Configuration" line="241">
<doc>Configure data change counter back to count transactions affecting example-linkstate-topology.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.885398" elapsed="0.000567">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-s10-t21" name="Delete_Bgp_Peer_Configuration" line="246">
<doc>Revert the BGP configuration to the original state: without any configured peers.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.886185" elapsed="0.000554">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<kw name="Teardown_Everything" type="TEARDOWN">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Search_And_Kill_Remote_Python" owner="KillPythonTool">
<kw name="Search_For_Remote_Python_Processes" owner="KillPythonTool">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:56:34.888791" level="INFO">Executing command 'ps -elf | egrep python | egrep 'play.py' | egrep -v grep'.</msg>
<msg time="2026-04-07T08:56:34.888913" level="INFO">${processes} = None</msg>
<msg time="2026-04-07T08:56:34.888953" level="FAIL">Connection not open</msg>
<var>${processes}</var>
<arg>ps -elf | egrep python | egrep ${filter} | egrep -v grep</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.888618" elapsed="0.000912">Connection not open</status>
</kw>
<return>
<value>${processes}</value>
<status status="PASS" start="2026-04-07T08:56:34.889596" elapsed="0.000032"/>
</return>
<msg time="2026-04-07T08:56:34.889823" level="INFO">${processes} = None</msg>
<var>${processes}</var>
<arg>${filter}</arg>
<doc>Only searches for the list of processes, in case something else than kill has to be done with them.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.888294" elapsed="0.001557">Connection not open</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.890297" level="INFO">None</msg>
<arg>${processes}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:56:34.890035" elapsed="0.000307"/>
</kw>
<kw name="Kill_Remote_Processes" owner="KillPythonTool">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.891292" level="INFO">${arg_length} = None</msg>
<msg time="2026-04-07T08:56:34.891334" level="FAIL">Could not get length of 'None'.</msg>
<var>${arg_length}</var>
<arg>${pself_lines}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.890923" elapsed="0.000534">Could not get length of 'None'.</status>
</kw>
<if>
<branch type="IF" condition="${arg_length} == 0">
<return>
<status status="NOT RUN" start="2026-04-07T08:56:34.891658" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-07T08:56:34.891544" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-07T08:56:34.891524" elapsed="0.000214"/>
</if>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:56:34.892064" level="INFO">Executing command 'echo 'None' | awk '{print "kill -9",$4}''.</msg>
<msg time="2026-04-07T08:56:34.892181" level="INFO">${commands} = None</msg>
<msg time="2026-04-07T08:56:34.892221" level="FAIL">Connection not open</msg>
<var>${commands}</var>
<arg>echo '${pself_lines}' | awk '{print "kill -${signal}",$4}'</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.891897" elapsed="0.000607">Connection not open</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.892954" level="INFO">None</msg>
<arg>${commands}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:56:34.892683" elapsed="0.000316"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-07T08:56:34.893376" level="INFO">Executing command 'echo 'set -exu; None' | sudo sh'.</msg>
<msg time="2026-04-07T08:56:34.893601" level="INFO">${stdout} = None</msg>
<msg time="2026-04-07T08:56:34.893657" level="INFO">${stderr} = None</msg>
<msg time="2026-04-07T08:56:34.893738" level="FAIL">Connection not open</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<arg>echo 'set -exu; ${commands}' | sudo sh</arg>
<arg>return_stderr=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.893164" elapsed="0.000926">Connection not open</status>
</kw>
<arg>${processes}</arg>
<doc>Kill processes by PIDs from given list (no-op if the list is empty), using specified signal. Log the kill commands used.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.890592" elapsed="0.003654">Several failures occurred:

1) Could not get length of 'None'.

2) Connection not open

3) Connection not open</status>
</kw>
<arg>'play\.py'</arg>
<doc>The main keyword. Search for processes, Log the list of them, kill them.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.887982" elapsed="0.006396">Several failures occurred:

1) Connection not open

2) Could not get length of 'None'.

3) Connection not open

4) Connection not open</status>
</kw>
<arg>KillPythonTool.Search_And_Kill_Remote_Python</arg>
<arg>'play\.py'</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:56:34.887511" elapsed="0.007097"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get_Sysstat_Statistics" owner="Utils">
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-07T08:56:34.895915" level="INFO">index=1
host=
alias=None
port=22
timeout=10 seconds
newline=

prompt=&gt;
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-07T08:56:34.896047" level="INFO">${current_connection} = index=1
host=
alias=None
port=22
timeout=10 seconds
newline=

prompt=&gt;
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<var>${current_connection}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-07T08:56:34.895768" elapsed="0.000346"/>
</kw>
<kw name="Open_Connection_To_ODL_System" owner="SSHKeywords">
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-07T08:56:34.897260" level="INFO">${odl_connection} = 2</msg>
<var>${odl_connection}</var>
<arg>${ip_address}</arg>
<arg>prompt=${ODL_SYSTEM_PROMPT}</arg>
<arg>timeout=${timeout}</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="PASS" start="2026-04-07T08:56:34.896817" elapsed="0.000476"/>
</kw>
<kw name="Flexible_Controller_Login" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Flexible_SSH_Login" owner="SSHKeywords">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.899344" level="INFO">Length is 0.</msg>
<msg time="2026-04-07T08:56:34.899443" level="INFO">${pwd_length} = 0</msg>
<var>${pwd_length}</var>
<arg>${password}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-07T08:56:34.899012" elapsed="0.000457"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${pwd_length} &gt; 0</arg>
<arg>SSHLibrary.Login</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:56:34.899693" elapsed="0.000545"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-07T08:56:34.901120" level="INFO">Logging into ':22' as 'jenkins'.</msg>
<msg time="2026-04-07T08:56:34.901374" level="FAIL">OSError: [Errno 16] Device or resource busy</msg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Logs into the SSH server using key-based authentication.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.900803" elapsed="0.001008">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:56:34.901872" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>SSHLibrary.Login With Public Key</arg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.900420" elapsed="0.001514"/>
</kw>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>On active SSH session: if given non-empty password, do Login, else do Login With Public Key.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.898467" elapsed="0.003586">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-07T08:56:34.902098" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Flexible SSH Login</arg>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.897973" elapsed="0.004178"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Controller machine.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.897545" elapsed="0.004707">OSError: [Errno 16] Device or resource busy</status>
</kw>
<return>
<value>${odl_connection}</value>
<status status="PASS" start="2026-04-07T08:56:34.902299" elapsed="0.000027"/>
</return>
<arg>${ip_address}</arg>
<doc>Open a connection to the ODL system at  and return its identifier.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.896426" elapsed="0.006037">OSError: [Errno 16] Device or resource busy</status>
</kw>
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-07T08:56:34.902824" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>sar -A -f /var/log/sa/sa*</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.902630" elapsed="0.000652">Cannot open session, you need to establish a connection first.</status>
</kw>
<kw name="Read Until Prompt" owner="SSHLibrary">
<msg time="2026-04-07T08:56:34.903668" level="INFO">${output} = None</msg>
<msg time="2026-04-07T08:56:34.903708" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<var>${output}</var>
<doc>Consumes and returns the server output until the prompt is found.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.903466" elapsed="0.000811">Cannot open session, you need to establish a connection first.</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-07T08:56:34.904707" level="INFO">None</msg>
<arg>${output}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-07T08:56:34.904453" elapsed="0.000315"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-07T08:56:34.904925" elapsed="0.000105"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-07T08:56:34.905069" elapsed="0.000029"/>
</return>
<kw name="Restore_Current_Ssh_Connection_From_Index" owner="SSHKeywords" type="TEARDOWN">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-07T08:56:34.908481" elapsed="0.000161"/>
</kw>
<msg time="2026-04-07T08:56:34.908693" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${connection_index} is not None</arg>
<arg>SSHLibrary.Switch Connection</arg>
<arg>${connection_index}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-07T08:56:34.907986" elapsed="0.000791"/>
</kw>
<kw name="Open Connection" owner="SSHLibrary">
<arg>127.0.0.1</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.908947" elapsed="0.000024"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-07T08:56:34.909160" elapsed="0.000028"/>
</kw>
<arg>${current_connection.index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-07T08:56:34.905417" elapsed="0.003844"/>
</kw>
<doc>Store current connection index, open new connection to ip_address. Run command to get sysstat results from script,
which is running on all children nodes. Returns cpu, network, memory usage statistics from the node for each 10 minutes
that node was running. Used for debug purposes. Returns whole output of sysstat.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.895393" elapsed="0.014013">Several failures occurred:

1) OSError: [Errno 16] Device or resource busy

2) Cannot open session, you need to establish a connection first.

3) Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>Utils.Get_Sysstat_Statistics</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-07T08:56:34.894822" elapsed="0.014638"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary">
<msg time="2026-04-07T08:56:34.909691" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects</doc>
<status status="PASS" start="2026-04-07T08:56:34.909615" elapsed="0.000180"/>
</kw>
<kw name="Close All Connections" owner="SSHLibrary">
<doc>Closes all open connections.</doc>
<status status="PASS" start="2026-04-07T08:56:34.909950" elapsed="0.000098"/>
</kw>
<doc>Make sure Python tool was killed and tear down imported Resources.</doc>
<status status="PASS" start="2026-04-07T08:56:34.887245" elapsed="0.022854"/>
</kw>
<doc>BGP performance of ingesting from 1 iBGP peer, data change counter is used.

Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.

This program and the accompanying materials are made available under the
terms of the Eclipse Public License v1.0 which accompanies this distribution,
and is available at http://www.eclipse.org/legal/epl-v10.html


This suite uses play.py as single iBGP peer.
The suite only looks at example-ipv4-topology, so RIB is not examined.

This suite requires odl-bgpcep-data-change-counter to be installed so
make sure it is added to "install-features" of any jobs that are going
to invoke it.

The suite consists of two halves, differing on which side initiates BGP connection.
Data change counter is a lightweight way to detect "work is being done".
WaitUtils provide a nice Keyword to wait for stability, but it needs
initial value, that is why Store_Change_Count appears just before work-inducing action.
The time for Wait_For_Stable_* cases to finish is the main performance metric.
After waiting for stability is done, full check on number of prefixes present is performed.

Brief description how to configure BGP peer can be found here:
https://wiki.opendaylight.org/view/BGP_LS_PCEP:User_Guide#BGP_Peer
http://docs.opendaylight.org/en/stable-boron/user-guide/bgp-user-guide.html#bgp-peering

TODO: Currently, if a bug causes zero increase of data changes,
affected test cases will wait for max time. Reconsider.
If zero increase is allowed as stable, higher number of repetitions should be required.

Additionally this test suite is not compatible with Helium and Hydrogen
releases as they don't include data change counter feature.
Use the other version of the suite (singlepeer_prefixcount.robot) to test them.</doc>
<status status="FAIL" start="2026-04-07T08:56:34.717063" elapsed="0.193066">Suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</suite>
<status status="FAIL" start="2026-04-07T08:51:30.647689" elapsed="304.264523"/>
</suite>
<statistics>
<total>
<stat pass="2" fail="144" skip="0">All Tests</stat>
</total>
<tag>
<stat pass="2" fail="75" skip="0">critical</stat>
</tag>
<suite>
<stat name="bgpcep-bgp-ingest.txt" id="s1" pass="2" fail="144" skip="0">bgpcep-bgp-ingest.txt</stat>
<stat name="Singlepeer Pc Shm 300Kroutes" id="s1-s1" pass="0" fail="10" skip="0">bgpcep-bgp-ingest.txt.Singlepeer Pc Shm 300Kroutes</stat>
<stat name="Singlepeer Prefixcount" id="s1-s2" pass="0" fail="18" skip="0">bgpcep-bgp-ingest.txt.Singlepeer Prefixcount</stat>
<stat name="Singlepeer Changecount" id="s1-s3" pass="0" fail="21" skip="0">bgpcep-bgp-ingest.txt.Singlepeer Changecount</stat>
<stat name="Bgp App Peer Prefixcount" id="s1-s4" pass="0" fail="20" skip="0">bgpcep-bgp-ingest.txt.Bgp App Peer Prefixcount</stat>
<stat name="Manypeers Prefixcount" id="s1-s5" pass="0" fail="11" skip="0">bgpcep-bgp-ingest.txt.Manypeers Prefixcount</stat>
<stat name="Manypeers Changecount" id="s1-s6" pass="0" fail="14" skip="0">bgpcep-bgp-ingest.txt.Manypeers Changecount</stat>
<stat name="Restart Odl With Tell Based True" id="s1-s7" pass="2" fail="1" skip="0">bgpcep-bgp-ingest.txt.Restart Odl With Tell Based True</stat>
<stat name="Singlepeer Pc Shm 300Kroutes" id="s1-s8" pass="0" fail="10" skip="0">bgpcep-bgp-ingest.txt.Singlepeer Pc Shm 300Kroutes</stat>
<stat name="Singlepeer Prefixcount" id="s1-s9" pass="0" fail="18" skip="0">bgpcep-bgp-ingest.txt.Singlepeer Prefixcount</stat>
<stat name="Singlepeer Changecount" id="s1-s10" pass="0" fail="21" skip="0">bgpcep-bgp-ingest.txt.Singlepeer Changecount</stat>
</suite>
</statistics>
<errors>
<msg time="2026-04-07T08:51:30.889081" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/BGPSpeaker.robot' on line 27: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Pc Shm 300Kroutes' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:30.894748" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/RemoteBash.robot' on line 25: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Pc Shm 300Kroutes' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:30.913508" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/SSHKeywords.robot' on line 16: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Pc Shm 300Kroutes' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:30.951396" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/Utils.robot' on line 4: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Pc Shm 300Kroutes' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:31.071066" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/NexusKeywords.robot' on line 20: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Pc Shm 300Kroutes' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:31.227058" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/KarafKeywords.robot' on line 9: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Pc Shm 300Kroutes' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:31.437943" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/BGPSpeaker.robot' on line 27: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Prefixcount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:31.438841" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/RemoteBash.robot' on line 25: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Prefixcount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:31.439377" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/SSHKeywords.robot' on line 16: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Prefixcount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:31.439880" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/Utils.robot' on line 4: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Prefixcount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:31.451575" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/KarafKeywords.robot' on line 9: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Prefixcount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:31.610419" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/BGPSpeaker.robot' on line 27: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Changecount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:31.611139" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/RemoteBash.robot' on line 25: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Changecount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:31.611924" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/SSHKeywords.robot' on line 16: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Changecount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:31.612405" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/Utils.robot' on line 4: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Changecount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:31.628502" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/KarafKeywords.robot' on line 9: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Changecount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:31.805032" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/BGPSpeaker.robot' on line 27: Suite 'bgpcep-bgp-ingest.txt.Bgp App Peer Prefixcount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:31.805754" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/RemoteBash.robot' on line 25: Suite 'bgpcep-bgp-ingest.txt.Bgp App Peer Prefixcount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:31.806279" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/SSHKeywords.robot' on line 16: Suite 'bgpcep-bgp-ingest.txt.Bgp App Peer Prefixcount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:31.806752" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/Utils.robot' on line 4: Suite 'bgpcep-bgp-ingest.txt.Bgp App Peer Prefixcount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:31.812401" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/NexusKeywords.robot' on line 20: Suite 'bgpcep-bgp-ingest.txt.Bgp App Peer Prefixcount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:31.814893" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/KarafKeywords.robot' on line 9: Suite 'bgpcep-bgp-ingest.txt.Bgp App Peer Prefixcount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:31.991021" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/BGPSpeaker.robot' on line 27: Suite 'bgpcep-bgp-ingest.txt.Manypeers Prefixcount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:31.991765" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/RemoteBash.robot' on line 25: Suite 'bgpcep-bgp-ingest.txt.Manypeers Prefixcount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:31.992297" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/SSHKeywords.robot' on line 16: Suite 'bgpcep-bgp-ingest.txt.Manypeers Prefixcount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:31.992768" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/Utils.robot' on line 4: Suite 'bgpcep-bgp-ingest.txt.Manypeers Prefixcount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:32.000538" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/KarafKeywords.robot' on line 9: Suite 'bgpcep-bgp-ingest.txt.Manypeers Prefixcount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:32.186121" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/BGPSpeaker.robot' on line 27: Suite 'bgpcep-bgp-ingest.txt.Manypeers Changecount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:32.186846" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/RemoteBash.robot' on line 25: Suite 'bgpcep-bgp-ingest.txt.Manypeers Changecount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:32.187378" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/SSHKeywords.robot' on line 16: Suite 'bgpcep-bgp-ingest.txt.Manypeers Changecount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:32.187890" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/Utils.robot' on line 4: Suite 'bgpcep-bgp-ingest.txt.Manypeers Changecount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:32.193554" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/NexusKeywords.robot' on line 20: Suite 'bgpcep-bgp-ingest.txt.Manypeers Changecount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:51:32.197829" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/KarafKeywords.robot' on line 9: Suite 'bgpcep-bgp-ingest.txt.Manypeers Changecount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:56:34.358018" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/BGPSpeaker.robot' on line 27: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Pc Shm 300Kroutes' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:56:34.358811" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/RemoteBash.robot' on line 25: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Pc Shm 300Kroutes' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:56:34.359368" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/SSHKeywords.robot' on line 16: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Pc Shm 300Kroutes' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:56:34.359891" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/Utils.robot' on line 4: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Pc Shm 300Kroutes' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:56:34.366656" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/NexusKeywords.robot' on line 20: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Pc Shm 300Kroutes' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:56:34.372528" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/KarafKeywords.robot' on line 9: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Pc Shm 300Kroutes' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:56:34.541837" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/BGPSpeaker.robot' on line 27: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Prefixcount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:56:34.542543" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/RemoteBash.robot' on line 25: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Prefixcount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:56:34.543098" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/SSHKeywords.robot' on line 16: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Prefixcount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:56:34.543585" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/Utils.robot' on line 4: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Prefixcount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:56:34.555916" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/KarafKeywords.robot' on line 9: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Prefixcount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:56:34.719695" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/BGPSpeaker.robot' on line 27: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Changecount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:56:34.720468" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/RemoteBash.robot' on line 25: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Changecount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:56:34.721201" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/SSHKeywords.robot' on line 16: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Changecount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:56:34.721709" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/Utils.robot' on line 4: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Changecount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-07T08:56:34.736432" level="WARN">Error in file '/w/workspace/bgpcep-csit-1node-bgp-ingest-all-titanium/test/csit/libraries/KarafKeywords.robot' on line 9: Suite 'bgpcep-bgp-ingest.txt.Singlepeer Changecount' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
</errors>
</robot>
