<?xml version="1.0" encoding="UTF-8"?>
<robot generator="Robot 7.5 (Python 3.11.10 on linux)" generated="2026-10-09T01:09:34.012415" rpa="false" schemaversion="5">
<suite id="s1" name="jsonrpc-basic.txt" source="/w/workspace/jsonrpc-csit-1node-basic-only-manganese/test/csit/suites/jsonrpc/010-mdsal-jsonrpc-basic.robot">
<kw name="ClusterManagement_Setup" owner="ClusterManagement" type="SETUP">
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-10-09T01:09:34.484339" 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-10-09T01:09:34.480507" elapsed="0.003937"/>
</kw>
<if>
<branch type="IF" condition="${already_done}">
<return>
<status status="NOT RUN" start="2026-10-09T01:09:34.484983" elapsed="0.000042"/>
</return>
<status status="NOT RUN" start="2026-10-09T01:09:34.484740" elapsed="0.000352"/>
</branch>
<status status="PASS" start="2026-10-09T01:09:34.484671" elapsed="0.000475"/>
</if>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-10-09T01:09:34.486411" level="INFO">${ClusterManagement__has_setup_run} = True</msg>
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>True</arg>
<doc>Makes the variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-10-09T01:09:34.485650" elapsed="0.000864"/>
</kw>
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-10-09T01:09:34.487643" 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-10-09T01:09:34.486912" elapsed="0.000792"/>
</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-10-09T01:09:34.489055" elapsed="0.000666"/>
</kw>
<msg time="2026-10-09T01:09:34.489941" level="INFO">${status} = PASS</msg>
<msg time="2026-10-09T01:09:34.490041" 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 errorw.</doc>
<status status="PASS" start="2026-10-09T01:09:34.488055" elapsed="0.002040"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-10-09T01:09:34.491394" 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-10-09T01:09:34.490504" elapsed="0.000948"/>
</kw>
<kw name="ClusterManagement__Compute_Derived_Variables" owner="ClusterManagement">
<kw name="Create List" owner="BuiltIn">
<msg time="2026-10-09T01:09:34.493565" level="INFO">@{member_index_list} = [ ]</msg>
<var>@{member_index_list}</var>
<doc>Creates and returns a list containing the given items.</doc>
<status status="PASS" start="2026-10-09T01:09:34.492965" elapsed="0.000686"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-10-09T01:09:34.494553" level="INFO">@{session_list} = [ ]</msg>
<var>@{session_list}</var>
<doc>Creates and returns a list containing the given items.</doc>
<status status="PASS" start="2026-10-09T01:09:34.493960" elapsed="0.000683"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-10-09T01:09:34.495826" 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-10-09T01:09:34.495010" elapsed="0.000875"/>
</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-10-09T01:09:34.496857" elapsed="0.000057"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-10-09T01:09:34.496456" elapsed="0.000555"/>
</iter>
<var>${index}</var>
<value>1</value>
<value>${int_of_members+1}</value>
<status status="NOT RUN" start="2026-10-09T01:09:34.496027" elapsed="0.001062"/>
</for>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-10-09T01:09:34.498345" level="INFO">${ClusterManagement__member_index_list} = []</msg>
<arg>\${ClusterManagement__member_index_list}</arg>
<arg>${member_index_list}</arg>
<doc>Makes the variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-10-09T01:09:34.497527" elapsed="0.000913"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-10-09T01:09:34.499604" level="INFO">${ClusterManagement__index_to_ip_mapping} = {}</msg>
<arg>\${ClusterManagement__index_to_ip_mapping}</arg>
<arg>${index_to_ip_mapping}</arg>
<doc>Makes the variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-10-09T01:09:34.498855" elapsed="0.000840"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-10-09T01:09:34.500780" level="INFO">${ClusterManagement__session_list} = []</msg>
<arg>\${ClusterManagement__session_list}</arg>
<arg>${session_list}</arg>
<doc>Makes the variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-10-09T01:09:34.500067" elapsed="0.000801"/>
</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-10-09T01:09:34.492015" elapsed="0.008977"/>
</kw>
<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-10-09T01:09:34.479782" elapsed="0.021323"/>
</kw>
<test id="s1-t1" name="Push MDSAL data and Verify Through Restconf" line="14">
<kw name="Setup_Karaf_Keywords" owner="KarafKeywords">
<kw name="ClusterManagement_Setup" owner="ClusterManagement">
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-10-09T01:09:34.505130" level="INFO">${already_done} = True</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-10-09T01:09:34.504460" elapsed="0.000724"/>
</kw>
<if>
<branch type="IF" condition="${already_done}">
<return>
<status status="PASS" start="2026-10-09T01:09:34.505541" elapsed="0.000104"/>
</return>
<status status="PASS" start="2026-10-09T01:09:34.505357" elapsed="0.000358"/>
</branch>
<status status="PASS" start="2026-10-09T01:09:34.505295" elapsed="0.000472"/>
</if>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>True</arg>
<doc>Makes the variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-10-09T01:09:34.506129" elapsed="0.000043"/>
</kw>
<kw name="Get Variable Value" owner="BuiltIn">
<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="NOT RUN" start="2026-10-09T01:09:34.506504" elapsed="0.000042"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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 errorw.</doc>
<status status="NOT RUN" start="2026-10-09T01:09:34.506892" elapsed="0.000040"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<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="NOT RUN" start="2026-10-09T01:09:34.507405" elapsed="0.000042"/>
</kw>
<kw name="ClusterManagement__Compute_Derived_Variables" owner="ClusterManagement">
<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="NOT RUN" start="2026-10-09T01:09:34.507932" elapsed="0.000053"/>
</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-10-09T01:09:34.503628" elapsed="0.004488"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-10-09T01:09:34.508482" elapsed="0.000030"/>
</return>
<status status="NOT RUN" start="2026-10-09T01:09:34.508249" elapsed="0.000354"/>
</branch>
<status status="PASS" start="2026-10-09T01:09:34.508212" elapsed="0.000441"/>
</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-10-09T01:09:34.511898" 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-10-09T01:09:34.511095" elapsed="0.000860"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-10-09T01:09:34.512931" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Creates and returns a list containing the given items.</doc>
<status status="PASS" start="2026-10-09T01:09:34.512260" elapsed="0.000723"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-10-09T01:09:34.513074" elapsed="0.000064"/>
</return>
<msg time="2026-10-09T01:09:34.513384" 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-10-09T01:09:34.510003" elapsed="0.003434"/>
</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-10-09T01:09:34.514116" elapsed="0.000051"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-10-09T01:09:34.513784" elapsed="0.000456"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-10-09T01:09:34.513551" elapsed="0.000743"/>
</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-10-09T01:09:34.509056" elapsed="0.005372"/>
</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-10-09T01:09:34.514754" elapsed="0.000442"/>
</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 errorw.</doc>
<status status="NOT RUN" start="2026-10-09T01:09:34.515834" elapsed="0.000043"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-10-09T01:09:34.515536" elapsed="0.000425"/>
</iter>
<var>${index}</var>
<value>@{ClusterManagement__member_index_list}</value>
<status status="NOT RUN" start="2026-10-09T01:09:34.515301" elapsed="0.000715"/>
</for>
<doc>Initialize ClusterManagement. Open ssh karaf connections to each ODL.</doc>
<status status="PASS" start="2026-10-09T01:09:34.502693" elapsed="0.013435"/>
</kw>
<kw name="Execute_Controller_Karaf_Command_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-10-09T01:09:34.517614" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-10-09T01:09:34.517389" elapsed="0.000326"/>
</branch>
<status status="PASS" start="2026-10-09T01:09:34.517351" elapsed="0.000414"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-10-09T01:09:34.518729" level="FAIL">Dictionary does not contain key '1'.</msg>
<var>${karaf_connection_index}</var>
<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-10-09T01:09:34.518248" elapsed="0.000857">Dictionary does not contain key '1'.</status>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="NOT RUN" start="2026-10-09T01:09:34.519658" elapsed="0.000046"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<var>${status_write}</var>
<var>${message_write}</var>
<arg>SSHLibrary.Write</arg>
<arg>${command}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible errorw.</doc>
<status status="NOT RUN" start="2026-10-09T01:09:34.520026" elapsed="0.000041"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<var>${status_wait}</var>
<var>${message_wait}</var>
<arg>SSHLibrary.Read_Until_Regexp</arg>
<arg>${KARAF_PROMPT}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible errorw.</doc>
<status status="NOT RUN" start="2026-10-09T01:09:34.520396" elapsed="0.000041"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test or task with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-10-09T01:09:34.520906" elapsed="0.000039"/>
</kw>
<status status="NOT RUN" start="2026-10-09T01:09:34.520612" elapsed="0.000397"/>
</branch>
<status status="NOT RUN" start="2026-10-09T01:09:34.520546" elapsed="0.000512"/>
</if>
<kw name="Log" owner="BuiltIn">
<arg>${message_wait}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-10-09T01:09:34.521435" elapsed="0.000043"/>
</kw>
<if>
<branch type="IF" condition="'${status_wait}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<arg>Failed to see prompt after sending the command: ${command}</arg>
<doc>Fails the test or task with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-10-09T01:09:34.521928" elapsed="0.000039"/>
</kw>
<status status="NOT RUN" start="2026-10-09T01:09:34.521641" elapsed="0.000388"/>
</branch>
<status status="NOT RUN" start="2026-10-09T01:09:34.521596" elapsed="0.000481"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-10-09T01:09:34.522213" elapsed="0.000035"/>
</return>
<kw name="Run Keyword If" owner="BuiltIn" type="TEARDOWN">
<kw name="Restore_Current_Ssh_Connection_From_Index" owner="SSHKeywords">
<msg time="2026-10-09T01:09:34.527281" level="FAIL">Variable '${current_connection_index}' not found.</msg>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="FAIL" start="2026-10-09T01:09:34.524806" elapsed="0.002536">Variable '${current_connection_index}' not found.</status>
</kw>
<arg>'${IS_KARAF_APPL}' == 'True'</arg>
<arg>SSHKeywords.Restore_Current_Ssh_Connection_From_Index</arg>
<arg>${current_connection_index}</arg>
<doc>Runs the given keyword with the given arguments, if `condition` is true.</doc>
<status status="FAIL" start="2026-10-09T01:09:34.523686" elapsed="0.003740">Variable '${current_connection_index}' not found.</status>
</kw>
<arg>log:set DEBUG org.opendaylight.jsonrpc</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-10-09T01:09:34.516820" elapsed="0.010725">Dictionary does not contain key '1'.

Also keyword teardown failed:
Variable '${current_connection_index}' not found.</status>
</kw>
<kw name="Mount Read Service Endpoint" owner="JsonrpcKeywords">
<doc>This keyword mounts an endpoint after starting service</doc>
<status status="NOT RUN" start="2026-10-09T01:09:34.527824" elapsed="0.000032"/>
</kw>
<kw name="Run Read Service Python Script on Controller Vm" owner="JsonrpcKeywords">
<doc>This keyword creates a new virtual environment, installs pyzmq &amp; zmq and starts the read service on controller vm</doc>
<status status="NOT RUN" start="2026-10-09T01:09:34.528209" elapsed="0.000029"/>
</kw>
<kw name="Verify Data On Mounted Endpoint" owner="JsonrpcKeywords">
<doc>This keyword verifies if the data we get on the mount point is same as what we put</doc>
<status status="NOT RUN" start="2026-10-09T01:09:34.528485" elapsed="0.000029"/>
</kw>
<doc>Push data using python utility and verify using restconf</doc>
<tag>basic data</tag>
<status status="FAIL" start="2026-10-09T01:09:34.501253" elapsed="0.027452">Dictionary does not contain key '1'.

Also keyword teardown failed:
Variable '${current_connection_index}' not found.</status>
</test>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-10-09T01:09:34.529518" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-10-09T01:09:34.529411" elapsed="0.000196"/>
</kw>
<doc>Test suite for verifying basic variations of export API including checking statuses</doc>
<status status="FAIL" start="2026-10-09T01:09:34.013802" elapsed="0.515849"/>
</suite>
<statistics>
<total>
<stat pass="0" fail="1" skip="0">All Tests</stat>
</total>
<tag>
<stat pass="0" fail="1" skip="0">basic data</stat>
</tag>
<suite>
<stat name="jsonrpc-basic.txt" id="s1" pass="0" fail="1" skip="0">jsonrpc-basic.txt</stat>
</suite>
</statistics>
<errors>
</errors>
</robot>
